Top Method Summary
Options Name Purpose
CheckFileTypes (character) Flags all potentially stale files of the given file types as stale when they were not announced through the WriteFile / AfterWriteFile events during the current generation run
CheckFileTypes (character, longchar) Flags all potentially stale files of the given file types as stale when they were neither announced through the WriteFile / AfterWriteFile events during the current generation run nor contained in the given list of valid file names
CHARACTER GetFileNames (character) Returns the full path names of the scanned files of the given file type
LOGICAL IsGeneratedFile (character) Returns TRUE when the given file was announced through the WriteFile / AfterWriteFile events during the current generation run, i.e. the file is part of the expected generator output

Top Constructor Summary
Options Name Purpose
CheckStaleFilesEventArgs (character, table, table) Constructor for the CheckStaleFilesEventArgs class

Top Property Summary
Options Name Purpose
CHARACTER EntityName
HANDLE StaleFileTableHandle


Method Detail
Top

CheckFileTypes (character)

Purpose: Flags all potentially stale files of the given file types as
stale when they were not announced through the WriteFile /
AfterWriteFile events during the current generation run
Notes: Called by the Business Entity Generator for its own file types
and by plugins for the file types they are responsible for

Parameters:
pcFileTypeList CHARACTER
Comma-delimited list of file types (the type argument of the @BusinessEntityGenerator annotation)
Top

CheckFileTypes (character, longchar)

Purpose: Flags all potentially stale files of the given file types as
stale when they were neither announced through the WriteFile /
AfterWriteFile events during the current generation run nor
contained in the given list of valid file names
Notes: Used for write-once file types (e.g. the non generated
TableModel or EntityClass classes) that are not announced on
every generation run - the caller derives the list of the
valid file names from the current Business Entity design

Parameters:
pcFileTypeList CHARACTER
Comma-delimited list of file types (the type argument of the @BusinessEntityGenerator annotation)
plcValidFileNames LONGCHAR
CHR(1)-delimited list of full path names (as resolved by FILE-INFO) that are still part of the expected generator output
Top

CHARACTER GetFileNames (character)

Purpose: Returns the full path names of the scanned files of the given
file type
Notes: Allows plugins to base their staleness decision on other
scanned files of the Business Entity (e.g. the Business Task
classes when verifying Business Task based model class names)

Parameters:
pcFileType CHARACTER
The file type (the type argument of the @BusinessEntityGenerator annotation)
Returns CHARACTER
CHR(1)-delimited list of the full path names of the scanned files of the given file type
Top

LOGICAL IsGeneratedFile (character)

Purpose: Returns TRUE when the given file was announced through the
WriteFile / AfterWriteFile events during the current generation
run, i.e. the file is part of the expected generator output
Notes: The comparison is performed on normalized path names (backslash
separators, resolved via FILE-INFO when the file exists)

Parameters:
pcFileName CHARACTER
The name of the file to test
Returns LOGICAL
TRUE when the file is part of the expected generator output


Constructor Detail
Top

CheckStaleFilesEventArgs (character, table, table)

Purpose: Constructor for the CheckStaleFilesEventArgs class
Notes:

Parameters:
pcEntityName CHARACTER
The fully qualified name of the Business Entity
ttStaleGeneratedFile TEMP-TABLE ttStaleGeneratedFile
BIND The temp-table with the potentially stale generated files
ttWrittenFileName TEMP-TABLE ttWrittenFileName
BIND The temp-table with the files announced during the current generation run


Property Detail
Top

CHARACTER EntityName


Returns CHARACTER
Top

HANDLE StaleFileTableHandle


Returns HANDLE


Temp-Table Detail

Temp-Table ttStaleGeneratedFile

Defined in:

Temp-Table ttWrittenFileName

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       16.08.2026 16:54:37