Class ReferenceValueAssignedItem
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.ReferenceValueAssignedItem
ReferenceValueAssignedItem contains the properties for a referenceable that is linked to a requested valid value via the ReferenceValueAssignment.
-
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 linked referenceable.int
hashCode()
Return hash code for this objectvoid
setAssignedItem
(Referenceable assignedItem) Set up the linked referenceable.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
-
ReferenceValueAssignedItem
public ReferenceValueAssignedItem()Default constructor -
ReferenceValueAssignedItem
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getAssignedItem
Returns the linked referenceable.- Returns:
- properties of the referenceable
-
setAssignedItem
Set up the linked referenceable.- Parameters:
assignedItem
- properties of the referenceable
-
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
-