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:
  • Constructor Details

    • 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 Details

    • 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:
      toString in class GovernanceZoneElement
      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:
      equals in class GovernanceZoneElement
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class GovernanceZoneElement
      Returns:
      int hash code