yuxc
2025-01-07 1f7fb3d9affd85a327d6baa60bb3fd32943ef5c4
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;
  }
}