Class ReferenceValueAssignment
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ReferenceValue
org.odpi.openmetadata.frameworks.connectors.properties.beans.ReferenceValueAssignment
ReferenceValueAssignment describes the link to a valid value for a referenceable via a ReferenceValueAssignment relationship.
This relationship is used to tag the referenceable with the valid value as a means of either classifying or describing its meaning.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Returns the properties of the valid value used in the assignment.int
hashCode()
Return hash code for this objectvoid
setValidValue
(ValidValue validValue) Set up the properties of the valid value used in the assignment.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ReferenceValue
getConfidence, getNotes, getSteward, setConfidence, setNotes, setSteward
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
ReferenceValueAssignment
public ReferenceValueAssignment()Default constructor -
ReferenceValueAssignment
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getValidValue
Returns the properties of the valid value used in the assignment.- Returns:
- properties of the valid value
-
setValidValue
Set up the properties of the valid value used in the assignment.- Parameters:
validValue
- properties of the asset
-
toString
JSON-style toString- Overrides:
toString
in classReferenceValue
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceValue
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceValue
- Returns:
- int hash code
-