Package ru.curs.celesta.score
Class ViewColumnMeta<V>
java.lang.Object
ru.curs.celesta.score.ViewColumnMeta<V>
- Type Parameters:
V- Java class of column value
- All Implemented Interfaces:
ColumnMeta<V>
View column metadata.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ru.curs.celesta.score.ColumnMeta
ColumnMeta.Ordering -
Constructor Summary
ConstructorsConstructorDescriptionViewColumnMeta(ViewColumnType type) ViewColumnMeta(ViewColumnType type, int length) -
Method Summary
Modifier and TypeMethodDescriptionColumn's CelestaDoc.Celesta data type that corresponds to the field.Returns column type.Class<?> Returns corresponding Java data type.intReturns field's length (or -1 if undefined).getName()Returns column name.booleanWhether the field is nullable.Name of jdbcGetter that should be used for getting column data.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.curs.celesta.score.ColumnMeta
asc, desc, ordering
-
Constructor Details
-
ViewColumnMeta
-
ViewColumnMeta
-
-
Method Details
-
getColumnType
Returns column type.- Returns:
-
getName
Description copied from interface:ColumnMetaReturns column name.- Specified by:
getNamein interfaceColumnMeta<V>- Returns:
-
jdbcGetterName
Description copied from interface:ColumnMetaName of jdbcGetter that should be used for getting column data.- Specified by:
jdbcGetterNamein interfaceColumnMeta<V>- Returns:
-
getCelestaType
Description copied from interface:ColumnMetaCelesta data type that corresponds to the field.- Specified by:
getCelestaTypein interfaceColumnMeta<V>- Returns:
-
getJavaClass
Description copied from interface:ColumnMetaReturns corresponding Java data type.- Specified by:
getJavaClassin interfaceColumnMeta<V>- Returns:
-
isNullable
public boolean isNullable()Description copied from interface:ColumnMetaWhether the field is nullable.- Specified by:
isNullablein interfaceColumnMeta<V>- Returns:
-
getCelestaDoc
Description copied from interface:ColumnMetaColumn's CelestaDoc.- Specified by:
getCelestaDocin interfaceColumnMeta<V>- Returns:
-
getLength
public int getLength()Returns field's length (or -1 if undefined).- Returns:
-