Class ReferenceValue
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ReferenceValue
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ReferenceValueAssignedItem,ReferenceValueAssignment
public class ReferenceValue extends PropertyBase
ReferenceValue contains the properties for the relationship between a referencable and a valid value.- 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 ReferenceValue()Default constructorReferenceValue(ReferenceValue 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.intgetConfidence()Return the confidence level (0-100) that the mapping is correct.StringgetNotes()Return the additional values associated with the symbolic name.StringgetSteward()Returns the id of the steward responsible for the mapping.inthashCode()Return hash code for this objectvoidsetConfidence(int confidence)Set up the confidence level (0-100) that the mapping is correct.voidsetNotes(String notes)Set up the additional values associated with the symbolic name.voidsetSteward(String steward)Set up the id of the steward responsible for the mapping.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
ReferenceValue
public ReferenceValue()
Default constructor
-
ReferenceValue
public ReferenceValue(ReferenceValue template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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
public String getSteward()
Returns the id of the steward responsible for the mapping.- Returns:
- String id
-
setSteward
public void setSteward(String steward)
Set up the id of the steward responsible for the mapping.- Parameters:
steward- String id
-
getNotes
public String getNotes()
Return the additional values associated with the symbolic name.- Returns:
- string text
-
setNotes
public void setNotes(String notes)
Set up the additional values associated with the symbolic name.- Parameters:
notes- string text
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classPropertyBase- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classPropertyBase- Returns:
- int hash code
-
-