Class SubjectAreaProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SubjectAreaProperties
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
ConstructorDescriptionDefault constructorSubjectAreaProperties
(SubjectAreaProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the description for the governance zoneReturn the short name for the governance zone.int
Return the identifier of the governance domain that this subject area is managed by.getScope()
Return the definition of the scope of this subject areaReturn the name of the subject area - this is added to the SubjectArea classification.getUsage()
Return details of the usage of this subject area.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up the description of the governance zonevoid
setDisplayName
(String displayName) Set up the short name for the governance zone.void
setDomainIdentifier
(int domainIdentifier) Set up the identifier of the governance domain that this subject area is managed by.void
Set up the scope definitionvoid
setSubjectAreaName
(String subjectAreaName) Set up the name of the subject area - this is added to the SubjectArea classification.void
Set up the details of the usage of this subject area.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
SubjectAreaProperties
public SubjectAreaProperties()Default constructor -
SubjectAreaProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSubjectAreaName
Return the name of the subject area - this is added to the SubjectArea classification.- Returns:
- string name
-
setSubjectAreaName
Set up the name of the subject area - this is added to the SubjectArea classification.- Parameters:
subjectAreaName
- string name
-
getDisplayName
Return the short name for the governance zone.- Returns:
- string name
-
setDisplayName
Set up the short name for the governance zone.- Parameters:
displayName
- string name
-
getDescription
Return the description for the governance zone- Returns:
- text
-
setDescription
Set up the description of the governance zone- Parameters:
description
- text
-
getUsage
Return details of the usage of this subject area.- Returns:
- text
-
setUsage
Set up the details of the usage of this subject area.- Parameters:
usage
- text
-
getScope
Return the definition of the scope of this subject area- Returns:
- scope definition
-
setScope
Set up the scope definition- Parameters:
scope
- string definition
-
getDomainIdentifier
public int getDomainIdentifier()Return the identifier of the governance domain that this subject area is managed by.- Returns:
- int identifier
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this subject area is managed by.- Parameters:
domainIdentifier
- int identifier
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-