Class GovernanceDomainProperties
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDomainProperties
- All Implemented Interfaces:
Serializable
GovernanceDomainProperties describes a governance domain and the identifier used to group the governance definitions together for this domain.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the description for the governance domainReturn the short name for the governance domain.intReturn the identifier of the governance domain.inthashCode()Return hash code for this objectvoidsetDescription(String description) Set up the description of the governance domainvoidsetDisplayName(String displayName) Set up the short name for the governance domain.voidsetDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, 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:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-