Class SubjectAreaDefinition
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaDefinition
- All Implemented Interfaces:
MetadataElement
A subject area defines a group of definitions for governing assets related to a specific topic. The subject area definition defines
how the assets related to the topic should be managed.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorSubjectAreaDefinition
(SubjectAreaDefinition template) Copy/clone constructorSubjectAreaDefinition
(SubjectAreaElement template) Copy/clone constructor for element -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of the governance definitions that control assets in this zone.Return the list of unique identifiers of the subject areas that inherit governance definitions from this zone.Return the unique identifier of the subject area that this zone inherits governance definitions from.int
hashCode()
Return hash code for this objectvoid
setAssociatedGovernanceDefinitions
(List<ElementStub> associatedGovernanceDefinitions) Set up the list of the governance definitions that control assets in this zone.void
setNestedSubjectAreaGUIDs
(List<String> nestedSubjectAreaGUIDs) Set up the list of unique identifiers of the subject areas that inherit governance definitions from this zone.void
setParentSubjectAreaGUID
(String parentSubjectAreaGUID) Set up the unique identifier of the subject area that this zone inherits governance definitions from.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement
getElementHeader, getProperties, setElementHeader, setProperties
-
Constructor Details
-
SubjectAreaDefinition
public SubjectAreaDefinition()Default Constructor -
SubjectAreaDefinition
Copy/clone constructor- Parameters:
template
- object to copy
-
SubjectAreaDefinition
Copy/clone constructor for element- Parameters:
template
- object to copy
-
-
Method Details
-
getParentSubjectAreaGUID
Return the unique identifier of the subject area that this zone inherits governance definitions from.- Overrides:
getParentSubjectAreaGUID
in classSubjectAreaElement
- Returns:
- string guid
-
setParentSubjectAreaGUID
Set up the unique identifier of the subject area that this zone inherits governance definitions from.- Overrides:
setParentSubjectAreaGUID
in classSubjectAreaElement
- Parameters:
parentSubjectAreaGUID
- string guid
-
getNestedSubjectAreaGUIDs
Return the list of unique identifiers of the subject areas that inherit governance definitions from this zone.- Overrides:
getNestedSubjectAreaGUIDs
in classSubjectAreaElement
- Returns:
- list of string guids
-
setNestedSubjectAreaGUIDs
Set up the list of unique identifiers of the subject areas that inherit governance definitions from this zone.- Overrides:
setNestedSubjectAreaGUIDs
in classSubjectAreaElement
- Parameters:
nestedSubjectAreaGUIDs
- list of string guids
-
getAssociatedGovernanceDefinitions
Return the list of the governance definitions that control assets in this zone.- Overrides:
getAssociatedGovernanceDefinitions
in classSubjectAreaElement
- Returns:
- list of definitions
-
setAssociatedGovernanceDefinitions
Set up the list of the governance definitions that control assets in this zone.- Overrides:
setAssociatedGovernanceDefinitions
in classSubjectAreaElement
- Parameters:
associatedGovernanceDefinitions
- list of definitions
-
toString
JSON-style toString- Overrides:
toString
in classSubjectAreaElement
- Returns:
- string containing the properties and their values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classSubjectAreaElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classSubjectAreaElement
- Returns:
- int hash code
-