| |
|
| java.lang.Object org.axiondb.Column
Column | public class Column implements Serializable(Code) | | Describes a column within a
Table .
version: $Revision: 1.34 $ $Date: 2005/12/20 18:32:40 $ author: Chuck Burdick author: Rodney Waldhoff author: Ahimanikya Satapathy |
COLUMN_SQL_TYPE_CONFIG_KEY | final public static String COLUMN_SQL_TYPE_CONFIG_KEY(Code) | | Key for setting and retrieving the sqlType in this column's configuration
|
DATA_TYPE_CONFIG_KEY | final public static String DATA_TYPE_CONFIG_KEY(Code) | | Key for setting and retrieving the
DataType in this column's configuration
|
DEFAULT_VALUE_CONFIG_KEY | final public static String DEFAULT_VALUE_CONFIG_KEY(Code) | | Key for setting and retrieving the
Selectable default value in this
column's configuration
|
GENERATED_ALWAYS | final public static String GENERATED_ALWAYS(Code) | | |
GENERATED_BY_DEFAULT | final public static String GENERATED_BY_DEFAULT(Code) | | |
GENERATED_COLUMN_TYPE | final public static String GENERATED_COLUMN_TYPE(Code) | | Key for setting and retrieving generated column expression
|
IDENTITY_GENERATION_TYPE | final public static String IDENTITY_GENERATION_TYPE(Code) | | Key for setting and retrieving the Identity column generation type
|
NAME_CONFIG_KEY | final public static String NAME_CONFIG_KEY(Code) | | Key for setting and retrieving the name in this column's configuration
|
Column | public Column(String name, DataType type, Selectable defaultValue) throws NullPointerException(Code) | | Create column with the given name and type .
Parameters: name - the name of this column, which MUST NOT be null Parameters: type - the DataTypeof this column, which MUST NOT benull Parameters: config - name-value pairs that configure this column Parameters: defaultValue - the Selectable default valuefor this column, which maybe null throws: NullPointerException - if either name or type is null |
equals | public boolean equals(Object that)(Code) | | Two
Column s are equal if they have the same name.
|
getConfiguration | final public Map getConfiguration()(Code) | | |
getGeneratedColType | public String getGeneratedColType()(Code) | | |
getName | final public String getName()(Code) | | Get the name of this column.
|
getScale | public int getScale()(Code) | | |
getSize | public int getSize()(Code) | | |
hasDefault | public boolean hasDefault()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isDerivedColumn | public boolean isDerivedColumn()(Code) | | |
isGeneratedAlways | public boolean isGeneratedAlways()(Code) | | |
isGeneratedByDefault | public boolean isGeneratedByDefault()(Code) | | |
isIdentityColumn | public boolean isIdentityColumn()(Code) | | |
setGeneratedColType | public void setGeneratedColType(String type)(Code) | | |
setIdentityType | public void setIdentityType(String type)(Code) | | |
|
|
|