Class ValidValueElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.metadataelements.ValidValueElement
-
- All Implemented Interfaces:
Serializable
,MetadataElement
public class ValidValueElement extends Object implements MetadataElement, Serializable
ValidValueElement contains the properties and header for a valid value definition or set entity retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidValueElement()
Default constructorValidValueElement(ValidValueElement template)
Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Return comparison result based on the content of the properties.ElementHeader
getElementHeader()
Return the element header associated with the properties.RelatedElement
getRelatedElement()
Return information about the related element and relationship (if any) that was used to retrieve the valid value.ValidValueProperties
getValidValueProperties()
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.String
toString()
JSON-style toString
-
-
-
Constructor Detail
-
ValidValueElement
public ValidValueElement()
Default constructor
-
ValidValueElement
public ValidValueElement(ValidValueElement template)
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getValidValueProperties
public ValidValueProperties getValidValueProperties()
Return the properties for the valid value definition or set.- Returns:
- properties bean
-
setValidValueProperties
public void setValidValueProperties(ValidValueProperties validValueProperties)
Set up the properties for the valid value definition or set.- Parameters:
validValueProperties
- properties bean
-
getRelatedElement
public RelatedElement getRelatedElement()
Return information about the related element and relationship (if any) that was used to retrieve the valid value.- Returns:
- related element
-
setRelatedElement
public void setRelatedElement(RelatedElement relatedElement)
Set up information about the related element and relationship (if any) that was used to retrieve the valid value.- Parameters:
relatedElement
- related element
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-