public class DateMetadataField extends MetadataField<java.util.Date>
DEFAULT_DISABLED, DEFAULT_VALUE, EXTERNAL_ID, LABEL, MANDATORY, RESTRICTIONS, TYPE, VALIDATIONNULL| Constructor and Description |
|---|
DateMetadataField() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDefaultValue()
Get the default value of this date field.
|
void |
setDefaultValue(java.util.Date defaultValue)
Sets the default date used for this field.
|
getDataSource, getExternalId, getLabel, getType, getValidation, isMandatory, setDataSource, setDefaultDisabled, setExternalId, setLabel, setMandatory, setRestrictions, setValidationaccumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, increment, isNull, keys, keySet, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOnce, putOpt, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toString, toString, valueToString, wrap, writepublic void setDefaultValue(java.util.Date defaultValue)
setDefaultValue in class MetadataField<java.util.Date>defaultValue - The date to set. Date only without a time component, UTC assumed.public java.util.Date getDefaultValue()
throws java.text.ParseException
getDefaultValue in class MetadataField<java.util.Date>java.text.ParseException - When the underlying value is malformed.