Previous Next

Progress.Lang.Class class
Progress.Lang.Class provides type information about an ABL class or an interface. ABL provides a Progress.Lang.Class instance for each ABL class or interface type in the ABL session.
Definition
This class is FINAL and cannot be inherited.
Constructors
This class contains only a private constructor; you cannot instantiate it directly.
Super Class
Progress.Lang.Object class
Interfaces
This class does not implement interfaces (beyond those it inherits from its base class).
Public
Properties
 
Public
Methods
 
Public
Events

This class does not contain events.
Notes 
*
*
To obtain the object reference for the Progress.Lang.Class instance associated with a given ABL class or interface, you must call the GetClass( ) method either as an instance method on an ABL class (any Progress.Lang.Object instance except a .NET type) or as a static method of Progress.Lang.Class using the following syntax:
 
Syntax 
class-reference = object-reference:GetClass ( ).
class-reference = Progress.Lang.Class:GetClass ( expression ).
Where object-reference is the object reference to an ABL class instance for which you want to get the type information, expression is a CHARACTER expression that specifies the fully-qualified ABL object type name whose type information you want to get, and class-reference is the object reference for the Progress.Lang.Class instance containing that type information. For example:
 
DEFINE VARIABLE myCustObj AS Progress.Lang.Object NO-UNDO.
DEFINE VARIABLE myType    AS Progress.Lang.Class  NO-UNDO.
 
ASSIGN
  myType    = Progress.Lang.Class:GetClass("acme.myObjs.CustObj")
  myCustObj = myType:New( ).
*
You cannot explicitly delete a Progress.Lang.Class instance.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.