KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > taskmgmt > log > SwimlaneAssignLog


1 package org.jbpm.taskmgmt.log;
2
3 import org.jbpm.taskmgmt.exe.SwimlaneInstance;
4
5 public class SwimlaneAssignLog extends SwimlaneLog {
6
7   private static final long serialVersionUID = 1L;
8
9   protected String JavaDoc swimlaneOldActorId = null;
10   protected String JavaDoc swimlaneNewActorId = null;
11
12   public SwimlaneAssignLog() {
13   }
14
15   public SwimlaneAssignLog(SwimlaneInstance swimlaneInstance, String JavaDoc swimlaneOldActorId, String JavaDoc swimlaneNewActorId) {
16     super(swimlaneInstance);
17     this.swimlaneOldActorId = swimlaneOldActorId;
18     this.swimlaneNewActorId = swimlaneNewActorId;
19   }
20
21   public String JavaDoc toString() {
22     return "swimlane-assign["+swimlaneNewActorId+","+swimlaneInstance+"]";
23   }
24
25   public String JavaDoc getSwimlaneNewActorId() {
26     return swimlaneNewActorId;
27   }
28   public String JavaDoc getSwimlaneOldActorId() {
29     return swimlaneOldActorId;
30   }
31 }
32
Popular Tags