| java.lang.Object org.jaffa.metadata.FieldMetaData org.jaffa.metadata.DateTimeFieldMetaData
DateTimeFieldMetaData | public class DateTimeFieldMetaData extends FieldMetaData (Code) | | An instance of this class will hold meta information for a DateTime field.
|
Field Summary | |
final public static int | DEFAULT_WIDTH Default width. |
DEFAULT_WIDTH | final public static int DEFAULT_WIDTH(Code) | | Default width.
|
DateTimeFieldMetaData | public DateTimeFieldMetaData()(Code) | | Creates an instance.
|
DateTimeFieldMetaData | public DateTimeFieldMetaData(String name, String labelToken, Boolean isMandatory, String layout, DateTime minValue, DateTime maxValue)(Code) | | Creates an instance.
Parameters: name - The field name. Parameters: labelToken - The token used for displaying labels. Parameters: isMandatory - Indicates if the field is mandatory. Parameters: layout - The layout. Parameters: minValue - The minimum value. Parameters: maxValue - The maximum value. |
clone | public Object clone()(Code) | | Returns a clone of the object.
a clone of the object. |
compareTo | public int compareTo(Object obj)(Code) | | Compares this object with another DateTimeFieldMetaData object.
Note: this class has a natural ordering that is inconsistent with equals
Parameters: obj - the other DateTimeFieldMetaData object. a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. |
equals | public boolean equals(Object obj)(Code) | | Compares this object with another DateTimeFieldMetaData object.
Returns a true if both the objects have the same properties.
Parameters: obj - the other DateTimeFieldMetaData object. a true if both the objects have the same properties. |
getDateTimeFormat | public static String getDateTimeFormat()(Code) | | |
getDateTimeParse | public static String[] getDateTimeParse()(Code) | | |
getLayout | public String getLayout()(Code) | | Getter for property layout.
Value of property layout. |
getMaxValue | public DateTime getMaxValue()(Code) | | Getter for property maxValue.
Value of property maxValue. |
getMinValue | public DateTime getMinValue()(Code) | | Getter for property minValue.
Value of property minValue. |
getWidth | public int getWidth()(Code) | | Getter for property width.
Value of property width. |
hashCode | public int hashCode()(Code) | | Returns the hash code.
the hash code. |
toDateOnlyFieldMetaData | public DateOnlyFieldMetaData toDateOnlyFieldMetaData()(Code) | | Returns an equivalent DateOnlyFieldMetaData object.
an equivalent DateOnlyFieldMetaData object. |
toString | public String toString()(Code) | | Returns the diagnostic information.
the diagnostic information. |
|
|