Class DataValueObjectType

java.lang.Object
com.aquima.interactions.portal.model.datatype.DataValueType
com.aquima.interactions.portal.model.datatype.DataValueObjectType

public class DataValueObjectType extends DataValueType
Representation of an object type.
Since:
9.3
Author:
G. der Kinderen
  • Constructor Details

    • DataValueObjectType

      public DataValueObjectType()
  • Method Details

    • getMembers

      public String[] getMembers()
      Returns the names of the properties.
      Returns:
      Array of member names, never null.
    • containsMember

      public boolean containsMember(String name)
      Indicator of member existence.
      Parameters:
      name - The name of the property, not null.
      Returns:
      true when a member matching the name exists, otherwise false.
    • getMember

      public DataMember getMember(String name)
      Returns the member definition.
      Parameters:
      name - The name of the property, not null.
      Returns:
      Member definition, never null.
    • setMember

      public DataMember setMember(String name, DataValueType valueType)
      Sets a member to the specified type.
      Parameters:
      name - The name of the property, not null.
      valueType - The type of the property, not null.
      Returns:
      The member definition, never null.
    • createInstance

      public DataValue createInstance()
      Creates an object instance.
      Specified by:
      createInstance in class DataValueType
      Returns:
      object instance, never null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class DataValueType
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class DataValueType
    • toString

      public String toString()
      Overrides:
      toString in class Object