|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.metadata.FieldMetaData
org.jaffa.metadata.DateOnlyFieldMetaData
An instance of this class will hold meta information for a DateOnly field.
| Field Summary | |
static int |
DEFAULT_WIDTH
Default width. |
| Fields inherited from class org.jaffa.metadata.FieldMetaData |
LOWER_CASE, MIXED_CASE, UPPER_CASE |
| Constructor Summary | |
DateOnlyFieldMetaData()
Creates an instance. |
|
DateOnlyFieldMetaData(String name,
String labelToken,
Boolean isMandatory,
String layout,
DateOnly minValue,
DateOnly maxValue)
Creates an instance. |
|
| Method Summary | |
Object |
clone()
Returns a clone of the object. |
int |
compareTo(Object obj)
Compares this object with another DateOnlyFieldMetaData object. |
boolean |
equals(Object obj)
Compares this object with another DateOnlyMetaData object. |
static String |
getDateOnlyFormat()
|
static String |
getDateOnlyParse()
|
String |
getLayout()
Getter for property layout. |
DateOnly |
getMaxValue()
Getter for property maxValue. |
DateOnly |
getMinValue()
Getter for property minValue. |
int |
getWidth()
Getter for property width. |
int |
hashCode()
Returns the hash code. |
DateTimeFieldMetaData |
toDateTimeFieldMetaData()
Returns an equivalent DateTimeFieldMetaData object. |
String |
toString()
Returns the diagnostic information. |
| Methods inherited from class org.jaffa.metadata.FieldMetaData |
getDataType, getLabelToken, getName, isMandatory |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DEFAULT_WIDTH
| Constructor Detail |
public DateOnlyFieldMetaData()
public DateOnlyFieldMetaData(String name,
String labelToken,
Boolean isMandatory,
String layout,
DateOnly minValue,
DateOnly maxValue)
name - The field name.labelToken - The token used for displaying labels.isMandatory - Indicates if the field is mandatory.layout - The layout.minValue - The minimum value.maxValue - The maximum value.| Method Detail |
public String getLayout()
public DateOnly getMinValue()
public DateOnly getMaxValue()
public Object clone()
clone in class FieldMetaDatapublic int hashCode()
hashCode in class FieldMetaDatapublic boolean equals(Object obj)
equals in class FieldMetaDataobj - the other DateOnlyFieldMetaData object.
public int compareTo(Object obj)
compareTo in interface ComparablecompareTo in class FieldMetaDataobj - the other DateOnlyFieldMetaData object.
public String toString()
toString in class FieldMetaDatapublic int getWidth()
getWidth in class FieldMetaDatapublic DateTimeFieldMetaData toDateTimeFieldMetaData()
public static String getDateOnlyParse()
public static String getDateOnlyFormat()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||