Class DataColumn
- java.lang.Object
-
- org.openforis.collect.relational.model.DataColumn
-
- Direct Known Subclasses:
AncestorKeyColumn,CodeColumn,CodeValueFKColumn,CoordinateLatLonColumn
public class DataColumn extends Object
- Author:
- G. Miceli, S. Ricci
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeDefinitiongetAttributeDefinition()Returns theAttributeDefinitionassociated to the column.ObjectgetDefaultValue()protected static IntegergetFieldLength(Class<?> type)protected static IntegergetFieldLength(FieldDefinition<?> defn)IntegergetLength()StringgetName()NodeDefinitiongetNodeDefinition()PathgetRelativePath()RDBJdbcTypegetType()booleanisNullable()StringtoString()
-
-
-
Method Detail
-
getFieldLength
protected static Integer getFieldLength(FieldDefinition<?> defn)
-
getNodeDefinition
public NodeDefinition getNodeDefinition()
-
getRelativePath
public Path getRelativePath()
-
getDefaultValue
public Object getDefaultValue()
-
getAttributeDefinition
public AttributeDefinition getAttributeDefinition()
Returns theAttributeDefinitionassociated to the column.- Parameters:
column-- Returns:
-
getType
public RDBJdbcType getType()
-
isNullable
public boolean isNullable()
- Specified by:
isNullablein interfaceColumn<T>
-
-