VADELIA |
SADELIA | EADELIA | CLASS |
||
(I/B) (C/S) |
(B) (S) |
(B) (C/S) | (B) (C) |
Section for use
DECLARATION
This order is used either as part of a VADELIA Batch program generated in Java client as a RESTful web service or when defining the attributes of an Adelia class, or in a VADELIA or SADELIA program (client or server part) generated in Java (Cloud client, Java client, Web client, Java server).
Syntax
REF_CLASS(AdeliaClassName) VariableName
REF_CLASS(*OBJECT) VariableName
AdeliaClassName is an Adelia class.
Description
Used to declare a variable for manipulating an Adelia class.
*OBJECT allows to manage a generic object. In this case, the INSTANCE_OF logical operator can be used to test the actually used class before executing a cast.
For example
REF_CLASS(PERSON) iPerson
REF_CLASS(FAMILY) iFamily