|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dasein.attributes.DataTypeFactory<Currency>
org.dasein.attributes.types.CurrencyFactory
public class CurrencyFactory
Represents currency values as Currency instances.
Last modified: $Date: 2009/01/30 23:01:49 $
| Nested Class Summary | |
|---|---|
static class |
CurrencyFactory.CurrencyAttribute
Implementation of rules for currency attributes. |
| Nested classes/interfaces inherited from class org.dasein.attributes.DataTypeFactory |
|---|
DataTypeFactory.Constraint |
| Field Summary | |
|---|---|
static String |
TYPE_NAME
The type name: 'currency' |
| Constructor Summary | |
|---|---|
CurrencyFactory()
Constructs a currency factory instance. |
|
| Method Summary | |
|---|---|
Translator<String> |
getDisplayName()
Provides a multi-lingual display name for this data type. |
DataType<Currency> |
getType(boolean ml,
boolean mv,
boolean req,
String... params)
Provides a currency data type instance that supports the specified type rules. |
DataType<Currency> |
getType(String grp,
Number idx,
boolean ml,
boolean mv,
boolean req,
String... params)
Provides a currency data type instance that supports the specified type rules. |
String |
getTypeName()
|
| Methods inherited from class org.dasein.attributes.DataTypeFactory |
|---|
getConstraint, getConstraints, getDisplayValue, getDisplayValue, getInstance, getStringValue, getTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_NAME
| Constructor Detail |
|---|
public CurrencyFactory()
| Method Detail |
|---|
public Translator<String> getDisplayName()
DataTypeFactory
getDisplayName in class DataTypeFactory<Currency>public String getTypeName()
getTypeName in class DataTypeFactory<Currency>
public DataType<Currency> getType(boolean ml,
boolean mv,
boolean req,
String... params)
Currency.getInstance(java.lang.String).
getType in class DataTypeFactory<Currency>ml - is the type multi-lingual?mv - can this type support multiple values?req - is a value required for this type?params - the type parameters
public DataType<Currency> getType(String grp,
Number idx,
boolean ml,
boolean mv,
boolean req,
String... params)
Currency.getInstance(java.lang.String).
getType in class DataTypeFactory<Currency>grp - the group of the data type.idx - the index of the data type.ml - is the type multi-lingual?mv - can this type support multiple values?req - is a value required for this type?params - the type parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||