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
-
- All Implemented Interfaces:
Serializable
public class ReferenceValueAssignedItem extends ReferenceValue
ReferenceValueAssignedItem contains the properties for a referenceable that is linked to a requested valid value via the ReferenceValueAssignment.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description ReferenceValueAssignedItem()Default constructorReferenceValueAssignedItem(ReferenceValueAssignedItem template)Copy clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ReferenceablegetAssignedItem()Returns the linked referenceable.inthashCode()Return hash code for this objectvoidsetAssignedItem(Referenceable assignedItem)Set up the linked referenceable.StringtoString()JSON-style toString-
Methods 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 Detail
-
ReferenceValueAssignedItem
public ReferenceValueAssignedItem()
Default constructor
-
ReferenceValueAssignedItem
public ReferenceValueAssignedItem(ReferenceValueAssignedItem template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getAssignedItem
public Referenceable getAssignedItem()
Returns the linked referenceable.- Returns:
- properties of the referenceable
-
setAssignedItem
public void setAssignedItem(Referenceable assignedItem)
Set up the linked referenceable.- Parameters:
assignedItem- properties of the referenceable
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classReferenceValue- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-