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

# Interface Responsibility

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

public interface Responsibility extends Resource
Represents a responsibility

Responsibility combines a user or group with the role it plays for a certain resource or globally.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ResourceReference`
  `getBaseResource()`
  Returns the reference to the resource for which user is responsible for.
  `ResourceReference`
  `getOwner()`
  Returns the reference to the user assigned to given resource (or globally) with given role.
  `NamedResourceReference`
  `getRole()`
  Returns the reference to the role that assigned user plays.

  ### Methods inherited from interface Entity

  `getId, setId`

  ### Methods inherited from interface Resource

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

- ## Method Details

  - ### getRole

    NamedResourceReference getRole()
    Returns the reference to the role that assigned user plays.
    Returns:
      the reference to the role that assigned user plays

  - ### getBaseResource

    ResourceReference getBaseResource()
    Returns the reference to the resource for which user is responsible for. If not specified then the responsibility is global.
    Returns:
      the reference to the resource for which user is responsible for

  - ### getOwner

    ResourceReference getOwner()
    Returns the reference to the user assigned to given resource (or globally) with given role.
    Returns:
      the reference to the user assigned to given resource (or globally) with given role