Top Method Summary
Options Name Purpose
CHARACTER ExtractAnnotationParameter (character, character) Returns the value of the given parameter from the argument list of a @BusinessEntityGenerator annotation
LOGICAL IsWhitespace (character) Returns TRUE when the given character is an ABL whitespace character (space, tab, carriage return, line feed)
LOGICAL ParseFileAnnotation (character, character, character) Parses the first @BusinessEntityGenerator annotation contained in the given source code
ScanForGeneratedFiles (character, character, table) Scans the given directory tree for ABL source files (.cls, .i) carrying the @BusinessEntityGenerator annotation of the given Business Entity and adds them to the temp-table
INTEGER SkipWhitespace (character, integer, integer) Returns the position of the first non-whitespace character at or after the given position

Top Property Summary
Options Name Purpose
CHARACTER ANNOTATION_NAME


Method Detail
Top

CHARACTER ExtractAnnotationParameter (character, character)

Purpose: Returns the value of the given parameter from the argument list
of a @BusinessEntityGenerator annotation
Notes: Tolerates line breaks and arbitrary argument order; the value
may be quoted with double or single quotes

Parameters:
pcArguments CHARACTER
The annotation argument list (text between the parentheses)
pcParameterName CHARACTER
The name of the parameter to return (e.g. entityname, type)
Returns CHARACTER
The parameter value or "" when the parameter is not present
Top

LOGICAL IsWhitespace (character)

Purpose: Returns TRUE when the given character is an ABL whitespace
character (space, tab, carriage return, line feed)
Notes:

Parameters:
pcChar CHARACTER
The character to test
Returns LOGICAL
TRUE when the character is a whitespace character
Top

LOGICAL ParseFileAnnotation (character, character, character)

Purpose: Parses the first @BusinessEntityGenerator annotation contained
in the given source code
Notes: Tolerates line breaks within the annotation and arbitrary
argument order

Parameters:
pcSource CHARACTER
The source code to parse
pcEntityName CHARACTER
OUTPUT The value of the entityname argument
pcFileType CHARACTER
OUTPUT The value of the type argument
Returns LOGICAL
TRUE when an annotation with an entityname argument was found
Top

ScanForGeneratedFiles (character, character, table)

Purpose: Scans the given directory tree for ABL source files (.cls, .i)
carrying the @BusinessEntityGenerator annotation of the given
Business Entity and adds them to the temp-table
Notes: The annotation may be formatted across multiple lines and its
arguments (entityname, type) may appear in any order. Files
already contained in the temp-table are not added again, so
the method may be called for multiple (overlapping) root
directories. The caller is responsible for emptying the
temp-table before the first call

Parameters:
pcRootDirectory CHARACTER
The root directory to scan (including subdirectories)
pcEntityName CHARACTER
The fully qualified name of the Business Entity
ttStaleGeneratedFile TEMP-TABLE ttStaleGeneratedFile
INPUT-OUTPUT TABLE the matching files are added to, Stale flag initialized to false
Top

INTEGER SkipWhitespace (character, integer, integer)

Purpose: Returns the position of the first non-whitespace character at
or after the given position
Notes: Returns a position greater than the length when only whitespace
follows

Parameters:
pcSource CHARACTER
The source text
piPosition INTEGER
The position to start at
piLength INTEGER
The length of the source text
Returns INTEGER
The position of the first non-whitespace character


Property Detail
Top

CHARACTER ANNOTATION_NAME


Returns CHARACTER


Temp-Table Detail

Temp-Table ttStaleGeneratedFile

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.08.2026 05:56:10