Creating and Maintaining a Dynamic Property Cluster

You can create and maintain dynamic property clusters for a class in the Class Browser, provided it is not a collection class. For more details, see "Defining Dynamic Property Clusters", in Chapter 3 of the JADE Development Environment User’s Guide.

Alternatively, you can create and maintain dynamic property clusters by executing the methods of the Class class shown in the following table.

Method Description
addDynamicPropertyCluster Adds and returns a new dynamic property cluster to the receiving class
compactDynamicPropertyClusters Compacts dynamic property clusters in which dynamic property instances were deleted
deleteDynamicPropertyCluster Deletes a dynamic property cluster from the receiving class
findDynamicPropertyCluster Returns the dynamic property cluster with the specified name from the class of the receiver

In the following example, a runtime dynamic property cluster called CustomerCluster is added to the Customer class.

begin
    beginTransaction;
    Customer.addDynamicPropertyCluster("CustomerCluster");
    commitTransaction;
end;