org.dasein.attributes.types
Class DecimalFactory
java.lang.Object
org.dasein.attributes.DataTypeFactory<Double>
org.dasein.attributes.types.DecimalFactory
- All Implemented Interfaces:
- Serializable
public class DecimalFactory
- extends DataTypeFactory<Double>
- 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
DecimalFactory
public DecimalFactory()
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<Double>
- Returns:
- the display name for the data type
getTypeName
public String getTypeName()
- Specified by:
getTypeName in class DataTypeFactory<Double>
- Returns:
- the name of this data type
getType
public DataType<Double> getType(boolean ml,
boolean mv,
boolean req,
String... params)
- 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<Double>
- Parameters:
ml - is the data type multi-lingual?mv - is the data type multi-valued?req - is a value for the data type required?params - arbitrary parameters with meaning dependent on the underlying type
- Returns:
- a data type object for the specified type
getType
public DataType<Double> getType(String grp,
Number idx,
boolean ml,
boolean mv,
boolean req,
String... params)
- 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<Double>
- 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?params - 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.