getImportedClass

getImportedClass(clsName: String): JadeImportedClass;

The getImportedClass method of the Schema class returns a reference to a class imported as part of an imported package.

The imported class object has a reference to the exported class that was exported as part of the exported package. Finally, the exported class object has a reference to the original instance of the Class class, as shown in the following code example.

vars
    impClass : JadeImportedClass;
    expClass : JadeExportedClass;
    origClass : Class;
begin
    impClass := currentSchema.getImportedClass("Diary");
    expClass := impClass.exportedClass;
    origClass := expClass.originalClass;
    // Processing of the original Class instance for the Diary class
end;