Package fr.gouv.vitam.common.model.administration

# Class PermissionModel

java.lang.Object
fr.gouv.vitam.common.model.administration.PermissionModel

public class PermissionModel extends Object
Permission model POJO

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PermissionModel()`
  Default constructor
  `PermissionModel(int tenant, Set<String> accessContract, Set<String> ingestContract)`
  Constructor of permission

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<String>`
  `getAccessContract()`
  `Set<String>`
  `getIngestContract()`
  `Integer`
  `getTenant()`
  `void`
  `setAccessContract(Set<String> accessContract)`
  `void`
  `setIngestContract(Set<String> ingestContract)`
  `void`
  `setTenant(Integer tenant)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PermissionModel

    public PermissionModel(int tenant, Set<String> accessContract, Set<String> ingestContract)
    Constructor of permission
    Parameters:
      `tenant` -
      `accessContract` -
      `ingestContract` -

  - ### PermissionModel

    public PermissionModel()
    Default constructor

- ## Method Details

  - ### getTenant

    public Integer getTenant()

  - ### setTenant

    public void setTenant(Integer tenant)

  - ### getAccessContract

    public Set<String> getAccessContract()

  - ### setAccessContract

    public void setAccessContract(Set<String> accessContract)

  - ### getIngestContract

    public Set<String> getIngestContract()

  - ### setIngestContract

    public void setIngestContract(Set<String> ingestContract)