org.jwarp.flow.state
Class SQLState

java.lang.Object
  |
  +--org.jwarp.flow.AWorkflowObject
        |
        +--org.jwarp.flow.state.State
              |
              +--org.jwarp.flow.state.SQLState
All Implemented Interfaces:
IState, IWorkflowObject

public class SQLState
extends State


Field Summary
(package private)  ConnectionPool pool
           
protected static java.lang.String SQLcreateState
           
protected static java.lang.String SQLgetIdentity
           
protected static java.lang.String SQLreadState
           
protected static java.lang.String SQLupdateDescription
           
protected static java.lang.String SQLupdateFinal
           
protected static java.lang.String SQLupdateName
           
protected static java.lang.String SQLupdateWorkflow
           
 
Fields inherited from class org.jwarp.flow.state.State
finalState
 
Fields inherited from class org.jwarp.flow.AWorkflowObject
description, id, name, workflow
 
Constructor Summary
SQLState(int id, IWorkflow workflow, ConnectionPool pool)
           
SQLState(java.lang.String name, IWorkflow workflow, ConnectionPool pool)
           
 
Method Summary
 void setDescription(java.lang.String val)
          Sets the description.
 void setFinal(boolean val)
           
 void setName(java.lang.String val)
          Sets the description.
 void setWorkflow(IWorkflow val)
          Sets a wrokflow.
 
Methods inherited from class org.jwarp.flow.state.State
isFinal
 
Methods inherited from class org.jwarp.flow.AWorkflowObject
getDescription, getID, getName, getWorkflow
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jwarp.flow.IWorkflowObject
getDescription, getID, getName
 

Field Detail

SQLcreateState

protected static java.lang.String SQLcreateState

SQLreadState

protected static java.lang.String SQLreadState

SQLgetIdentity

protected static java.lang.String SQLgetIdentity

SQLupdateFinal

protected static java.lang.String SQLupdateFinal

SQLupdateDescription

protected static java.lang.String SQLupdateDescription

SQLupdateName

protected static java.lang.String SQLupdateName

SQLupdateWorkflow

protected static java.lang.String SQLupdateWorkflow

pool

ConnectionPool pool
Constructor Detail

SQLState

public SQLState(int id,
                IWorkflow workflow,
                ConnectionPool pool)
         throws java.sql.SQLException,
                MaxConnectException

SQLState

public SQLState(java.lang.String name,
                IWorkflow workflow,
                ConnectionPool pool)
         throws java.sql.SQLException,
                MaxConnectException
Method Detail

setFinal

public void setFinal(boolean val)
Overrides:
setFinal in class State

setName

public void setName(java.lang.String val)
Description copied from class: AWorkflowObject
Sets the description.
Overrides:
setName in class AWorkflowObject

setDescription

public void setDescription(java.lang.String val)
Description copied from class: AWorkflowObject
Sets the description.
Overrides:
setDescription in class AWorkflowObject

setWorkflow

public void setWorkflow(IWorkflow val)
Description copied from class: AWorkflowObject
Sets a wrokflow.
Overrides:
setWorkflow in class State

©   O R C A   S y s t e m s