Class ValidValuesAssignmentDefinition

All Implemented Interfaces:
Serializable

public class ValidValuesAssignmentDefinition extends ValidValuesAssignment
ValidValuesAssignmentDefinition describes the link to a valid value for a consumer of a valid value via a ValidValuesAssignment relationship. This relationship is used to make use of a valid value (typically valid value set) as a set of valid values for the referenceable (consumer).
See Also:
  • Constructor Details

    • ValidValuesAssignmentDefinition

      public ValidValuesAssignmentDefinition()
      Default constructor
    • ValidValuesAssignmentDefinition

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

    • getValidValue

      public ValidValue getValidValue()
      Returns the properties of the valid value used in the assignment.
      Returns:
      properties of the valid value
    • setValidValue

      public void setValidValue(ValidValue validValue)
      Set up the properties of the valid value used in the assignment.
      Parameters:
      validValue - properties of the asset
    • 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