Class ValidValueElement
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.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 TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn 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.inthashCode()Return hash code for this objectvoidsetElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.voidsetRelatedElement(RelatedElement relatedElement) Set up information about the related element and relationship (if any) that was used to retrieve the valid value.voidsetValidValueProperties(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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.- Specified by:
setElementHeaderin 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
-