|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.perdues.db.ColumnInfo
Constructor Summary | |
ColumnInfo(TableInfo table,
XMLTag tag)
This creates a ColumnInfo from a TableInfo object and an XMLTag. |
Method Summary | |
java.lang.String |
get(java.lang.String key)
Returns the value of the named attribute of the XMLTag that defined this column, or null if none was specified. |
java.lang.String |
getCaption()
Returns the user-oriented caption for the column. |
java.lang.String[] |
getChoices()
Get an Enum field's choices as an array. |
java.lang.String[] |
getChoicesPlus(java.lang.String extra)
Return the choices, with an extra string prepended. |
DBInfo |
getDatabase()
Return the Schema for this Column. |
XMLTag[] |
getElements()
Returns an array of XMLTag objects for the elements of the XML tag that defined this column. |
java.lang.String |
getFullName()
Returns the fully-qualified name of this column, currently . |
java.lang.String |
getName()
Returns just the (unqualified) name of the column. |
TableInfo |
getTable()
Returns the TableInfo this column belongs to. |
java.lang.String |
getType()
Return the type string for the column as set from the Schema information. |
DBTypeHandler |
getTypeHandler()
|
boolean |
isRequired()
True if the column has the "required" attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ColumnInfo(TableInfo table, XMLTag tag)
XML attributes:
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public final java.lang.String getName()
public final java.lang.String getFullName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |