Class ProductCharacteristicsDomainType
- java.lang.Object
-
- org.openbravo.base.model.domaintype.BaseDomainType
-
- org.openbravo.base.model.domaintype.BasePrimitiveDomainType
-
- org.openbravo.base.model.domaintype.StringDomainType
-
- org.openbravo.base.model.domaintype.ProductCharacteristicsDomainType
-
- All Implemented Interfaces:
DomainType
,PrimitiveDomainType
public class ProductCharacteristicsDomainType extends StringDomainType
The type used in the Product Characteristic reference.
-
-
Field Summary
-
Fields inherited from interface org.openbravo.base.model.domaintype.PrimitiveDomainType
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description ProductCharacteristicsDomainType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
fixValue(Object value)
Columns that use the ProductCharacteristics reference store in the database a String representation of the product characteristics.-
Methods inherited from class org.openbravo.base.model.domaintype.StringDomainType
createFromString, getPrimitiveType, getXMLSchemaType
-
Methods inherited from class org.openbravo.base.model.domaintype.BasePrimitiveDomainType
checkIsValidValue, convertToString, getFormatId, 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
-
fixValue
public static Object fixValue(Object value)
Columns that use the ProductCharacteristics reference store in the database a String representation of the product characteristics. Under certain circumstances the value sent from the client to the datasource is not that String, but a JSON object that contains it in its dbValue property. In that case, return the dbValue property- Parameters:
value
- the value sent from the client to the datasource- Returns:
- the String representation of the product characteristics
-
-