| java.lang.Object com.salmonllc.sql.ColumnDefinition
ColumnDefinition | public class ColumnDefinition implements Serializable(Code) | | Represents on database column returned by the DataDictionary class
|
Constructor Summary | |
public | ColumnDefinition(String dbms, String tableName, String columnName, String dbDataType, int length, boolean nullable) Creates a new column definition object. | public | ColumnDefinition(String dbms, String tableName, String columnName, String dbDataType, int length, boolean nullable, int precision, int scale) Creates a new column definition object. | public | ColumnDefinition(String tableName, String columnName, String dbDataType, int length, boolean nullable) Creates a new column definition object. | public | ColumnDefinition(String tableName, String columnName, String dbDataType, int length, boolean nullable, int precision, int scale) Creates a new column definition object. | public | ColumnDefinition(String tableName, String columnName, int dsDataType, boolean pkey) Creates a new column definition object. |
ColumnDefinition | public ColumnDefinition(String dbms, String tableName, String columnName, String dbDataType, int length, boolean nullable)(Code) | | Creates a new column definition object.
|
ColumnDefinition | public ColumnDefinition(String dbms, String tableName, String columnName, String dbDataType, int length, boolean nullable, int precision, int scale)(Code) | | Creates a new column definition object.
|
ColumnDefinition | public ColumnDefinition(String tableName, String columnName, String dbDataType, int length, boolean nullable)(Code) | | Creates a new column definition object.
|
ColumnDefinition | public ColumnDefinition(String tableName, String columnName, String dbDataType, int length, boolean nullable, int precision, int scale)(Code) | | Creates a new column definition object.
|
ColumnDefinition | public ColumnDefinition(String tableName, String columnName, int dsDataType, boolean pkey)(Code) | | Creates a new column definition object.
|
getDSDataType | public int getDSDataType()(Code) | | Returns the datastore datatype of the colum.
|
getLength | public int getLength()(Code) | | Returns the length of the column
|
getPrecision | public int getPrecision()(Code) | | Returns the precision of the column.
|
getScale | public int getScale()(Code) | | Returns the scale (number of decimal places) of the column.
|
isNullable | public boolean isNullable()(Code) | | Returns true if the column can be set to null.
|
isPkey | public boolean isPkey()(Code) | | Returns true if the column is part of the table's primary key.
|
setPkey | public void setPkey()(Code) | | |
|
|