Class GovernanceDomainProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDomainProperties
-
- All Implemented Interfaces:
Serializable
public class GovernanceDomainProperties extends ReferenceableProperties
GovernanceDomainProperties describes a governance domain and the identifier used to group the governance definitions together for this domain.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceDomainProperties()Default constructorGovernanceDomainProperties(GovernanceDomainProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetDescription()Return the description for the governance domainStringgetDisplayName()Return the short name for the governance domain.intgetDomainIdentifier()Return 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.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
GovernanceDomainProperties
public GovernanceDomainProperties()
Default constructor
-
GovernanceDomainProperties
public GovernanceDomainProperties(GovernanceDomainProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return the short name for the governance domain.- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the short name for the governance domain.- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description for the governance domain- Returns:
- text
-
setDescription
public void setDescription(String description)
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
public String toString()
JSON-style toString- Overrides:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-