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 TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>Return the list of the governance definitions that control assets in this zone.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>Return the list of unique identifiers of the governance zones that inherit governance definitions from this zone.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStubReturn the identifiers of the governance zone that this zone inherits governance definitions from.inthashCode()Return hash code for this objectvoidsetAssociatedGovernanceDefinitions(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> associatedGovernanceDefinitions) Set up the list of the governance definitions that control assets in this zone.voidsetNestedGovernanceZones(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> nestedGovernanceZones) Set up the list of unique identifiers of the governance zones that inherit governance definitions from this zone.voidsetParentGovernanceZone(org.odpi.openmetadata.frameworks.connectors.properties.beans.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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub getParentGovernanceZone()Return the identifiers of the governance zone that this zone inherits governance definitions from.- Returns:
- identifiers of zone
-
setParentGovernanceZone
public void setParentGovernanceZone(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub parentGovernanceZone) Set up the unique identifier of the governance zone that this zone inherits governance definitions from.- Parameters:
parentGovernanceZone- identifiers of zone
-
getNestedGovernanceZones
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> 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
public void setNestedGovernanceZones(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> nestedGovernanceZones) 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
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getAssociatedGovernanceDefinitions()Return the list of the governance definitions that control assets in this zone.- Returns:
- list of identifiers for the linked definitions
-
setAssociatedGovernanceDefinitions
public void setAssociatedGovernanceDefinitions(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> associatedGovernanceDefinitions) 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:
toStringin classGovernanceZoneElement- Returns:
- string containing the properties and their values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classGovernanceZoneElement- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classGovernanceZoneElement- Returns:
- int hash code
-