KickJava   Java API By Example, From Geeks To Geeks.

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


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 DoubleUpdateLog extends VariableUpdateLog {
8
9   private static final long serialVersionUID = 1L;
10
11   Double JavaDoc oldValue = null;
12   Double JavaDoc newValue = null;
13
14   public DoubleUpdateLog() {
15   }
16
17   public DoubleUpdateLog(VariableInstance variableInstance, Double JavaDoc oldValue, Double 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