|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.metadata.FieldMetaData
This is the base class for all the meta objects.
| Field Summary | |
static String |
LOWER_CASE
A constant indicating lowercase. |
static String |
MIXED_CASE
A constant indicating mixedcase. |
static String |
UPPER_CASE
A constant indicating uppercase. |
| Constructor Summary | |
protected |
FieldMetaData(String name,
String dataType,
String labelToken,
Boolean isMandatory)
Creates an instance. |
| Method Summary | |
Object |
clone()
Returns a clone of the object. |
int |
compareTo(Object obj)
Compares this object with another FieldMetaData object. |
boolean |
equals(Object obj)
Compares this object with another FieldMetaData object. |
String |
getDataType()
Getter for property dataType. |
String |
getLabelToken()
Getter for property labelToken. |
String |
getName()
Getter for property layout. |
abstract int |
getWidth()
Getter for property width. |
int |
hashCode()
Returns the hash code. |
Boolean |
isMandatory()
Getter for property isMandatory. |
String |
toString()
Returns the diagnostic information. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String UPPER_CASE
public static final String LOWER_CASE
public static final String MIXED_CASE
| Constructor Detail |
protected FieldMetaData(String name,
String dataType,
String labelToken,
Boolean isMandatory)
name - The field name.dataType - The data type.labelToken - The token used for displaying labels.isMandatory - Indicates if the field is mandatory.| Method Detail |
public String getName()
public String getDataType()
public String getLabelToken()
public Boolean isMandatory()
public Object clone()
public int hashCode()
public boolean equals(Object obj)
obj - the other FieldMetaData object.
public int compareTo(Object obj)
compareTo in interface Comparableobj - the other FieldMetaData object.
public String toString()
public abstract int getWidth()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||