Class ValidValueMapping
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValueMapping
-
- All Implemented Interfaces:
Serializable
public class ValidValueMapping extends PropertyBase
ValidValueMapping contains the properties and ends of a valid value mapping.- 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 ValidValueMapping()Default constructorValidValueMapping(ValidValueMapping 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.StringgetAssociationDescription()Returns the short description of the type of association.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.ValidValuegetValidValue()Return the valid value elements that are mapped together.inthashCode()Return hash code for this objectvoidsetAssociationDescription(String associationDescription)Set up the short description of the type of association.voidsetConfidence(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 the id of the steward responsible for the mapping.voidsetValidValue(ValidValue validValue)Set up the valid value elements that are mapped together.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
ValidValueMapping
public ValidValueMapping()
Default constructor
-
ValidValueMapping
public ValidValueMapping(ValidValueMapping template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getAssociationDescription
public String getAssociationDescription()
Returns the short description of the type of association.- Returns:
- String text
-
setAssociationDescription
public void setAssociationDescription(String associationDescription)
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
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 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
-
getValidValue
public ValidValue getValidValue()
Return the valid value elements that are mapped together.- Returns:
- list of valid value objects
-
setValidValue
public void setValidValue(ValidValue validValue)
Set up the valid value elements that are mapped together.- Parameters:
validValue- list of valid value objects
-
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
-
-