KickJava   Java API By Example, From Geeks To Geeks.

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


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