Class ValidValueMappingElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesMappingProperties
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.ValidValueMappingElement
-
- All Implemented Interfaces:
Serializable
public class ValidValueMappingElement extends ValidValuesMappingProperties implements Serializable
ValidValueMappingElement contains the properties and remote end of a valid value mapping as seen from a valid value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidValueMappingElement()Default constructorValidValueMappingElement(ValidValueMappingElement template)Copy clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ValidValueElementgetValidValueElement()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.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesMappingProperties
getAssociationDescription, getConfidence, getNotes, getSteward, setAssociationDescription, setConfidence, setNotes, setSteward
-
-
-
-
Constructor Detail
-
ValidValueMappingElement
public ValidValueMappingElement()
Default constructor
-
ValidValueMappingElement
public ValidValueMappingElement(ValidValueMappingElement template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getValidValueElement
public ValidValueElement getValidValueElement()
Return the valid value element that are mapped to the requested valid value.- Returns:
- valid value object
-
setValidValueElement
public void setValidValueElement(ValidValueElement validValueElement)
Set up the valid value elements that are mapped together.- Parameters:
validValueElement- valid value object
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classValidValuesMappingProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-