KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jbpm.context.log.variableinstance;
2
3 import java.util.*;
4 import org.jbpm.context.exe.*;
5 import org.jbpm.context.log.*;
6
7 public class DateUpdateLog extends VariableUpdateLog {
8
9   private static final long serialVersionUID = 1L;
10
11   Date oldValue = null;
12   Date newValue = null;
13
14   public DateUpdateLog() {
15   }
16
17   public DateUpdateLog(VariableInstance variableInstance, Date oldValue, Date 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