|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Column
Represents a column in a database table or procedure.
| Method Summary | |
|---|---|
String |
getDefaultValue()
Gets the default data value for the column. |
Privilege |
getPrivilege(String name)
Gets a privilege by name. |
Privilege[] |
getPrivileges()
Gets the list of privileges for the table. |
Column |
getReferencedColumn()
Referenced column if this column is part of a foreign key, null otherwise. |
boolean |
isPartOfForeignKey()
True if this column is part of a foreign key. |
boolean |
isPartOfPrimaryKey()
True if this column is a part of primary key. |
boolean |
isPartOfUniqueIndex()
True if this column is a unique index. |
| Methods inherited from interface schemacrawler.schema.BaseColumn |
|---|
getDecimalDigits, getOrdinalPosition, getSize, getType, getWidth, isNullable |
| Methods inherited from interface schemacrawler.schema.DependantObject |
|---|
getParent |
| Methods inherited from interface schemacrawler.schema.DatabaseObject |
|---|
getSchema |
| Methods inherited from interface schemacrawler.schema.NamedObject |
|---|
getAttribute, getAttributes, getFullName, getName, getRemarks, setAttribute |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
String getDefaultValue()
Privilege getPrivilege(String name)
name - Name
Privilege[] getPrivileges()
Column getReferencedColumn()
boolean isPartOfForeignKey()
boolean isPartOfPrimaryKey()
boolean isPartOfUniqueIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||