org.dasein.attributes.types
Class DateFactory
java.lang.Object
org.dasein.attributes.DataTypeFactory<Date>
org.dasein.attributes.types.DateFactory
- All Implemented Interfaces:
- Serializable
public class DateFactory
- extends DataTypeFactory<Date>
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
DateFactory
public DateFactory()
getDisplayName
public Translator<String> getDisplayName()
- Description copied from class:
DataTypeFactory
- Provides a multi-lingual display name for this data type.
- Specified by:
getDisplayName in class DataTypeFactory<Date>
- Returns:
- the display name for the data type
getStringValue
public String getStringValue(Object ob)
- Description copied from class:
DataTypeFactory
- Converts the specified value to a string representation for storage.
- Overrides:
getStringValue in class DataTypeFactory<Date>
- Parameters:
ob - the object to be converted
- Returns:
- a string representation for storage
getTypeName
public String getTypeName()
- Specified by:
getTypeName in class DataTypeFactory<Date>
- Returns:
- the name of this data type
getType
public DataType<Date> getType(boolean ml,
boolean mv,
boolean req,
String... typeArgs)
- Description copied from class:
DataTypeFactory
- Provides access to the underlying data type object that governs this data type. The
configurable rules for the data type are provided as parameters.
- Specified by:
getType in class DataTypeFactory<Date>
- Parameters:
ml - is the data type multi-lingual?mv - is the data type multi-valued?req - is a value for the data type required?typeArgs - arbitrary parameters with meaning dependent on the underlying type
- Returns:
- a data type object for the specified type
getType
public DataType<Date> getType(String grp,
Number idx,
boolean ml,
boolean mv,
boolean req,
String... typeArgs)
- Description copied from class:
DataTypeFactory
- Provides access to the underlying data type object that governs this data type. The
configurable rules for the data type are provided as parameters.
- Specified by:
getType in class DataTypeFactory<Date>
- Parameters:
grp - the group of the data type.idx - the index of the data type.ml - is the data type multi-lingual?mv - is the data type multi-valued?req - is a value for the data type required?typeArgs - arbitrary parameters with meaning dependent on the underlying type
- Returns:
- a data type object for the specified type
Copyright © 2011 enStratus Networks LLC. All Rights Reserved.