1 5 package com.opensymphony.workflow.spi; 6 7 import java.io.Serializable ; 8 9 10 15 public class SimpleWorkflowEntry implements WorkflowEntry, Serializable { 16 18 protected String workflowName; 19 protected boolean initialized; 20 protected int state; 21 protected long id; 22 23 25 public SimpleWorkflowEntry(long id, String workflowName, int state) { 26 this.id = id; 27 this.workflowName = workflowName; 28 this.state = state; 29 } 30 31 33 public void setId(long id) { 34 this.id = id; 35 } 36 37 public long getId() { 38 return id; 39 } 40 41 public void setInitialized(boolean initialized) { 42 this.initialized = initialized; 43 } 44 45 public boolean isInitialized() { 46 return initialized; 47 } 48 49 public void setState(int state) { 50 this.state = state; 51 } 52 53 public int getState() { 54 return state; 55 } 56 57 public void setWorkflowName(String workflowName) { 58 this.workflowName = workflowName; 59 } 60 61 public String getWorkflowName() { 62 return workflowName; 63 } 64 } 65 | Popular Tags |