Class BigDecimalDomainType.Number
- java.lang.Object
-
- org.openbravo.base.model.domaintype.BaseDomainType
-
- org.openbravo.base.model.domaintype.BasePrimitiveDomainType
-
- org.openbravo.base.model.domaintype.BigDecimalDomainType
-
- org.openbravo.base.model.domaintype.BigDecimalDomainType.Number
-
- All Implemented Interfaces:
DomainType
,PrimitiveDomainType
- Enclosing class:
- BigDecimalDomainType
public static class BigDecimalDomainType.Number extends BigDecimalDomainType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbravo.base.model.domaintype.BigDecimalDomainType
BigDecimalDomainType.Amount, BigDecimalDomainType.GeneralQuantity, BigDecimalDomainType.Number, BigDecimalDomainType.Price, BigDecimalDomainType.Quantity
-
-
Field Summary
-
Fields inherited from interface org.openbravo.base.model.domaintype.PrimitiveDomainType
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description Number()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFormatId()
Returns the id of the format definition to use for this domain type.-
Methods inherited from class org.openbravo.base.model.domaintype.BigDecimalDomainType
createFromString, getPrimitiveType, getXMLSchemaType
-
Methods inherited from class org.openbravo.base.model.domaintype.BasePrimitiveDomainType
checkIsValidValue, convertToString, getHibernateType
-
Methods inherited from class org.openbravo.base.model.domaintype.BaseDomainType
checkObjectIsValid, getClasses, getModelProvider, getReference, initialize, setModelProvider, setReference
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openbravo.base.model.domaintype.DomainType
checkObjectIsValid, getModelProvider, getReference, initialize, setModelProvider, setReference
-
-
-
-
Method Detail
-
getFormatId
public String getFormatId()
Description copied from interface:PrimitiveDomainType
Returns the id of the format definition to use for this domain type. Is normally only relevant for numeric domain types. The id is the prefix part of the name in the Format.xml file. So for example the id 'integer' maps to all the Format.xml entries with integer as a prefix.- Specified by:
getFormatId
in interfacePrimitiveDomainType
- Overrides:
getFormatId
in classBasePrimitiveDomainType
- Returns:
- the name of the format definition in the format.xml, if not relevant then null is returned.
-
-