Package de.hybris.platform.util.jdbc
Class DBColumn
- java.lang.Object
-
- de.hybris.platform.util.jdbc.DBColumn
-
public class DBColumn extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
columnExists()
java.lang.String
getColumnName()
int
getColumnSize()
int
getDataType()
java.lang.String
getDbName()
int
getDecimalDigits()
java.lang.String
getSQLTypeDefinition()
DBTable
getTable()
boolean
hasChanged()
boolean
isNullable()
boolean
isPrimaryKey()
boolean
nullableHasChanged()
void
setIsPrimaryKey(boolean pk)
void
setNullable(boolean nullable)
void
setSQLTypeDefinition(java.lang.String newDef)
java.lang.String
toString()
-
-
-
Method Detail
-
getTable
public DBTable getTable()
-
getDbName
public java.lang.String getDbName()
-
hasChanged
public boolean hasChanged()
-
nullableHasChanged
public boolean nullableHasChanged()
-
columnExists
public boolean columnExists()
-
getSQLTypeDefinition
public java.lang.String getSQLTypeDefinition()
-
setSQLTypeDefinition
public void setSQLTypeDefinition(java.lang.String newDef)
-
isPrimaryKey
public boolean isPrimaryKey()
-
setIsPrimaryKey
public void setIsPrimaryKey(boolean pk)
-
getColumnName
public final java.lang.String getColumnName()
-
getDataType
public int getDataType()
-
isNullable
public final boolean isNullable()
-
setNullable
public final void setNullable(boolean nullable)
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getColumnSize
public int getColumnSize()
- Returns:
- the columnSize
-
getDecimalDigits
public int getDecimalDigits()
- Returns:
- the decimalDigits
-
-