Instructions for Creating and Deleting Objects

The JADE instructions for creating and deleting objects are listed in the following table.

Instruction Purpose
create Creates an instance of a class, and assigns it to a variable or a property
delete Deletes an object
inheritCreate Invokes the superclass constructor with parameters implementation of a method

Your applications can create or delete persistent instances only for the RootSchema classes listed in the following table. If you attempt to create or delete a persistent instance of any other RootSchema class, an exception is raised.

BinaryArray BooleanArray CharacterArray DateArray
DecimalArray HugeStringArray IntegerArray ObjectArray
ObjectLongNameDict ObjectSet OleObject PointArray
RealArray Rectangle RectangleArray SortActor
SortActorArray Sound StringArray TimeArray
TimeStampArray      

You can use class lifetime options to restrict the creation of objects. For details, see "Class Lifetime Options", in Chapter 1 of the JADE Development Environment User’s Guide.