Class ValidValueMappingElement
java.lang.Object
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesMappingProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.ValidValueMappingElement
ValidValueMappingElement contains the properties and remote end of a valid value mapping as
seen from a valid value.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the valid value element that are mapped to the requested valid value.inthashCode()Return hash code for this objectvoidsetValidValueElement(ValidValueElement validValueElement) Set up the valid value elements that are mapped together.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesMappingProperties
getAssociationDescription, getConfidence, getNotes, getSteward, getStewardPropertyName, getStewardTypeName, setAssociationDescription, setConfidence, setNotes, setSteward, setStewardPropertyName, setStewardTypeNameMethods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValueMappingElement
public ValidValueMappingElement()Default constructor -
ValidValueMappingElement
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getValidValueElement
Return the valid value element that are mapped to the requested valid value.- Returns:
- valid value object
-
setValidValueElement
Set up the valid value elements that are mapped together.- Parameters:
validValueElement- valid value object
-
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
-