Class DomainObjectDefinition
java.lang.Object
com.aquima.interactions.communication.impl.DomainObjectDefinition
- All Implemented Interfaces:
IDomainObjectDefinition
Data Object definition implementation.
- Since:
- 9.3
- Author:
- A.Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DomainObjectDefinition
(IDomainObjectDS datasource, IMetaModel metaModel, IRuleEngine ruleEngine, IEntityDefinition entityDefinition) -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns an array that contains all property names in this object definition.getProperty
(String name) Returns a property (by name) from the definition.
-
Constructor Details
-
DomainObjectDefinition
protected DomainObjectDefinition(IDomainObjectDS datasource, IMetaModel metaModel, IRuleEngine ruleEngine, IEntityDefinition entityDefinition) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
getProperties
Returns an array that contains all property names in this object definition.- Specified by:
getProperties
in interfaceIDomainObjectDefinition
- Returns:
- Property names, or an empty array (never null).
-
getProperty
Returns a property (by name) from the definition. When the provided name does not match a property that exists in this definition, an exception is thrown.- Specified by:
getProperty
in interfaceIDomainObjectDefinition
- Parameters:
name
- The name of a property, not null.- Returns:
- The property, never null
- Throws:
UnknownPropertyException
- When no property by the provided name exists in this object definition.
-