Class ReferenceableElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.ReferenceableElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class ReferenceableElement extends Object implements MetadataElement, Serializable
ReferenceableElement contains the properties and header for a referenceable entity retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferenceableElement()Default constructorReferenceableElement(ReferenceableElement 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.ElementHeadergetElementHeader()Return the element header associated with the properties.ReferenceablePropertiesgetReferenceableProperties()Return the properties for the referenceable.inthashCode()Return hash code for this objectvoidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetReferenceableProperties(ReferenceableProperties referenceableProperties)Set up the properties for the referenceable.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ReferenceableElement
public ReferenceableElement()
Default constructor
-
ReferenceableElement
public ReferenceableElement(ReferenceableElement 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:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getReferenceableProperties
public ReferenceableProperties getReferenceableProperties()
Return the properties for the referenceable.- Returns:
- properties bean
-
setReferenceableProperties
public void setReferenceableProperties(ReferenceableProperties referenceableProperties)
Set up the properties for the referenceable.- Parameters:
referenceableProperties- properties bean
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-