Class ValidValuesMappingElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValuesMappingProperties
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ValidValuesMappingElement
ValidValuesMappingElement contains the properties and ends of a valid value mapping relationship.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the valid value elements that are mapped together.inthashCode()Return hash code for this objectvoidsetValidValueElements(List<ValidValueElement> validValueElements) Set up the valid value elements that are mapped together.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValuesMappingProperties
getAssociationDescription, getConfidence, getNotes, getSteward, getStewardPropertyName, getStewardTypeName, setAssociationDescription, setConfidence, setNotes, setSteward, setStewardPropertyName, setStewardTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValuesMappingElement
public ValidValuesMappingElement()Default constructor -
ValidValuesMappingElement
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getValidValueElements
Return the valid value elements that are mapped together.- Returns:
- list of valid value objects
-
setValidValueElements
Set up the valid value elements that are mapped together.- Parameters:
validValueElements- list of valid value objects
-
toString
JSON-style toString- Overrides:
toStringin classValidValuesMappingProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classValidValuesMappingProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classValidValuesMappingProperties- Returns:
- int hash code
-