Try OpenEdge Now
skip to main content
Online Help
Introducing the ABL Editor : Reference : Code-generation wizards : Add Property wizard
 
Add Property wizard
The Add Property wizard helps you add property code to a class file.
This wizard appears when you select Source > Add Property.
The following controls are available:
Property name
(Required) Specifies the name of the property. The name must begin with a letter; spaces and most non-alphanumeric characters are not allowed.
Public/Protected/Private
Specifies the access modifier that applies to the property, GET accessor, or SET accessor:
*Public - The property or accessor can be called from any class and can be directly invoked in any derived class.
*Protected - The property or accessor can be directly invoked in any derived class, but it cannot be called from a class that is not derived from the declaring class.
*Private - The property or accessor cannot be called from any other class and cannot be directly invoked in a derived class. A private property cannot be abstract.
The access modifier for an accessor cannot be less restrictive than the modifier for the property itself.
Static
If checked, specifies that the property is static. A static property is accessible by every instance of the class and (if public) by clients of the class without the need to create an instance of the class.
A static property cannot be abstract.
Abstract
(Enabled only if the current class is abstract) If checked, specifies that the property is abstract and cannot be instantiated. An abstract property is designed to be inherited and to be implemented by the inheriting class. Therefore, an abstract property cannot be private, nor can it be static.
Type
Specifies the property's data type.
Extent
If checked, specifies that the property is an extent (array) value and enables the adjacent field to the right where you enter the number of elements in the extent.
Initial value
If checked, enables the adjacent field to the right where you enter the initial value of the property.
NO-UNDO
If checked, adds the NO-UNDO attribute to the property declaration.
Readable
If checked, specifies that the GET accessor is readable.
Writable
If checked, specifies that the SET accessor is writable.
Insert implementation
If checked, adds an implementation stub for the accessor to the generated code.
Insertion position
Determines where the property code is inserted in the source file.