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
public class ReferenceValueAssignment extends ReferenceValue
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:
- 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 ReferenceValueAssignment()Default constructorReferenceValueAssignment(ReferenceValueAssignment 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.ValidValuegetValidValue()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.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
-
ReferenceValueAssignment
public ReferenceValueAssignment()
Default constructor
-
ReferenceValueAssignment
public ReferenceValueAssignment(ReferenceValueAssignment template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getValidValue
public ValidValue getValidValue()
Returns the properties of the valid value used in the assignment.- Returns:
- properties of the valid value
-
setValidValue
public void setValidValue(ValidValue validValue)
Set up the properties of the valid value used in the assignment.- Parameters:
validValue- properties of the asset
-
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
-
-