Class GovernanceZoneDefinition
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceZoneElement
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceZoneDefinition
- All Implemented Interfaces:
Serializable
,MetadataElement
A governance zone defines a group of assets. The governance zone definition defines
how the assets in the zone should be managed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone constructorCopy/clone constructor for super class -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of the governance definitions that control assets in this zone.Return the list of unique identifiers of the governance zones that inherit governance definitions from this zone.Return the identifiers of the governance zone that this zone inherits governance definitions from.int
hashCode()
Return hash code for this objectvoid
setAssociatedGovernanceDefinitions
(List<ElementStub> associatedGovernanceDefinitions) Set up the list of the governance definitions that control assets in this zone.void
setNestedGovernanceZones
(List<ElementStub> nestedGovernanceZones) Set up the list of unique identifiers of the governance zones that inherit governance definitions from this zone.void
setParentGovernanceZone
(ElementStub parentGovernanceZone) Set up the unique identifier of the governance zone that this zone inherits governance definitions from.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceZoneElement
getElementHeader, getGovernanceZoneProperties, setElementHeader, setGovernanceZoneProperties
-
Constructor Details
-
GovernanceZoneDefinition
public GovernanceZoneDefinition()Default Constructor -
GovernanceZoneDefinition
Copy/clone constructor- Parameters:
template
- object to copy
-
GovernanceZoneDefinition
Copy/clone constructor for super class- Parameters:
template
- object to copy
-
-
Method Details
-
getParentGovernanceZone
Return the identifiers of the governance zone that this zone inherits governance definitions from.- Returns:
- identifiers of zone
-
setParentGovernanceZone
Set up the unique identifier of the governance zone that this zone inherits governance definitions from.- Parameters:
parentGovernanceZone
- identifiers of zone
-
getNestedGovernanceZones
Return the list of unique identifiers of the governance zones that inherit governance definitions from this zone.- Returns:
- list of identifiers of zones
-
setNestedGovernanceZones
Set up the list of unique identifiers of the governance zones that inherit governance definitions from this zone.- Parameters:
nestedGovernanceZones
- list of identifiers of zones
-
getAssociatedGovernanceDefinitions
Return the list of the governance definitions that control assets in this zone.- Returns:
- list of identifiers for the linked definitions
-
setAssociatedGovernanceDefinitions
Set up the list of the governance definitions that control assets in this zone.- Parameters:
associatedGovernanceDefinitions
- list of identifiers for the linked definitions
-
toString
JSON-style toString- Overrides:
toString
in classGovernanceZoneElement
- Returns:
- string containing the properties and their values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceZoneElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceZoneElement
- Returns:
- int hash code
-