Class ProcessData

java.lang.Object
wt.workflow.engine.ProcessData
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, NetFactor, Evolvable

public class ProcessData extends Object implements Externalizable, NetFactor, Evolvable
The ProcessData represents data used by execution objects. It supports methods to retrieve and set values, and query properties (elements) of the object. It also contains a method to initialize the process data based in the process data of a process object as well update the process data of a process object. The order in which the data elements occur in the process data is relevant.

This class represents a way to create attributes dynamically, without the need to model them beforehand.

Use the newProcessData static factory method(s), not the ProcessData constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • getValue

      public Object getValue(String name)
      Returns the value corresponding to the variable whose name is passed as argument. Retuns null if variable doesn't exist (or has no value assigned to it).

      Supported API: true
      Parameters:
      name -
      Returns:
      Object
    • getVariableList

      public WfVariable[] getVariableList()
      Returns an array containing the variables of the ProcessData object.

      Supported API: true
      Returns:
      WfVariable[]