Salesforce

JGetStatic (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

JGetStatic (Magic xpa 3.x)

Retrieves the value of a static variable.

Syntax:

JGetStatic(class.variable name, variable signature)

Parameters:

class.variable name – A concatenation of the class and variable name (separated by a dot character).

variable signature – An alphanumeric value defining the variable signature.

Returns:

The variable's value. The attribute is determined according to the value returned.

Example:

JGetStatic(‘java.lang.Integer.MAX_VALUE’,’I’) will return the value of the 'elementCount' variable.

Note:

Java does not permit access to virtual members that are defined as private members.

See also:

Java Functions

The Online Samples project (program JV05 and JV06)

Reference
Attachment 
Attachment