public interface Column extends Document, HasParent<Table>, HasEnabled, HasName, HasAlias, HasNullable, HasOrdinalPosition, HasTypeMapper, HasDecimalDigits, HasColumnSize, HasMainInterface, HasMutator<ColumnMutator<? extends Column>>
HasNullable.ImplementAs
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_INCREMENT |
static String |
ENUM_CONSTANTS |
ENABLED, ENABLED_DEFAULT
NULLABLE, NULLABLE_IMPLEMENTATION
COMPARATOR, ORDINAL_POSITION
DATABASE_TYPE, TYPE_MAPPER
DECIMAL_DIGITS
COLUMN_SIZE
Modifier and Type | Method and Description |
---|---|
default Optional<String> |
getEnumConstants()
Returns a comma separated string of the possible values that this column
may have.
|
default boolean |
isAutoIncrement()
Returns whether or not this column will auto increment when new values
are added to the table.
|
default Class<Column> |
mainInterface()
Returns the
Class of the interface of this node. |
default ColumnMutator<? extends Column> |
mutator()
Returns a
DocumentMutator for this Document. |
getParent, getParentOrThrow
isEnabled, of, test
getAlias, getJavaName, of
ancestors, children, children, get, getAsBoolean, getAsDouble, getAsInt, getAsLong, getAsString, getData, put
getNullableImplementation, isNullable, of
getOrdinalPosition, of
findDatabaseType, getDatabaseType, getTypeMapper
getDecimalDigits
getColumnSize
static final String AUTO_INCREMENT
static final String ENUM_CONSTANTS
default boolean isAutoIncrement()
true
if the column auto increments, else
false
default Optional<String> getEnumConstants()
default Class<Column> mainInterface()
HasMainInterface
Class
of the interface of this node.
This should not be overridden by implementing classes!
mainInterface
in interface HasMainInterface
default ColumnMutator<? extends Column> mutator()
HasMutator
DocumentMutator
for this Document. A DocumentMutator
allows a Document to be updated in a type safe way.mutator
in interface HasMutator<ColumnMutator<? extends Column>>
Copyright © 2017 Speedment, Inc.. All rights reserved.