Fuego Process API

fuego.papi
Class Arguments


java.lang.Object

  extended byfuego.papi.Arguments


public class Arguments
extends Object


Field Summary
static String ACTION
          argument ACTION contains the value of the predefined instance variable action.
static String RESULT
          argument RESULT contains the value of the predefined instance variable action.4 The argument value contained in this key is of STRING type.
 
Method Summary
 boolean containsArgument(String name)
          Return if this object contains a specific argument name
static Arguments create()
          Create a new Arguments object
static Arguments create(fuego.lang.ArgumentMap arguments)
          Create a new Arguments object
 Object getArgument(String name)
          Get the argument value
 Map getArguments()
           
 String[] getArgumentsName()
           
 boolean getBooleanArgument(String name)
          Get the argument value
 fuego.lang.DynamicObject getCILArguments()
           
 double getDoubleArgument(String name)
          Get the argument value
 fuego.lang.DynamicObject getDynamicObject()
          Return the DynamicObject that represent this object
 fuego.lang.DynamicObject getDynamicObjectArgument(String name)
          Get the argument value
 long getLongArgument(String name)
          Get the argument value
 fuego.lang.Time getTimeArgument(String name)
          Get the argument value
 void putArgument(String name, boolean value)
          Put a new argument in this object
 void putArgument(String name, double value)
          Put a new argument in this object
 void putArgument(String name, fuego.lang.DynamicObject value)
          Put a new argument in this object
 void putArgument(String name, long value)
          Put a new argument in this object
 void putArgument(String name, Object value)
          Put a new argument in this object
 void replaceArguments(fuego.lang.DynamicObject arguments)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION


public static final String ACTION
argument ACTION contains the value of the predefined instance variable action. The argument value contained in this key is of Long type. Possible values : NONE = 0; OK = 1; FAIL = 2; RELEASE = 3 CANCEL = 4; REPEAT = 5; ABORT = 6; BACK = 7; SKIP = 8; NEXT = 9;

See Also:
Constant Field Values

RESULT


public static final String RESULT
argument RESULT contains the value of the predefined instance variable action.4 The argument value contained in this key is of STRING type.

See Also:
Constant Field Values
Method Detail

create


public static Arguments create()
Create a new Arguments object


create


public static Arguments create(fuego.lang.ArgumentMap arguments)
Create a new Arguments object


getArgument


public Object getArgument(String name)
Get the argument value

Parameters:
name - Name of the argument
Returns:
Argument value
Throws:
InvalidArgumentType

getArguments


public Map getArguments()

getArgumentsName


public String[] getArgumentsName()

getBooleanArgument


public boolean getBooleanArgument(String name)
Get the argument value

Parameters:
name - Name of the argument
Returns:
Argument value
Throws:
InvalidArgumentType

getCILArguments


public fuego.lang.DynamicObject getCILArguments()

getDoubleArgument


public double getDoubleArgument(String name)
Get the argument value

Parameters:
name - Name of the argument
Returns:
Argument value
Throws:
InvalidArgumentType

getDynamicObject


public fuego.lang.DynamicObject getDynamicObject()
Return the DynamicObject that represent this object

Returns:
The representation of this object
See Also:
DynamicObject

getDynamicObjectArgument


public fuego.lang.DynamicObject getDynamicObjectArgument(String name)
Get the argument value

Parameters:
name - Name of the argument
Returns:
Argument value
Throws:
InvalidArgumentType

getLongArgument


public long getLongArgument(String name)
Get the argument value

Parameters:
name - Name of the argument
Returns:
Argument value
Throws:
InvalidArgumentType

getTimeArgument


public fuego.lang.Time getTimeArgument(String name)
Get the argument value

Parameters:
name - Name of the argument
Returns:
Argument value
Throws:
InvalidArgumentType
See Also:
Time

containsArgument


public boolean containsArgument(String name)
Return if this object contains a specific argument name

Returns:
Return true if this object contains the argument name or false if not.

putArgument


public void putArgument(String name,
                        boolean value)
Put a new argument in this object

Parameters:
name - Name of the argument
value - Value of the argument

putArgument


public void putArgument(String name,
                        long value)
Put a new argument in this object

Parameters:
name - Name of the argument
value - Value of the argument

putArgument


public void putArgument(String name,
                        double value)
Put a new argument in this object

Parameters:
name - Name of the argument
value - Value of the argument

putArgument


public void putArgument(String name,
                        fuego.lang.DynamicObject value)
Put a new argument in this object

Parameters:
name - Name of the argument
value - Value of the argument

putArgument


public void putArgument(String name,
                        Object value)
Put a new argument in this object

Parameters:
name - Name of the argument
value - Value of the argument

replaceArguments


public void replaceArguments(fuego.lang.DynamicObject arguments)

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved