Class ValidValuesAssignmentConsumer


public class ValidValuesAssignmentConsumer extends ValidValuesAssignment
ValidValuesAssignmentConsumer contains the properties for a referenceable that is linked to a requested valid value via the ValidValuesAssignment.
  • Constructor Details

    • ValidValuesAssignmentConsumer

      public ValidValuesAssignmentConsumer()
      Default constructor
    • ValidValuesAssignmentConsumer

      public ValidValuesAssignmentConsumer(ValidValuesAssignmentConsumer template)
      Copy clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getConsumer

      public Referenceable getConsumer()
      Returns the linked referenceable.
      Returns:
      properties of the referenceable
    • setConsumer

      public void setConsumer(Referenceable consumer)
      Set up the linked referenceable.
      Parameters:
      consumer - properties of the referenceable
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ValidValuesAssignment
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class ValidValuesAssignment
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ValidValuesAssignment
      Returns:
      int hash code