1 package org.jbpm.taskmgmt.exe; 2 3 import java.io.*; 4 import java.util.Set ; 5 6 import org.jbpm.taskmgmt.def.*; 7 8 11 public class SwimlaneInstance implements Serializable, Assignable { 12 13 private static final long serialVersionUID = 1L; 14 15 long id = 0; 16 protected String name = null; 17 protected String actorId = null; 18 protected Set pooledActors = null; 19 protected Swimlane swimlane = null; 20 protected TaskMgmtInstance taskMgmtInstance = null; 21 22 public SwimlaneInstance() { 23 } 24 25 public SwimlaneInstance(Swimlane swimlane) { 26 this.name = swimlane.getName(); 27 this.swimlane = swimlane; 28 } 29 30 public void setPooledActors(String [] actorIds) { 31 this.pooledActors = PooledActor.createPool(actorIds); 32 } 33 34 public long getId() { 35 return id; 36 } 37 public String getName() { 38 return name; 39 } 40 public Swimlane getSwimlane() { 41 return swimlane; 42 } 43 public String getActorId() { 44 return actorId; 45 } 46 public void setActorId(String actorId) { 47 this.actorId = actorId; 48 } 49 public TaskMgmtInstance getTaskMgmtInstance() { 50 return taskMgmtInstance; 51 } 52 public void setTaskMgmtInstance(TaskMgmtInstance taskMgmtInstance) { 53 this.taskMgmtInstance = taskMgmtInstance; 54 } 55 public Set getPooledActors() { 56 return pooledActors; 57 } 58 public void setPooledActors(Set pooledActors) { 59 this.pooledActors = pooledActors; 60 } 61 62 } 63 | Popular Tags |