Try OpenEdge Now
skip to main content
Guide for New Developers
An overview of ABL : Object-Oriented Concepts Overview : Delegation
 

Delegation

Delegation is the simple yet powerful concept of letting contained objects do their own work. It is used to describe the situation where one object assigns a task to another object, known as the delegate.
In ABL, Delegation uses composition to build a class from one or more other classes without relating the classes in a hierarchy. You can create your own container and delegate classes in ABL. You can also use interfaces to help enforce consistency between the method stubs implemented in a given container class and the effective method implementations defined in a corresponding delegate class.
For more information on Object-oriented programming, see the guide OpenEdge Development: Object-oriented Programming.