Class ReferenceValue
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ReferenceValue
- Direct Known Subclasses:
ReferenceValueAssignedItem
,ReferenceValueAssignment
ReferenceValue contains the properties for the relationship between a referencable and a valid value.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorReferenceValue
(ReferenceValue template) Copy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.int
Return the confidence level (0-100) that the mapping is correct.getNotes()
Return the additional values associated with the symbolic name.Returns the id of the steward responsible for the mapping.int
hashCode()
Return hash code for this objectvoid
setConfidence
(int confidence) Set up the confidence level (0-100) that the mapping is correct.void
Set up the additional values associated with the symbolic name.void
setSteward
(String steward) Set up the id of the steward responsible for the mapping.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
ReferenceValue
public ReferenceValue()Default constructor -
ReferenceValue
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getConfidence
public int getConfidence()Return the confidence level (0-100) that the mapping is correct.- Returns:
- int
-
setConfidence
public void setConfidence(int confidence) Set up the confidence level (0-100) that the mapping is correct.- Parameters:
confidence
- int
-
getSteward
Returns the id of the steward responsible for the mapping.- Returns:
- String id
-
setSteward
Set up the id of the steward responsible for the mapping.- Parameters:
steward
- String id
-
getNotes
Return the additional values associated with the symbolic name.- Returns:
- string text
-
setNotes
Set up the additional values associated with the symbolic name.- Parameters:
notes
- string text
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classPropertyBase
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classPropertyBase
- Returns:
- int hash code
-