wt.workflow.definer
Class WfVariableInfo

java.lang.Object
  extended by wt.workflow.definer.WfVariableInfo
All Implemented Interfaces:
Externalizable, Serializable, NetFactor, Evolvable

public class WfVariableInfo
extends Object
implements Externalizable, NetFactor, Evolvable

Simple structure containing information pertaining to a execution object variable.

Use the newWfVariableInfo static factory method(s), not the WfVariableInfo 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:
Serialized Form

Field Summary
static String DEFAULT_VALUE
          Label for the attribute; Initial value of the variable.
static String NAME
          Label for the attribute; Variable name.
static String READ_ONLY
          Label for the attribute; Determines whether the variable can be modified by the assignee of a task.
 
Method Summary
 Object getDefaultValue()
          Gets the value of the attribute: DEFAULT_VALUE.
 String getName()
          Gets the value of the attribute: NAME.
 boolean isReadOnly()
          Gets the value of the attribute: READ_ONLY.
 void setDefaultValue(Object a_DefaultValue)
          Sets the value of the attribute: DEFAULT_VALUE.
 void setName(String a_Name)
          Sets the value of the attribute: NAME.
 void setReadOnly(boolean a_ReadOnly)
          Sets the value of the attribute: READ_ONLY.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Label for the attribute; Variable name. Must be non null.

Supported API: true

See Also:
Constant Field Values

DEFAULT_VALUE

public static final String DEFAULT_VALUE
Label for the attribute; Initial value of the variable. The class of the value must be a subclass of the class of the variable.

Important Note: all primitive variables must be assigned a default value.

Supported API: true

See Also:
Constant Field Values

READ_ONLY

public static final String READ_ONLY
Label for the attribute; Determines whether the variable can be modified by the assignee of a task. Not enforced internally, just used by the GUI.

Supported API: true

See Also:
Constant Field Values
Method Detail

getName

public String getName()
Gets the value of the attribute: NAME. Variable name. Must be non null.

Supported API: true

Returns:
String

setName

public void setName(String a_Name)
Sets the value of the attribute: NAME. Variable name. Must be non null.

Supported API: true

Parameters:
a_Name -

getDefaultValue

public Object getDefaultValue()
Gets the value of the attribute: DEFAULT_VALUE. Initial value of the variable. The class of the value must be a subclass of the class of the variable.

Important Note: all primitive variables must be assigned a default value.

Supported API: true

Returns:
Object

setDefaultValue

public void setDefaultValue(Object a_DefaultValue)
Sets the value of the attribute: DEFAULT_VALUE. Initial value of the variable. The class of the value must be a subclass of the class of the variable.

Important Note: all primitive variables must be assigned a default value.

Supported API: true

Parameters:
a_DefaultValue -

isReadOnly

public boolean isReadOnly()
Gets the value of the attribute: READ_ONLY. Determines whether the variable can be modified by the assignee of a task. Not enforced internally, just used by the GUI.

Supported API: true

Returns:
boolean

setReadOnly

public void setReadOnly(boolean a_ReadOnly)
Sets the value of the attribute: READ_ONLY. Determines whether the variable can be modified by the assignee of a task. Not enforced internally, just used by the GUI.

Supported API: true

Parameters:
a_ReadOnly -