Try OpenEdge Now
skip to main content
Guide for New Developers
An overview of ABL : Understanding the ABL Class-based model and its members : Properties
 

Properties

Properties are class members similar to variable data members, but they can have behavior defined and associated with them. This behavior specifies if a property can be read or written, and includes any statements to be executed when the property is read or written. ABL allows you to define a property using a DEFINE PROPERTY statement, which includes the definition of any one or two special methods, each of which is referred to as an accessor.
A GET accessor indicates that the property is readable and includes optional statements to be executed when the property is read. A SET accessor indicates that the property is writable and includes optional statements to be executed when the property is written.
For more information on Object-oriented programming, see the guide OpenEdge Development: Object-oriented Programming.