Class ValidMetadataValueDetail
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.ValidMetadataValue
org.odpi.openmetadata.frameworks.governanceaction.properties.ValidMetadataValueDetail
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 Summary
ConstructorDescriptionConstructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the related map values.int
hashCode()
Return hash code based on properties.void
setValidMapNameValues
(List<ValidMetadataValue> validMapNameValues) Set up the related map values.toString()
Generate a string containing the properties.Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.ValidMetadataValue
getAdditionalProperties, getCategory, getDataType, getDescription, getDisplayName, getEffectiveFrom, getEffectiveTo, getIsCaseSensitive, getIsDeprecated, getPreferredValue, setAdditionalProperties, setCategory, setDataType, setDescription, setDisplayName, setEffectiveFrom, setEffectiveTo, setIsCaseSensitive, setIsDeprecated, setPreferredValue
-
Constructor Details
-
ValidMetadataValueDetail
public ValidMetadataValueDetail()Constructor -
ValidMetadataValueDetail
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getValidMapNameValues
Return the related map values.- Returns:
- list of valid metadata values
-
setValidMapNameValues
Set up the related map values.- Parameters:
validMapNameValues
- list of valid metadata values
-
toString
Generate a string containing the properties.- Overrides:
toString
in classValidMetadataValue
- Returns:
- string value
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classValidMetadataValue
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classValidMetadataValue
- Returns:
- int
-