Class ValidValuesImplProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValuesImplProperties
- Direct Known Subclasses:
ValidValueImplAssetElement
,ValidValueImplDefinitionElement
ValidValuesImplProperties is a java bean used to associate a reference data asset with a valid value.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the additional values associated with the symbolic name.Returns the implementation value for the valid value used in a particular system.Returns the symbolic name for the valid value that is used to look up the implementation value.int
hashCode()
Return hash code based on properties.void
setAdditionalValues
(Map<String, String> additionalValues) Set up the additional values associated with the symbolic name.void
setImplementationValue
(String implementationValue) Set up the implementation value for the valid value used in a particular system.void
setSymbolicName
(String symbolicName) Set up the symbolic name for the valid value that is used to look up the implementation value.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValuesImplProperties
public ValidValuesImplProperties()Default constructor -
ValidValuesImplProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- object to copy
-
-
Method Details
-
getSymbolicName
Returns the symbolic name for the valid value that is used to look up the implementation value.- Returns:
- String name
-
setSymbolicName
Set up the symbolic name for the valid value that is used to look up the implementation value.- Parameters:
symbolicName
- String name
-
getImplementationValue
Returns the implementation value for the valid value used in a particular system.- Returns:
- String value
-
setImplementationValue
Set up the implementation value for the valid value used in a particular system.- Parameters:
implementationValue
- String value
-
getAdditionalValues
Return the additional values associated with the symbolic name.- Returns:
- name-value pairs for additional values
-
setAdditionalValues
Set up the additional values associated with the symbolic name.- Parameters:
additionalValues
- name-value pairs for additional values
-
toString
Standard toString method.- Overrides:
toString
in classRelationshipProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-