Class ContextModel


  • public class ContextModel
    extends java.lang.Object
    Data Transfer Object Model of Context
    • Constructor Detail

      • ContextModel

        public ContextModel()
        empty constructor
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        id
      • setId

        public void setId​(java.lang.String id)
        Parameters:
        id - value to set
      • getVersion

        public java.lang.Integer getVersion()
        Returns:
        version
      • setVersion

        public void setVersion​(java.lang.Integer version)
        Parameters:
        version -
      • getName

        public java.lang.String getName()
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
        Parameters:
        name -
      • setStatus

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

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

        public void setEnablecontrol​(java.lang.Boolean enablecontrol)
        Parameters:
        enablecontrol -
      • getPermissions

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

        public void setPermissions​(java.util.List<PermissionModel> permissions)
        Parameters:
        permissions -
      • getIdentifier

        public java.lang.String getIdentifier()
        Returns:
        identifier
      • setIdentifier

        public ContextModel setIdentifier​(java.lang.String identifier)
        Parameters:
        identifier -
        Returns:
        ContextModel
      • getCreationdate

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

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

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

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

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

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

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

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

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

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