Namespace: Consultingwerk.BusinessEntityDesigner.Generator
Class 
BusinessEntityValidationGenerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.BusinessEntityDesigner.Plugins.CustomServices.IBusinessEntityValidationGenerator

File:BusinessEntityValidationGenerator
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 26 20:54:32 CEST 2015



Top Method Summary
Options Name Purpose
# LONGCHAR GenerateFieldValidation (BaseValidationProperties, character, character, character, integer) Generates the validation for the eField record currently in scope
+ LONGCHAR GenerateValidationCode (dataset) Generates the Business Entity Validation Code


Method Detail
Top

PROTECTED LONGCHAR GenerateFieldValidation (BaseValidationProperties, character, character, character, integer)

Purpose: Generates the validation for the eField record currently in scope
Notes:

Parameters:
poValidation Consultingwerk.BusinessEntityDesigner.Validation.BaseValidationProperties
The validation properties instance
pcTableName CHARACTER
The name of the buffer to validate
pcFieldName CHARACTER
The name of the field to validate
pcDataType CHARACTER
The data type of the temp-table field
piExtent INTEGER
The field extent
Returns LONGCHAR
The validation code block for the given field
Top

PUBLIC LONGCHAR GenerateValidationCode (dataset)

Purpose: Generates the Business Entity Validation Code
Notes:

Parameters:
dsBusinessEntity DATASET dsBusinessEntity
The Business Entity Dataset passed by-reference
Returns LONGCHAR
The generated validation code, including the @GeneratedValidationStart. and @GeneratedValidationEnd. Annotations


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:09:34