Class ValidValueElement
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.metadataelements.ValidValueElement
- All Implemented Interfaces:
Serializable
,MetadataElement
ValidValueElement contains the properties and header for a valid value definition or set entity retrieved from the metadata repository.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorValidValueElement
(ValidValueElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the element header associated with the properties.Return information about the related element and relationship (if any) that was used to retrieve the valid value.Return the properties for the valid value definition or set.int
hashCode()
Return hash code for this objectvoid
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setRelatedElement
(RelatedElement relatedElement) Set up information about the related element and relationship (if any) that was used to retrieve the valid value.void
setValidValueProperties
(ValidValueProperties validValueProperties) Set up the properties for the valid value definition or set.toString()
JSON-style toString
-
Constructor Details
-
ValidValueElement
public ValidValueElement()Default constructor -
ValidValueElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getValidValueProperties
Return the properties for the valid value definition or set.- Returns:
- properties bean
-
setValidValueProperties
Set up the properties for the valid value definition or set.- Parameters:
validValueProperties
- properties bean
-
getRelatedElement
Return information about the related element and relationship (if any) that was used to retrieve the valid value.- Returns:
- related element
-
setRelatedElement
Set up information about the related element and relationship (if any) that was used to retrieve the valid value.- Parameters:
relatedElement
- related element
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-