Class GovernanceZoneProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceZoneProperties
-
- All Implemented Interfaces:
Serializable
public class GovernanceZoneProperties extends ReferenceableProperties
GovernanceZoneProperties describes a governance zone which is a grouping of assets that are used for a specific purpose.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceZoneProperties()Default constructorGovernanceZoneProperties(GovernanceZoneProperties 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.StringgetCriteria()Return details of the criteria that Assets have when they are placed in these zones.StringgetDescription()Return the description for the governance zoneStringgetDisplayName()Return the short name for the governance zone.intgetDomainIdentifier()Return the identifier of the governance domain that this zone is managed by.StringgetScope()Return the definition of the scope of this zone.inthashCode()Return hash code for this objectvoidsetCriteria(String criteria)Set up the details of the criteria that Assets have when they are placed in these zones.voidsetDescription(String description)Set up the description of the governance zonevoidsetDisplayName(String displayName)Set up the short name for the governance zone.voidsetDomainIdentifier(int domainIdentifier)Set up the identifier of the governance domain that this zone is managed by.voidsetScope(String scope)Set up the scope definition of this zone.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
GovernanceZoneProperties
public GovernanceZoneProperties()
Default constructor
-
GovernanceZoneProperties
public GovernanceZoneProperties(GovernanceZoneProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Return the short name for the governance zone.- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the short name for the governance zone.- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description for the governance zone- Returns:
- text
-
setDescription
public void setDescription(String description)
Set up the description of the governance zone- Parameters:
description- text
-
getCriteria
public String getCriteria()
Return details of the criteria that Assets have when they are placed in these zones.- Returns:
- text
-
setCriteria
public void setCriteria(String criteria)
Set up the details of the criteria that Assets have when they are placed in these zones.- Parameters:
criteria- text
-
getScope
public String getScope()
Return the definition of the scope of this zone.- Returns:
- scope definition
-
setScope
public void setScope(String scope)
Set up the scope definition of this zone.- Parameters:
scope- string definition
-
getDomainIdentifier
public int getDomainIdentifier()
Return the identifier of the governance domain that this zone is managed by.- Returns:
- int identifier
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier)
Set up the identifier of the governance domain that this zone is managed by.- 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
-
-