Class Volatility

Class volatility is specified in the class definition in the JADE Class Browser. The volatility options are volatile, stable, or frozen. When you specify volatility at the class level, you specify the volatility of all future instances of a class. By default, class instances are volatile.

The volatility specified for a class is not inherited by subclasses. In addition, changing a class’s volatility does not affect existing instances. To change the volatility of existing instances, you must use the methods outlined in the following section.

Setting the class volatility to frozen is a good option for objects that do not change once they are created; for example, records of sales and purchases.

The initial volatility for exclusive collections is as defined for the collection’s class. The volatility of the object containing the collection is not considered.