|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.common.jdbc.model.spi.CoreMetaDataBean
org.jboss.dna.common.jdbc.model.spi.DatabaseNamedObjectBean
org.jboss.dna.common.jdbc.model.spi.ColumnBean
org.jboss.dna.common.jdbc.model.spi.TableColumnBean
public class TableColumnBean

Provides all database table column specific metadata.
| Constructor Summary | |
|---|---|
TableColumnBean()
Default constructor |
|
| 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 class org.jboss.dna.common.jdbc.model.spi.ColumnBean |
|---|
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 class org.jboss.dna.common.jdbc.model.spi.DatabaseNamedObjectBean |
|---|
addExtraProperty, deleteExtraProperty, getExtraProperties, getExtraProperty, getName, getRemarks, setName, setRemarks |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public TableColumnBean()
| Method Detail |
|---|
public Boolean isBestRowIdentifier()
isBestRowIdentifier in interface TableColumnpublic void setBestRowIdentifier(Boolean bestRowIdentifier)
setBestRowIdentifier in interface TableColumnbestRowIdentifier - true if this column is the part of Best Row Identifier in any scope, otherwise return false (even
if unknown)public ColumnPseudoType getPseudoType()
getPseudoType in interface TableColumnpublic void setPseudoType(ColumnPseudoType pseudoType)
setPseudoType in interface TableColumnpseudoType - the column's pseudo typepublic Reference getReference()
getReference in interface TableColumnpublic void setReference(Reference reference)
setReference in interface TableColumnreference - the column reference if datatype is REFpublic Boolean isVersionColumn()
isVersionColumn in interface TableColumnpublic void setVersionColumn(Boolean versionColumn)
setVersionColumn in interface TableColumnversionColumn - true if column is automatically updated when any value in a row is updated, return false overwise.public Boolean isPrimaryKeyColumn()
isPrimaryKeyColumn in interface TableColumnpublic void setPrimaryKeyColumn(Boolean primaryKeyColumn)
setPrimaryKeyColumn in interface TableColumnprimaryKeyColumn - true if column is part of primary key, return false overwise.public Boolean isForeignKeyColumn()
isForeignKeyColumn in interface TableColumnpublic void setForeignKeyColumn(Boolean foreignKeyColumn)
setForeignKeyColumn in interface TableColumnforeignKeyColumn - true if column is part of foreign key, return false overwise.public Boolean isIndexColumn()
isIndexColumn in interface TableColumnpublic void setIndexColumn(Boolean indexColumn)
setIndexColumn in interface TableColumnindexColumn - 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 | ||||||||