Class GovernanceDomainProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceDomainProperties
GovernanceDomainProperties describes a governance domain and the identifier used to group the governance definitions together for this domain.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the description for the governance domainReturn the short name for the governance domain.int
Return the identifier of the governance domain.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up the description of the governance domainvoid
setDisplayName
(String displayName) Set up the short name for the governance domain.void
setDomainIdentifier
(int domainIdentifier) Set up the identifier of the governance domain.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
-
GovernanceDomainProperties
public GovernanceDomainProperties()Default constructor -
GovernanceDomainProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDisplayName
Return the short name for the governance domain.- Returns:
- string name
-
setDisplayName
Set up the short name for the governance domain.- Parameters:
displayName
- string name
-
getDescription
Return the description for the governance domain- Returns:
- text
-
setDescription
Set up the description of the governance domain- Parameters:
description
- text
-
getDomainIdentifier
public int getDomainIdentifier()Return the identifier of the governance domain. This value is used in the governance definitions to correlated them with the domain.- Returns:
- int identifier
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain. This value is used in the governance definitions to correlated them with the domain.- 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
-