Namespace: Consultingwerk.Studio
Class 
IdentifierNameValidationHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:IdentifierNameValidationHelper
Purpose:Contains routines to validate names of different indentifiers
Author(s):Sebastian Wandel / Consultingwerk Ltd.
Created:Wed Jul 07 10:24:42 CEST 2021
Purpose: Validates a given name for a Temp-Table
Notes:



Top Method Summary
Options Name Purpose
+ LOGICAL ValidateFieldName (character) Validates a given name for a Field
+ LOGICAL ValidateIndexName (character) Validates a given name for a Index
# LOGICAL ValidateSourceCode (longchar) Compiles the given source-code and returns whether a compilation error occurred
+ LOGICAL ValidateTempTableName (character) Validates a given name for a Temp-Table


Method Detail
Top

PUBLIC LOGICAL ValidateFieldName (character)

Purpose: Validates a given name for a Field
Notes:

Parameters:
pcName CHARACTER
The Fields name
Returns LOGICAL
Whether pcName is a valid name for a Field
Top

PUBLIC LOGICAL ValidateIndexName (character)

Purpose: Validates a given name for a Index
Notes:

Parameters:
pcName CHARACTER
The Indexs name
Returns LOGICAL
Whether pcName is a valid name for a Index
Top

PROTECTED LOGICAL ValidateSourceCode (longchar)

Purpose: Compiles the given source-code and returns whether a compilation error occurred
Notes:

Parameters:
plcSourceCode LONGCHAR
The source-code to compile
Returns LOGICAL
Whether compiling plcSourceCode caused an error
Top

PUBLIC LOGICAL ValidateTempTableName (character)

Purpose: Validates a given name for a Temp-Table
Notes:

Parameters:
pcName CHARACTER
The Temp-Tables name
Returns LOGICAL
Whether pcName is a valid name for a Temp-Table


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:22:21