Representing a Parameter as Its Primitive Type

The default setting is to represent the parameter as its primitive type.

See Also
Inserting a Parameter as a Value Object
Inserting a Parameter as a Variable Object

The following table shows these settings for Jython and DynamicJava:

Data Type

Jython Type

DynamicJava

Real

float

double

Integer

long

int

Boolean

bool

boolean

String

unicode

java.lang.String

Jython maps the Java data types to the closest matching Python data type. You do not need to know the Python type of a value, since the Python types behave almost the same as the Java types. The Python types do have methods, which the Java types (other than String) do not have. Furthermore, the methods of the Python type unicode are very different from those of java.lang.String, even though both are strings of unicode characters.

The value of the parameter is copied into the script variable before the script starts, and the value of the script variable is copied back into the parameter after the script finishes (for parameters with mode Output and In/Out only).