Class ProcessInstance

java.lang.Object
com.priint.pubserver.bpm.model.ProcessInstance

public class ProcessInstance extends Object
  • Method Details

    • getId

      public String getId()
      Returns:
      String - The unique identifier of the process instance.
    • getDefinitionId

      public String getDefinitionId()
      Returns:
      String - The id of the process definition of the process instance.
    • getBusinessKey

      public String getBusinessKey()
      Returns:
      String - The business key of this process instance.
    • getTenantId

      public String getTenantId()
      Returns:
      String - The id of the tenant this process instance execution belongs to. Can be null if the execution belongs to no single tenant.
    • isEnded

      public boolean isEnded()
      Returns:
      true if the process instance execution ended.
    • isSuspended

      public boolean isSuspended()
      Returns:
      true if the process instance is in suspended state.
    • setId

      public void setId(String id)
      Parameters:
      id - String - The unique identifier of the process instance.
    • setDefinitionId

      public void setDefinitionId(String definitionId)
      Parameters:
      definitionId - String - The id of the process definition of the process instance.
    • setBusinessKey

      public void setBusinessKey(String businessKey)
      Parameters:
      businessKey - String - The business key of this process instance.
    • setTenantId

      public void setTenantId(String tenantId)
      Parameters:
      tenantId - String - The id of the tenant this process instance execution belongs to. Should be null if the execution belongs to no single tenant.
    • setEnded

      public void setEnded(boolean ended)
      Parameters:
      ended - if the process instance processing has finished.
    • setSuspended

      public void setSuspended(boolean suspended)
      Parameters:
      suspended - if the process instance is in suspended state.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object