Class ValidValuesMappingProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValuesMappingProperties
- Direct Known Subclasses:
ValidValueMappingElement
,ValidValuesMappingElement
ValidValuesMappingProperties is a java bean used to create a mapping between two valid values from different valid value sets.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.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 name of the property that holds the steward's identifier.Return the type of element that describes the steward.int
hashCode()
Return hash code based on properties.void
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
setStewardPropertyName
(String stewardPropertyName) Set up the name of the property that holds the steward's identifier.void
setStewardTypeName
(String stewardTypeName) Set up the type of element that describes the steward.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValuesMappingProperties
public ValidValuesMappingProperties()Default constructor -
ValidValuesMappingProperties
Copy/clone constructor. Note, this is a deep copy- 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
-
getStewardTypeName
Return the type of element that describes the steward.- Returns:
- type name
-
setStewardTypeName
Set up the type of element that describes the steward.- Parameters:
stewardTypeName
- type name
-
getStewardPropertyName
Return the name of the property that holds the steward's identifier.- Returns:
- property name
-
setStewardPropertyName
Set up the name of the property that holds the steward's identifier.- Parameters:
stewardPropertyName
- property name
-
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
Standard toString method.- Overrides:
toString
in classRelationshipProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-