Class ValidValuesMappingElement
java.lang.Object
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesMappingProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.ValidValuesMappingElement
- All Implemented Interfaces:
Serializable
ValidValuesMappingElement contains the properties and ends of a valid value mapping relationship.
- 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 elements that are mapped together.int
hashCode()
Return hash code for this objectvoid
setValidValueElements
(List<ValidValueElement> validValueElements) 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
-
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:
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
-