java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValueMapping
All Implemented Interfaces:
Serializable

public class ValidValueMapping extends PropertyBase
ValidValueMapping contains the properties and ends of a valid value mapping.
See Also:
  • Constructor Details

    • ValidValueMapping

      public ValidValueMapping()
      Default constructor
    • ValidValueMapping

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

    • getAssociationDescription

      public String getAssociationDescription()
      Returns the short description of the type of association.
      Returns:
      String text
    • setAssociationDescription

      public void setAssociationDescription(String associationDescription)
      Set up the short description of the type of association.
      Parameters:
      associationDescription - String text
    • 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
    • getValidValue

      public ValidValue getValidValue()
      Return the valid value elements that are mapped together.
      Returns:
      list of valid value objects
    • setValidValue

      public void setValidValue(ValidValue validValue)
      Set up the valid value elements that are mapped together.
      Parameters:
      validValue - list of valid value objects
    • 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