Class ValidValueMapping
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValueMapping
ValidValueMapping contains the properties and ends of a valid value mapping.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorValidValueMapping
(ValidValueMapping template) Copy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Returns the short description of the type of association.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.Return the valid value elements that are mapped together.int
hashCode()
Return hash code for this objectvoid
setAssociationDescription
(String associationDescription) Set up the short description of the type of association.void
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.void
setValidValue
(ValidValue validValue) Set up the valid value elements that are mapped together.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
ValidValueMapping
public ValidValueMapping()Default constructor -
ValidValueMapping
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getAssociationDescription
Returns the short description of the type of association.- Returns:
- String text
-
setAssociationDescription
Set up the short description of the type of association.- Parameters:
associationDescription
- String text
-
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
-
getValidValue
Return the valid value elements that are mapped together.- Returns:
- list of valid value objects
-
setValidValue
Set up the valid value elements that are mapped together.- Parameters:
validValue
- list of valid value objects
-
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
-