Class ModelElementDomainType
- java.lang.Object
-
- org.openbravo.base.model.domaintype.BaseDomainType
-
- org.openbravo.base.model.domaintype.BasePrimitiveDomainType
-
- org.openbravo.base.model.domaintype.StringDomainType
-
- org.openbravo.userinterface.selector.model.domaintype.ModelElementDomainType
-
- All Implemented Interfaces:
DomainType
,PrimitiveDomainType
public class ModelElementDomainType extends StringDomainType
Implements the domain type of a model element reference property.- Author:
- mtaal
-
-
Field Summary
-
Fields inherited from interface org.openbravo.base.model.domaintype.PrimitiveDomainType
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description ModelElementDomainType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkObjectIsValid(BaseOBObjectDef obObject, Property property)
Checks if a certain property has a valid value taking into account other values in the object.-
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
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
getModelProvider, getReference, initialize, setModelProvider, setReference
-
-
-
-
Method Detail
-
checkObjectIsValid
public void checkObjectIsValid(BaseOBObjectDef obObject, Property property) throws ValidationException
Description copied from interface:DomainType
Checks if a certain property has a valid value taking into account other values in the object.- Specified by:
checkObjectIsValid
in interfaceDomainType
- Overrides:
checkObjectIsValid
in classBaseDomainType
- Parameters:
obObject
- the overall object to checkproperty
- the property to check- Throws:
ValidationException
-
-