Class DataValueArrayType

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

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

    • DataValueArrayType

      public DataValueArrayType(DataValueType componentType)
      Creates a new instance.
      Parameters:
      componentType - type of the members of the array, not null.
  • Method Details

    • getComponentType

      public DataValueType getComponentType()
      Type of the members of the array.
      Returns:
      Member type, never null.
    • createInstance

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

      public DataArray createInstance(Object argument)
      Creates an (empty) array object instance.
      Parameters:
      argument - content of the to be created array, can be null, can be empty.
      Returns:
      array 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