Package lu.kbra.pclib.db.domain.column
Class ColumnData
java.lang.Object
lu.kbra.pclib.db.domain.column.ColumnData
- All Implemented Interfaces:
Cloneable,StructureNameOwner,HintsOwner,MapConvertible
public class ColumnData
extends Object
implements Cloneable, StructureNameOwner, HintsOwner, MapConvertible
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final StorageBindingprotected final StructureNameprotected final ColumnType<?,?> Fields inherited from interface lu.kbra.pclib.db.impl.HintsOwner
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()<Tjava,Tjdbc>
ColumnType<Tjava,Tjdbc> getType()<V> VgetTypeHint(String key) <V> VgetTypeHint(String key, V default_) booleanboolean<V> booleanhasTypeHint(String key) booleanbooleanbooleanbooleanbooleanbooleanbooleanisUnique()booleantoMap()Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface lu.kbra.pclib.db.impl.HintsOwner
getBooleanHint, getBooleanHint, getDoubleHint, getDoubleHint, getFloatHint, getFloatHint, getHint, getHint, getHints, getIntHint, getIntHint, getLongHint, getLongHint, getStringHint, getStringHint, hasHintMethods inherited from interface lu.kbra.pclib.db.domain.table.StructureNameOwner
getName, getNameParts, getQualifiedName, getStructureName
-
Field Details
-
localName
-
localQualifiedName
-
structureName
-
typeHints
-
type
-
storageBinding
-
hints
-
-
Constructor Details
-
ColumnData
public ColumnData()
-
-
Method Details
-
clone
-
getType
-
hasDefaultValue
public boolean hasDefaultValue() -
hasOnUpdate
public boolean hasOnUpdate() -
getTypeHint
-
getTypeHint
-
hasTypeHint
-
isGenerated
public boolean isGenerated() -
isPrimaryKey
public boolean isPrimaryKey() -
isUnique
public boolean isUnique() -
isForeignKey
public boolean isForeignKey() -
isNullable
public boolean isNullable() -
isAutoIncrement
public boolean isAutoIncrement() -
hasUpdateExpression
public boolean hasUpdateExpression() -
needsUpdateExpressionValue
public boolean needsUpdateExpressionValue() -
toMap
- Specified by:
toMapin interfaceMapConvertible
-