ludc
2025-01-16 986aa62ed00bee39363bab41b4eeb8259d446efd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package org.jbpm.pvm.internal.type.variable;
 
import org.jbpm.pvm.internal.type.Variable;
 
 
/**
 * uses the cache in variable instance to store any object
 * without persisting it.
 */
public class UnpersistableVariable extends Variable {
  
  private static final long serialVersionUID = 1L;
  
  Object value;
 
  protected Object getObject() {
    return value;
  }
 
  public boolean isStorable(Object value) {
    return true;
  }
 
  protected void setObject(Object value) {
    this.value = value;
  }
}