Class ValidMetadataValueDetail

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.ValidMetadataValue
org.odpi.openmetadata.frameworks.governanceaction.properties.ValidMetadataValueDetail

public class ValidMetadataValueDetail extends ValidMetadataValue
ValidMetadataValueDetail retrieves a single valid value for a property. If the property is a map property, it represents a single valid map name and its map values.
  • Constructor Details

    • ValidMetadataValueDetail

      public ValidMetadataValueDetail()
      Constructor
    • ValidMetadataValueDetail

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

    • getValidMapNameValues

      public List<ValidMetadataValue> getValidMapNameValues()
      Return the related map values.
      Returns:
      list of valid metadata values
    • setValidMapNameValues

      public void setValidMapNameValues(List<ValidMetadataValue> validMapNameValues)
      Set up the related map values.
      Parameters:
      validMapNameValues - list of valid metadata values
    • toString

      public String toString()
      Generate a string containing the properties.
      Overrides:
      toString in class ValidMetadataValue
      Returns:
      string value
    • equals

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

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