Class GovernanceZoneProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceZoneProperties
GovernanceZoneProperties describes a governance zone which is a grouping of assets that are used for a specific
purpose.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return details of the criteria that Assets have when they are placed in these zones.Return the description for the governance zoneReturn the short name for the governance zone.int
Return the identifier of the governance domain that this zone is managed by.getScope()
Return the definition of the scope of this zone.Return the unque name of the zone - this is the value configured in properties such as supportedZones and AssetZoneMembership.int
hashCode()
Return hash code for this objectvoid
setCriteria
(String criteria) Set up the details of the criteria that Assets have when they are placed in these zones.void
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 zone is managed by.void
Set up the scope definition of this zone.void
setZoneName
(String zoneName) Set up unique name for the zone - this is the value configured in properties such as supportedZones and AssetZoneMembership.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
-
GovernanceZoneProperties
public GovernanceZoneProperties()Default constructor -
GovernanceZoneProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getZoneName
Return the unque name of the zone - this is the value configured in properties such as supportedZones and AssetZoneMembership.- Returns:
- string name
-
setZoneName
Set up unique name for the zone - this is the value configured in properties such as supportedZones and AssetZoneMembership.- Parameters:
zoneName
- 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
-
getCriteria
Return details of the criteria that Assets have when they are placed in these zones.- Returns:
- text
-
setCriteria
Set up the details of the criteria that Assets have when they are placed in these zones.- Parameters:
criteria
- text
-
getScope
Return the definition of the scope of this zone.- Returns:
- scope definition
-
setScope
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
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
-