Class GovernanceZoneDefinition
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceZoneElement
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceZoneDefinition
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class GovernanceZoneDefinition extends GovernanceZoneElement
A governance zone defines a group of assets. The governance zone definition defines how the assets in the zone should be managed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceZoneDefinition()Default ConstructorGovernanceZoneDefinition(GovernanceZoneDefinition template)Copy/clone constructorGovernanceZoneDefinition(GovernanceZoneElement template)Copy/clone constructor for super class
-
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.List<ElementStub>getAssociatedGovernanceDefinitions()Return the list of the governance definitions that control assets in this zone.List<ElementStub>getNestedGovernanceZones()Return the list of unique identifiers of the governance zones that inherit governance definitions from this zone.ElementStubgetParentGovernanceZone()Return the identifiers of the governance zone that this zone inherits governance definitions from.inthashCode()Return hash code for this objectvoidsetAssociatedGovernanceDefinitions(List<ElementStub> associatedGovernanceDefinitions)Set up the list of the governance definitions that control assets in this zone.voidsetNestedGovernanceZones(List<ElementStub> nestedGovernanceZones)Set up the list of unique identifiers of the governance zones that inherit governance definitions from this zone.voidsetParentGovernanceZone(ElementStub parentGovernanceZone)Set up the unique identifier of the governance zone that this zone inherits governance definitions from.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceZoneElement
getElementHeader, getGovernanceZoneProperties, setElementHeader, setGovernanceZoneProperties
-
-
-
-
Constructor Detail
-
GovernanceZoneDefinition
public GovernanceZoneDefinition()
Default Constructor
-
GovernanceZoneDefinition
public GovernanceZoneDefinition(GovernanceZoneDefinition template)
Copy/clone constructor- Parameters:
template- object to copy
-
GovernanceZoneDefinition
public GovernanceZoneDefinition(GovernanceZoneElement template)
Copy/clone constructor for super class- Parameters:
template- object to copy
-
-
Method Detail
-
getParentGovernanceZone
public ElementStub getParentGovernanceZone()
Return the identifiers of the governance zone that this zone inherits governance definitions from.- Returns:
- identifiers of zone
-
setParentGovernanceZone
public void setParentGovernanceZone(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<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<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<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<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
public String toString()
JSON-style toString- Overrides:
toStringin classGovernanceZoneElement- Returns:
- string containing the properties and their values
-
equals
public boolean equals(Object objectToCompare)
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
-
-