Class ActiveState

    • Constructor Detail

      • ActiveState

        public ActiveState()
        Default Constructor
      • ActiveState

        public ActiveState​(String state)
        Constructor
        Parameters:
        state - state name
      • ActiveState

        public ActiveState​(int id)
    • Method Detail

      • getState

        public String getState()
        Get state name
        Returns:
        state name
      • setState

        public void setState​(String state)
        Set state name
        Parameters:
        state - state name
      • getBackStatus

        public boolean getBackStatus()
        Get the status regarding a possible undo process
        Returns:
        true if state is active to be discussed
      • setBackStatus

        public void setBackStatus​(boolean backStatus)
        Set the status regarding a possible undo process
        Parameters:
        backStatus - true if state is active to be discussed
      • getProcessInstance

        public ProcessInstanceImpl getProcessInstance()
        Get the instance for which user is affected
        Returns:
        instance
      • setProcessInstance

        public void setProcessInstance​(ProcessInstanceImpl processInstance)
        Set the instance for which user is affected
        Parameters:
        processInstance - instance
      • getTimeoutStatus

        public int getTimeoutStatus()
        Get the timeout status of this active state
        Returns:
        true if this an active state is there for a long long time
      • setTimeoutDate

        public void setTimeoutDate​(Date timeoutDate)
        Set the date at which current state will be in timeout
        Parameters:
        timeoutDate - the timeout Date to set
      • getTimeoutDate

        public Date getTimeoutDate()
        Get the date at which current state will be in timeout
        Returns:
        the timeout Date
      • setTimeoutStatus

        public void setTimeoutStatus​(int timeoutStatus)
        Set the timeout status of this active state
        Parameters:
        timeoutStatus - true if this active state is there for a long long time
      • getKey

        public String getKey()
        This method has to be implemented by the referrable object it has to compute the unique key
        Returns:
        The unique key.