Top Method Summary
Options Name Purpose
LONGCHAR GenerateGetMethod (AbstractModelClassGeneratorPlugin, RelationDesignAttributes, character) Generates the source code of the navigation method of a single relation
GetRelations (character) Populates the ttRelationDesignAttributes temp-table with the relations of the given temp-table
GetTableModelMembersHandler (Object, GetTableModelMembersEventArgs) Event handler for the GetTableModelMembers event of the Model Class Generator plugin
CHARACTER ResolveTargetBedgmFileName (character) Resolves the .bedgm file name of the target Business Entity of a relation against the PROPATH
ShutdownInternal () Uninitializes the plugin instance and unsubscribes from events
StartupInternal () Initializes the plugin instance and subscribes to required events
StoreRelations (character) Stores the content of the ttRelationDesignAttributes temp-table as the relations of the given temp-table

Top Property Summary
Options Name Purpose
CHARACTER RelationPropertyPrefix


Method Detail
Top

LONGCHAR GenerateGetMethod (AbstractModelClassGeneratorPlugin, RelationDesignAttributes, character)

Purpose: Generates the source code of the navigation method of a single
relation
Notes: Reads the design of the target Business Entity from its .bedgm
file to resolve the DatasetModel class name of the target

Parameters:
poModelClassGeneratorPlugin Consultingwerk.BusinessEntityDesigner.Common.Plugins.AbstractModelClassGeneratorPlugin
The reference to the Model Class Generator plugin instance
poAttributes Consultingwerk.BusinessEntityDesigner.Plugins.BusinessEntityRelations.RelationDesignAttributes
The RelationDesignAttributes instance
pcTempTableName CHARACTER
The name of the source temp-table
Returns LONGCHAR
The source code for the method
Top

GetRelations (character)

Purpose: Populates the ttRelationDesignAttributes temp-table with the
relations of the given temp-table
Notes: The temp-table is emptied first, so it always reflects the
relations of a single temp-table

Parameters:
pcTempTableName CHARACTER
The name of the temp-table to read the relations of
Top

GetTableModelMembersHandler (Object, GetTableModelMembersEventArgs)

Purpose: Event handler for the GetTableModelMembers event of the Model
Class Generator plugin
Notes: Appends one navigation method per relation of the temp-table
to the members of the generated TableModel class

Parameters:
sender Progress.Lang.Object
The reference to the class that raised the event
e Consultingwerk.BusinessEntityDesigner.Plugins.ModelClassGenerator.GetTableModelMembersEventArgs
The GetTableModelMembersEventArgs with the data for this event
Top

CHARACTER ResolveTargetBedgmFileName (character)

Purpose: Resolves the .bedgm file name of the target Business Entity of a
relation against the PROPATH
Notes: The file name is stored relative to the project root, so READ-XML
would only find it when the session runs in that folder - which
is the case in the Business Entity Designer, but not in a server
side generation run (SCL-5862)

Parameters:
pcFileName CHARACTER
The file name stored in the relation
Returns CHARACTER
The fully qualified file name of the .bedgm file
Top

ShutdownInternal ()

Purpose: Uninitializes the plugin instance and unsubscribes from events
Notes: Called by derived classes from their Shutdown method

Top

StartupInternal ()

Purpose: Initializes the plugin instance and subscribes to required events
Notes: Called by derived classes from their Startup method. The second
copy of the design dataset is used to read the design of the
target Business Entity, so its serialize names have to match
the ones written into a .bedgm file

Top

StoreRelations (character)

Purpose: Stores the content of the ttRelationDesignAttributes temp-table
as the relations of the given temp-table
Notes: The complete set of relation properties of the temp-table is
deleted and rewritten, so the property numbers are reassigned
on every call

Parameters:
pcTempTableName CHARACTER
The name of the temp-table to store the relations of


Property Detail
Top

CHARACTER RelationPropertyPrefix


Returns CHARACTER


Temp-Table Detail


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