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
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Returns the properties of the valid value used in the assignment.inthashCode()Return hash code for this objectvoidsetValidValue(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, setStewardMethods 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:
toStringin classReferenceValue- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceValue- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classReferenceValue- Returns:
- int hash code
-