Class ValidValuesMappingProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesMappingProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ValidValueMappingElement,ValidValuesMappingElement
public class ValidValuesMappingProperties extends RelationshipProperties
ValidValuesMappingProperties is a java bean used to create a mapping between two valid values from different valid value sets.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidValuesMappingProperties()Default constructorValidValuesMappingProperties(ValidValuesMappingProperties template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.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.StringgetStewardPropertyName()Return the name of the property that holds the steward's identifier.StringgetStewardTypeName()Return the type of element that describes the steward.inthashCode()Return hash code based on properties.voidsetAssociationDescription(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 id of the steward responsible for the mapping.voidsetStewardPropertyName(String stewardPropertyName)Set up the name of the property that holds the steward's identifier.voidsetStewardTypeName(String stewardTypeName)Set up the type of element that describes the steward.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
ValidValuesMappingProperties
public ValidValuesMappingProperties()
Default constructor
-
ValidValuesMappingProperties
public ValidValuesMappingProperties(ValidValuesMappingProperties template)
Copy/clone constructor. Note, this is a deep copy- 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 id of the steward responsible for the mapping.- Parameters:
steward- String id
-
getStewardTypeName
public String getStewardTypeName()
Return the type of element that describes the steward.- Returns:
- type name
-
setStewardTypeName
public void setStewardTypeName(String stewardTypeName)
Set up the type of element that describes the steward.- Parameters:
stewardTypeName- type name
-
getStewardPropertyName
public String getStewardPropertyName()
Return the name of the property that holds the steward's identifier.- Returns:
- property name
-
setStewardPropertyName
public void setStewardPropertyName(String stewardPropertyName)
Set up the name of the property that holds the steward's identifier.- Parameters:
stewardPropertyName- property name
-
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()
Standard toString method.- Overrides:
toStringin classRelationshipProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-
-