Namespace: Consultingwerk.BusinessEntityDesigner.Plugins.ValueObjectRepository
Class 
ValueObjectRepositoryGenerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:ValueObjectRepositoryGenerator
Purpose:Generator for ValueObjects and their Repository
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Apr 14 10:33:08 CEST 2020



Top Method Summary
Options Name Purpose
CHARACTER EvaluateFolderName () Evaluates the source folder names
Generate (ValueObjectRepositoryGeneratorParameter, dataset) Generates the ValueObject and Repository
LONGCHAR GenerateAssignFields (character, character) Generates the ASSIGN statement for the constructor
LONGCHAR GenerateAssignPropertiesFromBufferFields (character, character) Generates the ASSIGN statement for the constructor
LONGCHAR GenerateAssignPropertiesFromTempTable (character, character) Generates the ASSIGN statement for the constructor
CHARACTER GenerateBufferHandleParameterComments (character) Generates the comments section for the constructor accepting buffer parameters
CHARACTER GenerateBufferHandleParameters (character) Generates the database buffer constructors parameter
CHARACTER GenerateBufferParameterComments (character) Generates the comments section for the constructor accepting buffer parameters
CHARACTER GenerateBufferParameters (character) Generates the database buffer constructors parameter
LONGCHAR GenerateDefineProperties (character, character) Returns the source code for the define properties
CHARACTER GenerateRepository (ValueObjectRepositoryGeneratorParameter) Generates the Repository
CHARACTER GenerateValueObject (ValueObjectRepositoryGeneratorParameter) Generates the ValueObject
LONGCHAR GetValueObjectMethods (character, character, character, character, character, character) Generates the Get... methods for the value objects


Method Detail
Top

CHARACTER EvaluateFolderName ()

Purpose: Evaluates the source folder names
Notes: Variable cSourceFolder

Returns CHARACTER
The source folder name
Top

Generate (ValueObjectRepositoryGeneratorParameter, dataset)

Purpose: Generates the ValueObject and Repository
Notes:

Parameters:
poParameter Consultingwerk.BusinessEntityDesigner.Plugins.ValueObjectRepository.ValueObjectRepositoryGeneratorParameter
The ValueObjectRepositoryGeneratorParameter instance
dsBusinessEntity DATASET dsBusinessEntity
The ProDataset with the Business Entity model
Top

LONGCHAR GenerateAssignFields (character, character)

Purpose: Generates the ASSIGN statement for the constructor
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the temp-table
pcFields CHARACTER
The names of the fields
Returns LONGCHAR
The source code with the ASSIGN Statement
Top

LONGCHAR GenerateAssignPropertiesFromBufferFields (character, character)

Purpose: Generates the ASSIGN statement for the constructor
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the temp-table
pcFields CHARACTER
The names of the fields
Returns LONGCHAR
The source code with the ASSIGN Statement
Top

LONGCHAR GenerateAssignPropertiesFromTempTable (character, character)

Purpose: Generates the ASSIGN statement for the constructor
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the temp-table
pcFields CHARACTER
The names of the fields
Returns LONGCHAR
The source code with the ASSIGN Statement
Top

CHARACTER GenerateBufferHandleParameterComments (character)

Purpose: Generates the comments section for the constructor accepting buffer parameters
Notes:

Parameters:
pcDatabaseTableNames CHARACTER
The names of the database table
Returns CHARACTER
The comments for the database buffer parameters
Top

CHARACTER GenerateBufferHandleParameters (character)

Purpose: Generates the database buffer constructors parameter
Notes:

Parameters:
pcDatabaseTableNames CHARACTER
The names of the database table
Returns CHARACTER
The parameters for the database buffer parameters
Top

CHARACTER GenerateBufferParameterComments (character)

Purpose: Generates the comments section for the constructor accepting buffer parameters
Notes:

Parameters:
pcDatabaseTableNames CHARACTER
The names of the database table
Returns CHARACTER
The comments for the database buffer parameters
Top

CHARACTER GenerateBufferParameters (character)

Purpose: Generates the database buffer constructors parameter
Notes:

Parameters:
pcDatabaseTableNames CHARACTER
The names of the database table
Returns CHARACTER
The parameters for the database buffer parameters
Top

LONGCHAR GenerateDefineProperties (character, character)

Purpose: Returns the source code for the define properties
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the temp-table
pcFields CHARACTER
The names of the fields
Returns LONGCHAR
The source code with the DEFINE PROPERTIES
Top

CHARACTER GenerateRepository (ValueObjectRepositoryGeneratorParameter)

Purpose: Generates the Repository
Notes:

Parameters:
poParameter Consultingwerk.BusinessEntityDesigner.Plugins.ValueObjectRepository.ValueObjectRepositoryGeneratorParameter
The ValueObjectRepositoryGeneratorParameter instance
Returns CHARACTER
The name of the generated file
Top

CHARACTER GenerateValueObject (ValueObjectRepositoryGeneratorParameter)

Purpose: Generates the ValueObject
Notes:

Parameters:
poParameter Consultingwerk.BusinessEntityDesigner.Plugins.ValueObjectRepository.ValueObjectRepositoryGeneratorParameter
The ValueObjectRepositoryGeneratorParameter instance
Returns CHARACTER
The name of the generated file
Top

LONGCHAR GetValueObjectMethods (character, character, character, character, character, character)

Purpose: Generates the Get... methods for the value objects
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the temp-table
pcSearchFields CHARACTER
The search fields, CHR(1) delimited list of comma-delimited lists per index
pcDatabaseFields CHARACTER
The database fields matching the Search fields, CHR(1) delimited list of comma-delimited lists per index
pcValueObjectName CHARACTER
The name of the ValueObject
pcDatabaseTableNames CHARACTER
The names of the database tables
pcTableWhereClauses CHARACTER
The source-default query of the Business Entity Design
Returns LONGCHAR
The source code for the method


ProDataset Detail

ProDataset dsBusinessEntity

Member tables: eBusinessEntity, eDataRelation, eDataRelationProperties, eTable, eField, eFieldProperties, eIndex, eIndexProperties, eTableProperties, eBusinessEntityProperties


Temp-Table Detail

Temp-Table eBusinessEntity

Defined in:

Temp-Table eBusinessEntityProperties

Defined in:

Temp-Table eDataRelation

Defined in:

Temp-Table eDataRelationProperties

Defined in:

Temp-Table eField

Defined in:

Temp-Table eFieldProperties

Defined in:

Temp-Table eIndex

Defined in:

Temp-Table eIndexProperties

Defined in:

Temp-Table eTable

Defined in:

Temp-Table eTableProperties

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:20:41