Class ValidValueImplementation

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValueImplementation
Direct Known Subclasses:
ValidValueImplementationAsset, ValidValueImplementationDefinition

public class ValidValueImplementation extends PropertyBase
ValidValueImplementation contains the properties for a relationship between an asset and a valid value.
  • Constructor Details

    • ValidValueImplementation

      public ValidValueImplementation()
      Default constructor
    • ValidValueImplementation

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

    • getSymbolicName

      public String getSymbolicName()
      Returns the symbolic name for the valid value that is used to look up the implementation value.
      Returns:
      String name
    • setSymbolicName

      public void setSymbolicName(String symbolicName)
      Set up the symbolic name for the valid value that is used to look up the implementation value.
      Parameters:
      symbolicName - String name
    • getImplementationValue

      public String getImplementationValue()
      Returns the implementation value for the valid value used in a particular system.
      Returns:
      String value
    • setImplementationValue

      public void setImplementationValue(String implementationValue)
      Set up the implementation value for the valid value used in a particular system.
      Parameters:
      implementationValue - String value
    • getAdditionalValues

      public Map<String,String> getAdditionalValues()
      Return the additional values associated with the symbolic name.
      Returns:
      name-value pairs for additional values
    • setAdditionalValues

      public void setAdditionalValues(Map<String,String> additionalValues)
      Set up the additional values associated with the symbolic name.
      Parameters:
      additionalValues - name-value pairs for additional values
    • 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