java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValuesImplProperties
Direct Known Subclasses:
ValidValueImplAssetElement, ValidValueImplDefinitionElement

public class ValidValuesImplProperties extends RelationshipProperties
ValidValuesImplProperties is a java bean used to associate a reference data asset with a valid value.
  • Constructor Details

    • ValidValuesImplProperties

      public ValidValuesImplProperties()
      Default constructor
    • ValidValuesImplProperties

      public ValidValuesImplProperties(ValidValuesImplProperties template)
      Copy/clone constructor. Note, this is a deep copy
      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()
      Standard toString method.
      Overrides:
      toString in class RelationshipProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class RelationshipProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class RelationshipProperties
      Returns:
      int