Class SubjectAreaDefinition
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.SubjectAreaElement
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.SubjectAreaDefinition
- All Implemented Interfaces:
Serializable,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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorSubjectAreaDefinition(SubjectAreaDefinition template) Copy/clone constructorSubjectAreaDefinition(SubjectAreaElement template) Copy/clone constructor for element -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>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.inthashCode()Return hash code for this objectvoidsetAssociatedGovernanceDefinitions(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> associatedGovernanceDefinitions) Set up the list of the governance definitions that control assets in this zone.voidsetNestedSubjectAreaGUIDs(List<String> nestedSubjectAreaGUIDs) Set up the list of unique identifiers of the subject areas that inherit governance definitions from this zone.voidsetParentSubjectAreaGUID(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.accessservices.governanceprogram.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.- Returns:
- string guid
-
setParentSubjectAreaGUID
Set up the unique identifier of the subject area that this zone inherits governance definitions from.- Parameters:
parentSubjectAreaGUID- string guid
-
getNestedSubjectAreaGUIDs
Return the list of unique identifiers of the subject areas that inherit governance definitions from this zone.- Returns:
- list of string guids
-
setNestedSubjectAreaGUIDs
Set up the list of unique identifiers of the subject areas that inherit governance definitions from this zone.- Parameters:
nestedSubjectAreaGUIDs- list of string guids
-
getAssociatedGovernanceDefinitions
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getAssociatedGovernanceDefinitions()Return the list of the governance definitions that control assets in this zone.- Returns:
- list of definitions
-
setAssociatedGovernanceDefinitions
public void setAssociatedGovernanceDefinitions(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> associatedGovernanceDefinitions) Set up the list of the governance definitions that control assets in this zone.- Parameters:
associatedGovernanceDefinitions- list of definitions
-
toString
JSON-style toString- Overrides:
toStringin classSubjectAreaElement- Returns:
- string containing the properties and their values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classSubjectAreaElement- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classSubjectAreaElement- Returns:
- int hash code
-