|
|
VADELIA |
CLASS |
|
|
|
(I/B) (C) |
|
(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 program generated in Adelia Cloud.
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