KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > context > log > variableinstance > LongUpdateLog


1 package org.jbpm.context.log.variableinstance;
2
3 import org.jbpm.context.exe.*;
4 import org.jbpm.context.log.*;
5
6
7 public class LongUpdateLog extends VariableUpdateLog {
8
9   private static final long serialVersionUID = 1L;
10
11   Long JavaDoc oldValue = null;
12   Long JavaDoc newValue = null;
13
14   public LongUpdateLog() {
15   }
16
17   public LongUpdateLog(VariableInstance variableInstance, Long JavaDoc oldValue, Long JavaDoc newValue) {
18     super(variableInstance);
19     this.oldValue = oldValue;
20     this.newValue = newValue;
21   }
22
23   public Object JavaDoc getOldValue() {
24     return oldValue;
25   }
26
27   public Object JavaDoc getNewValue() {
28     return newValue;
29   }
30 }
31
Popular Tags