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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package org.jbpm.pvm.internal.wire.descriptor;
 
import java.io.Serializable;
 
import org.jbpm.pvm.internal.wire.Descriptor;
import org.jbpm.pvm.internal.wire.operation.InvokeOperation;
import org.jbpm.pvm.internal.wire.operation.SubscribeOperation;
 
/**
 * <p>This class specifies an argument to be supplied to a method.</p>
 *
 * @author Tom Baeyens
 * @author Guillaume Porcher (documentation)
 *
 * @see ObjectDescriptor
 * @see InvokeOperation
 * @see SubscribeOperation
 */
public class ArgDescriptor implements Serializable{
 
  private static final long serialVersionUID = 1L;
  
  long dbid;
  int dbversion;
  String typeName;
  Descriptor descriptor;
 
  public ArgDescriptor() {
  }
 
  /**
   * Gets the Descriptor used to construct the value given to the argument.
   */
  public Descriptor getDescriptor() {
    return descriptor;
  }
 
  /**
   * Sets the Descriptor used to construct the value given to the argument.
   * @param descriptor
   */
  public void setDescriptor(Descriptor descriptor) {
    this.descriptor = descriptor;
  }
 
  /**
   * Gets the name of the type of this argument if it is defined.
   * If the type name is not defined, the type of the Descriptor is used.
   */
  public String getTypeName() {
    return typeName;
  }
 
  /**
   * Sets the name of the type of this argument.
   * @param typeName
   */
  public void setTypeName(String typeName) {
    this.typeName = typeName;
  }
}