Package com.collibra.dgc.core.api.model.assignment

# Interface Scope

All Superinterfaces:
  `Entity`, `NamedDescribedResource`, `NamedResource`, `Resource`, `Serializable`

public interface Scope extends NamedDescribedResource
Represents a scope.

Scope defines a grouping of domains and communities that share same assignment.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<NamedResourceReference>`
  `getCommunities()`
  Returns the list of references to communities belonging to the scope.
  `List<NamedResourceReference>`
  `getDomains()`
  Returns the list of references to domains belonging to the scope.
  `String`
  `getPublicId()`
  Returns the public id of the scope.

  ### Methods inherited from interface Entity

  `getId, setId`

  ### Methods inherited from interface NamedDescribedResource

  `getDescription`

  ### Methods inherited from interface NamedResource

  `getName`

  ### Methods inherited from interface Resource

  `getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem`

- ## Method Details

  - ### getPublicId

    String getPublicId()
    Returns the public id of the scope.
    Returns:
      the public id

  - ### getDomains

    List<NamedResourceReference> getDomains()
    Returns the list of references to domains belonging to the scope.
    Returns:
      the list of references to domains belonging to the scope

  - ### getCommunities

    List<NamedResourceReference> getCommunities()
    Returns the list of references to communities belonging to the scope.
    Returns:
      the list of references to communities belonging to the scope