|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableColumn
Provides all database table column specific metadata.
Method Summary | |
---|---|
ColumnPseudoType |
getPseudoType()
Return column's pseudo type |
Reference |
getReference()
Returns column reference if datatype is REF |
Boolean |
isBestRowIdentifier()
Is this column the part of Best Row Identifier in any scope? |
Boolean |
isForeignKeyColumn()
Retrieves true if column is part of foreign key. |
Boolean |
isIndexColumn()
Retrieves true if column is part of any index. |
Boolean |
isPrimaryKeyColumn()
Retrieves true if column is part of primary key. |
Boolean |
isVersionColumn()
Retrieves true if column is automatically updated when any value in a row is updated. |
void |
setBestRowIdentifier(Boolean bestRowIdentifier)
Is this column the part of Best Row Identifier in any scope? |
void |
setForeignKeyColumn(Boolean foreignKeyColumn)
Sets true if column is part of foreign key. |
void |
setIndexColumn(Boolean indexColumn)
Sets true if column is part of any index. |
void |
setPrimaryKeyColumn(Boolean primaryKeyColumn)
Sets true if column is part of primary key. |
void |
setPseudoType(ColumnPseudoType pseudoType)
Sets column's pseudo type |
void |
setReference(Reference reference)
Sets column reference if datatype is REF |
void |
setVersionColumn(Boolean versionColumn)
Sets true if column is automatically updated when any value in a row is updated. |
Methods inherited from interface org.jboss.dna.common.jdbc.model.api.Column |
---|
addPrivilege, deletePrivilege, findPriviledgeByName, getCharOctetLength, getDefaultValue, getNullabilityType, getOrdinalPosition, getOwner, getPrecision, getPrivileges, getRadix, getSize, getSqlType, getTypeName, setCharOctetLength, setDefaultValue, setNullabilityType, setOrdinalPosition, setOwner, setPrecision, setRadix, setSize, setSqlType, setTypeName |
Methods inherited from interface org.jboss.dna.common.jdbc.model.api.DatabaseNamedObject |
---|
addExtraProperty, deleteExtraProperty, getExtraProperties, getExtraProperty, getName, getRemarks, setName, setRemarks |
Method Detail |
---|
Boolean isBestRowIdentifier()
void setBestRowIdentifier(Boolean bestRowIdentifier)
bestRowIdentifier
- true if this column is the part of Best Row Identifier in any scope, otherwise return false (even
if unknown)ColumnPseudoType getPseudoType()
void setPseudoType(ColumnPseudoType pseudoType)
pseudoType
- the column's pseudo typeReference getReference()
void setReference(Reference reference)
reference
- the column reference if datatype is REFBoolean isVersionColumn()
void setVersionColumn(Boolean versionColumn)
versionColumn
- true if column is automatically updated when any value in a row is updated, return false overwise.Boolean isPrimaryKeyColumn()
void setPrimaryKeyColumn(Boolean primaryKeyColumn)
primaryKeyColumn
- true if column is part of primary key, return false overwise.Boolean isForeignKeyColumn()
void setForeignKeyColumn(Boolean foreignKeyColumn)
foreignKeyColumn
- true if column is part of foreign key, return false overwise.Boolean isIndexColumn()
void setIndexColumn(Boolean indexColumn)
indexColumn
- true if column is part of any index, return false overwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |