Adding Behavior to Enterprise Objects
Some of the more common ways to add behavior to your enterprise object classes are:-
Performing computations based on the values of class properties. For example, from an Employee's salary property, you might calculate a bonus.
-
Managing the creation and insertion of objects (for example, assigning default values to newly created objects, creating related objects as the by-product of inserting a new object, appropriately setting relationships for new objects, and so on)
-
Performing validation when a particular operation (such as save or delete) takes place
-
Adding sophisticated business logic
© 1999 Apple Computer, Inc. (Last Updated 13 Sep 99)