|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.paneris.jal.model.FieldMetaData
public class FieldMetaData
A FieldMetaData encapsulates meta data for a single field in the datadictionary.
Constructor Summary | |
---|---|
FieldMetaData(java.lang.String db,
java.lang.Integer fn)
construct meta data for a field in the datadictionary |
Method Summary | |
---|---|
java.lang.String |
getDefaultValue()
returns the field's default value |
java.lang.String |
getDisplayName()
returns the field's display name |
int |
getDisplayOrder()
returns the field's display order |
boolean |
getEnforceUnique()
returns true if this field should contain a unique value. |
java.lang.String |
getFieldName()
returns the field's name |
java.lang.Integer |
getFieldNumber()
returns the field's number |
int |
getHeight()
returns the height of a textarea input box |
boolean |
getListDisplay()
returns true if this field should appear on the list page |
boolean |
getMandatory()
returns true if the field is mandatory |
java.lang.Object |
getMandatoryNull()
returns null if the field is not mandatory. |
int |
getMaxLength()
returns the maximum length of text in an input box |
java.lang.String |
getRelationshipField()
returns the fieldname if this field is a look-up field |
java.lang.String |
getRelationshipTable()
returns the tablename if this field is a look-up field |
boolean |
getSelectDisplay()
returns true if this field should as a selection option on the list page |
int |
getSize()
returns the size of the input box |
SQLMetaData |
getSQLMetaData()
gets the type of this field as an java.sql.Type. |
java.lang.String |
getTableName()
returns the field's tablename |
java.lang.Integer |
getTableNumber()
returns the field's tablenumber |
java.lang.String |
getType()
returns the field's type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldMetaData(java.lang.String db, java.lang.Integer fn) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public java.lang.Integer getFieldNumber()
public java.lang.String getFieldName()
public java.lang.String getDefaultValue()
public java.lang.String getDisplayName()
public java.lang.String getType()
public java.lang.Integer getTableNumber()
public java.lang.String getTableName()
public int getDisplayOrder()
public boolean getMandatory()
public java.lang.Object getMandatoryNull()
public java.lang.String getRelationshipTable()
public java.lang.String getRelationshipField()
public boolean getListDisplay()
public int getSize()
public int getMaxLength()
public int getHeight()
public boolean getEnforceUnique()
public boolean getSelectDisplay()
public SQLMetaData getSQLMetaData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |