1 5 package com.opensymphony.workflow.spi.ojb; 6 7 import com.opensymphony.workflow.spi.WorkflowEntry; 8 9 import java.util.List ; 10 11 12 16 public class OJBWorkflowEntry implements WorkflowEntry { 17 19 List currentSteps; 20 List historySteps; 21 String workflowName; 22 long id; 23 private int state; 24 25 27 public OJBWorkflowEntry() { 28 super(); 29 } 30 31 33 public void setCurrentSteps(List list) { 34 currentSteps = list; 35 } 36 37 public List getCurrentSteps() { 38 return currentSteps; 39 } 40 41 public void setHistorySteps(List list) { 42 historySteps = list; 43 } 44 45 public List getHistorySteps() { 46 return historySteps; 47 } 48 49 public void setId(long l) { 50 id = l; 51 } 52 53 public long getId() { 54 return id; 55 } 56 57 public boolean isInitialized() { 58 return state > 0; 59 } 60 61 public void setState(int state) { 62 this.state = state; 63 } 64 65 public int getState() { 66 return state; 67 } 68 69 public void setWorkflowName(String string) { 70 workflowName = string; 71 } 72 73 public String getWorkflowName() { 74 return workflowName; 75 } 76 } 77 | Popular Tags |