java.lang.Object
com.aquima.interactions.communication.data.DataValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataArray, DataObject, DataPrimitive

public abstract class DataValue extends Object implements Serializable
Base class for DataObjects
Since:
9.3
Author:
A.Pragt
See Also:
  • Field Details Link icon

  • Constructor Details Link icon

    • DataValue Link icon

      protected DataValue(DataValueType type)
      Base constructor for a DataValue implementation.
      Parameters:
      type - The type of the elements, can't be null.
  • Method Details Link icon

    • getType Link icon

      public DataValueType getType()
      Returns the type that is stored in this DataValue object.
      Returns:
      The type of the elements, never null.
    • isNull Link icon

      public abstract boolean isNull()
      Returns whether the value represents a null value, e.g. null in JSON or an XML element with the xsi:nil="true" attribute.
      Returns:
      Whether this value represents a null value.
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals Link icon

      public boolean equals(Object obj)
      Overrides:
      equals in class Object