Class ContextModel

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

public class ContextModel extends Object
Data Transfer Object Model of Context
  • Field Details

  • Constructor Details

    • ContextModel

      public ContextModel()
      empty constructor
  • Method Details

    • getId

      public String getId()
      Returns:
      id
    • setId

      public void setId(String id)
      Parameters:
      id - value to set
    • getVersion

      public Integer getVersion()
      Returns:
      version
    • setVersion

      public void setVersion(Integer version)
      Parameters:
      version -
    • getName

      public String getName()
      Returns:
      name
    • setName

      public void setName(String name)
      Parameters:
      name -
    • getStatus

      public ContextStatus getStatus()
      Returns:
      status
    • setStatus

      public void setStatus(ContextStatus status)
      Parameters:
      status -
    • isEnablecontrol

      public Boolean isEnablecontrol()
      Returns:
      enableControle true we must check contract given contract exists in the current context, false else
    • setEnablecontrol

      public void setEnablecontrol(Boolean enablecontrol)
      Parameters:
      enablecontrol -
    • getPermissions

      public List<PermissionModel> getPermissions()
      Returns:
      list of PermissionModel
    • setPermissions

      public void setPermissions(List<PermissionModel> permissions)
      Parameters:
      permissions -
    • getIdentifier

      public String getIdentifier()
      Returns:
      identifier
    • setIdentifier

      public ContextModel setIdentifier(String identifier)
      Parameters:
      identifier -
      Returns:
      ContextModel
    • getCreationdate

      public String getCreationdate()
      Returns:
      the creation date of context
    • setCreationdate

      public ContextModel setCreationdate(String creationdate)
      Parameters:
      creationdate - to set
      Returns:
      this
    • getLastupdate

      public String getLastupdate()
      Returns:
      last update of context
    • setLastupdate

      public ContextModel setLastupdate(String lastupdate)
      Parameters:
      lastupdate - to set
      Returns:
      this
    • getActivationdate

      public String getActivationdate()
      Returns:
      the activation date of context
    • setActivationdate

      public ContextModel setActivationdate(String activationdate)
      Parameters:
      activationdate - to set
      Returns:
      this
    • getDeactivationdate

      public String getDeactivationdate()
      Returns:
      the desactivation date of context
    • setDeactivationdate

      public ContextModel setDeactivationdate(String deactivationdate)
      Parameters:
      deactivationdate - to set
      Returns:
      this
    • getSecurityProfileIdentifier

      public String getSecurityProfileIdentifier()
      Returns:
      the security profile identifier
    • setSecurityProfileIdentifier

      public ContextModel setSecurityProfileIdentifier(String securityProfileIdentifier)
      Parameters:
      securityProfileIdentifier - tbe security profile identifier to set.
      Returns:
      this