java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ReferenceValue
Direct Known Subclasses:
ReferenceValueAssignedItem, ReferenceValueAssignment

public class ReferenceValue extends PropertyBase
ReferenceValue contains the properties for the relationship between a referencable and a valid value.
  • Constructor Details

    • ReferenceValue

      public ReferenceValue()
      Default constructor
    • ReferenceValue

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

    • getConfidence

      public int getConfidence()
      Return the confidence level (0-100) that the mapping is correct.
      Returns:
      int
    • setConfidence

      public void setConfidence(int confidence)
      Set up the confidence level (0-100) that the mapping is correct.
      Parameters:
      confidence - int
    • getSteward

      public String getSteward()
      Returns the id of the steward responsible for the mapping.
      Returns:
      String id
    • setSteward

      public void setSteward(String steward)
      Set up the id of the steward responsible for the mapping.
      Parameters:
      steward - String id
    • getNotes

      public String getNotes()
      Return the additional values associated with the symbolic name.
      Returns:
      string text
    • setNotes

      public void setNotes(String notes)
      Set up the additional values associated with the symbolic name.
      Parameters:
      notes - string text
    • toString

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

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