| 
 | |||||||||||
| 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.DateTimeFieldMetaData
An instance of this class will hold meta information for a DateTime field.
| Field Summary | |
| static int | DEFAULT_WIDTHDefault width. | 
| Fields inherited from class org.jaffa.metadata.FieldMetaData | 
| LOWER_CASE, MIXED_CASE, UPPER_CASE | 
| Constructor Summary | |
| DateTimeFieldMetaData()Creates an instance. | |
| DateTimeFieldMetaData(String name,
                                           String labelToken,
                                           Boolean isMandatory,
                                           String layout,
                                           DateTime minValue,
                                           DateTime maxValue)Creates an instance. | |
| Method Summary | |
|  Object | clone()Returns a clone of the object. | 
|  int | compareTo(Object obj)Compares this object with another DateTimeFieldMetaData object. | 
|  boolean | equals(Object obj)Compares this object with another DateTimeFieldMetaData object. | 
| static String | getDateTimeFormat() | 
| static String[] | getDateTimeParse() | 
|  String | getLayout()Getter for property layout. | 
|  DateTime | getMaxValue()Getter for property maxValue. | 
|  DateTime | getMinValue()Getter for property minValue. | 
|  int | getWidth()Getter for property width. | 
|  int | hashCode()Returns the hash code. | 
|  DateOnlyFieldMetaData | toDateOnlyFieldMetaData()Returns an equivalent DateOnlyFieldMetaData 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 DateTimeFieldMetaData()
public DateTimeFieldMetaData(String name,
                             String labelToken,
                             Boolean isMandatory,
                             String layout,
                             DateTime minValue,
                             DateTime 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 DateTime getMinValue()
public DateTime getMaxValue()
public Object clone()
clone in class FieldMetaDatapublic int hashCode()
hashCode in class FieldMetaDatapublic boolean equals(Object obj)
equals in class FieldMetaDataobj - the other DateTimeFieldMetaData object.
public int compareTo(Object obj)
compareTo in interface ComparablecompareTo in class FieldMetaDataobj - the other DateTimeFieldMetaData object.
public String toString()
toString in class FieldMetaDatapublic int getWidth()
getWidth in class FieldMetaDatapublic DateOnlyFieldMetaData toDateOnlyFieldMetaData()
public static String[] getDateTimeParse()
public static String getDateTimeFormat()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||