Class ReferenceValueAssignedItem


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

    • ReferenceValueAssignedItem

      public ReferenceValueAssignedItem()
      Default constructor
    • ReferenceValueAssignedItem

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

    • getAssignedItem

      public Referenceable getAssignedItem()
      Returns the linked referenceable.
      Returns:
      properties of the referenceable
    • setAssignedItem

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

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ReferenceValue
      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 ReferenceValue
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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