Class ExternalReferenceElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.metadataelements.ExternalReferenceElement
-
- All Implemented Interfaces:
Serializable
,MetadataElement
public class ExternalReferenceElement extends Object implements MetadataElement, Serializable
ExternalReferenceElement stores information about an link to an external resource that is relevant to this element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalReferenceElement()
Default ConstructorExternalReferenceElement(ExternalReferenceElement template)
Copy/clone Constructor - the resulting object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.ElementHeader
getElementHeader()
Return the element header associated with the properties.ExternalReferenceProperties
getProperties()
Return the link to external documentation that are relevant to this element.int
hashCode()
Hash of propertiesvoid
setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.void
setProperties(ExternalReferenceProperties properties)
Set up the list of links to external documentation that are relevant to this element.String
toString()
JSON-style toString.
-
-
-
Constructor Detail
-
ExternalReferenceElement
public ExternalReferenceElement()
Default Constructor
-
ExternalReferenceElement
public ExternalReferenceElement(ExternalReferenceElement template)
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
-
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
-
getProperties
public ExternalReferenceProperties getProperties()
Return the link to external documentation that are relevant to this element.- Returns:
- list of external references
-
setProperties
public void setProperties(ExternalReferenceProperties properties)
Set up the list of links to external documentation that are relevant to this element.- Parameters:
properties
- of external references
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-