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
- All Implemented Interfaces:
Serializable
ValidValueMappingElement contains the properties and remote end of a valid value mapping as
seen from a valid value.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the valid value element that are mapped to the requested valid value.int
hashCode()
Return hash code for this objectvoid
setValidValueElement
(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, setStewardTypeName
Methods 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:
toString
in classValidValuesMappingProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classValidValuesMappingProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classValidValuesMappingProperties
- Returns:
- int hash code
-