Class SubjectAreaElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.SubjectAreaElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
- Direct Known Subclasses:
SubjectAreaDefinition
public class SubjectAreaElement extends Object implements Serializable, MetadataElement
SubjectAreaElement is the bean used to return a subject area definition stored in the open metadata repositories.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubjectAreaElement()Default constructorSubjectAreaElement(SubjectAreaElement 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.SubjectAreaPropertiesgetProperties()Return the properties of the subject area.inthashCode()Return hash code for this objectvoidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetProperties(SubjectAreaProperties properties)Set up the properties of the subject area.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
SubjectAreaElement
public SubjectAreaElement()
Default constructor
-
SubjectAreaElement
public SubjectAreaElement(SubjectAreaElement 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
-
getProperties
public SubjectAreaProperties getProperties()
Return the properties of the subject area.- Returns:
- properties bean
-
setProperties
public void setProperties(SubjectAreaProperties properties)
Set up the properties of the subject area.- Parameters:
properties- 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.
-
-