java.lang.Object
com.aquima.interactions.portal.model.datatype.DataMember

public class DataMember extends Object
Member definition of a value type.
Since:
9.3
Author:
A.Pragt
  • Constructor Details

    • DataMember

      public DataMember(String name, DataValueType type)
      Constructs a new member definition.
      Parameters:
      name - The name of the property, not null or empty.
      type - The type of the property, not null.
  • Method Details

    • getName

      public String getName()
      Returns the name of the member.
      Returns:
      The name, never null.
    • getType

      public DataValueType getType()
      Returns the type of the member.
      Returns:
      The type definition, never null.
    • getAnnotations

      public String[] getAnnotations()
      Returns the names of the annotations.
      Returns:
      Annotation names, never null.
    • getAnnotation

      public String getAnnotation(String name)
      Returns the value of an annotation.
      Parameters:
      name - The name of the annotation, not null.
      Returns:
      The value of the annotation, or null.
    • setAnnotation

      public void setAnnotation(String name, String value)
      Sets an annotation to a value.
      Parameters:
      name - The name of the annotation, not null.
      value - The value of the annotation, or null.
    • hashCode

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

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