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 oldValue = null; 12 Double newValue = null; 13 14 public DoubleUpdateLog() { 15 } 16 17 public DoubleUpdateLog(VariableInstance variableInstance, Double oldValue, Double newValue) { 18 super(variableInstance); 19 this.oldValue = oldValue; 20 this.newValue = newValue; 21 } 22 23 public Object getOldValue() { 24 return oldValue; 25 } 26 27 public Object getNewValue() { 28 return newValue; 29 } 30 } 31 | Popular Tags |