Salesforce

Java Functions (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Java Functions (Magic xpa 4.x)

Magic xpa supplies you with the following built-in functions to handle and manipulate Java objects:

Java functions when using objects annotation

JavaCast - Casts a value to a JAVA type.

JavaException - Creates a reference to a Java exception object that has occurred.

JavaExceptionOccurred - Checks if an exception occurred during the last Java operation.

JavaSet - Sets the value of a property in a JAVA object.

Since version: 3.3

Java functions when using strings to define the objects

CodePage – Sets the code page that would be used when converting Java characters and strings to a Magic xpa Alpha type, and from a Magic xpa Alpha type to Java characters.

EJBCreate – Obtains a new instance of an Enterprise Java Bean.

EJBExplore – Provides a description of an Enterprise Java Bean.

JCall – Calls to non-static Java class methods of a Java object.

JCallStatic – Calls to static Java class methods of a Java object.

JCreate – Creates a new instance of a Java class (a Java object) and returns a handle to this instance.

JException – Returns a pseudo-reference to the last exception of the current context.

JExceptionOccurred – Informs you that the last J* or EJB* function threw an exception.

JExceptionText – Returns a text image from the last exception and an optional backtrace of the stack. This function refers to the last exception thrown during the last J* or EJB* function.

JExplore – Queries a class definition and generates an XML output that describes the structure of the class.

JGet – Retrieves the value of an instance variable.

JGetStatic – Retrieves the value of a static variable.

JInstanceOf – Simulates the Java's operator instance.

JSet – Updates an instance variable.

JSetStatic – Updates a class variable.

Related Topics

Reference
Attachment 
Attachment