Class DomainObjectDefinition

java.lang.Object
com.aquima.interactions.communication.impl.DomainObjectDefinition
All Implemented Interfaces:
IDomainObjectDefinition

public class DomainObjectDefinition extends Object implements IDomainObjectDefinition
Data Object definition implementation.
Since:
9.3
Author:
A.Pragt
  • Constructor Details

  • Method Details

    • getProperties

      public String[] getProperties()
      Returns an array that contains all property names in this object definition.
      Specified by:
      getProperties in interface IDomainObjectDefinition
      Returns:
      Property names, or an empty array (never null).
    • getProperty

      public IDomainPropertyDefinition getProperty(String name)
      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 interface IDomainObjectDefinition
      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.