Namespace: Consultingwerk.SmartUnit.OERA.MockBufferDataSource
Class 
MockBufferDataSource Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.OERA.BufferDataSource
Implements: Consultingwerk.OERA.IBufferDataSource

File:MockBufferDataSource
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Dec 03 17:10:40 CET 2018



Top Method Summary
Options Name Purpose
+ AddBufferSpec (IBufferSpec) Adds a BufferSpec
Inherited from Consultingwerk.OERA.BufferDataSource
+ LOGICAL AttachDataSource (handle) Attaches the Data-Source to the ProDataset buffer object handle
Inherited from Consultingwerk.OERA.BufferDataSource
+ LOGICAL AttachDataSource (handle, character) Returns the handle of the data-source object
Inherited from Consultingwerk.OERA.BufferDataSource
# Cleanup () Cleans up all dynamic resources
Inherited from Consultingwerk.OERA.BufferDataSource
# DeleteBufferHandles () Deletes the dynamic buffer handles
Inherited from Consultingwerk.OERA.BufferDataSource
+ Initialize () Initializes the DATA-SOURCE object handle and supporting objects
Inherited from Consultingwerk.OERA.BufferDataSource
# HANDLE InitializeBuffer (IBufferSpec) Initializes a single Data-Source buffer based on a BufferSpec
Overrides Consultingwerk.OERA.BufferDataSource:InitializeBuffer (IBufferSpec)
+ CHARACTER SourceColumn (character) Returns the database field name matching a temp-table field name contained in a consumers query string (query string vs. temp-table definition)
Inherited from Consultingwerk.OERA.BufferDataSource
+ CHARACTER SourceDefaultQuery () Returns the default query string (USING OF) that can be used for the SourceDefaultQuery method of the DataAccess class
Inherited from Consultingwerk.OERA.BufferDataSource

Top Constructor Summary
Options Name Purpose
+ MockBufferDataSource () Constructor for the BufferDataSource class
+ MockBufferDataSource (character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character, character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character, character, character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character, character, character, character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character, character, character, character, character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (character, character, character, character, character, character, character, character, character, character) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class
+ MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec) Constructor for the MockBufferDataSource class

Top Property Summary
Options Name Purpose
+ HANDLE BufferHandles
Inherited from Consultingwerk.OERA.BufferDataSource
+ Consultingwerk.OERA.IBufferSpec BufferSpecs
Inherited from Consultingwerk.OERA.BufferDataSource
+ HANDLE DataSourceHandle
Inherited from Consultingwerk.OERA.BufferDataSource
+ LOGICAL Initialized
Inherited from Consultingwerk.OERA.BufferDataSource
+ HANDLE QueryHandle
Inherited from Consultingwerk.OERA.BufferDataSource


Method Detail
Top

PUBLIC AddBufferSpec (IBufferSpec)

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Adds a BufferSpec
Notes:

Parameters:
poDataSource Consultingwerk.OERA.IBufferSpec
The IBufferSpec to add
Top

PUBLIC LOGICAL AttachDataSource (handle)

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Attaches the Data-Source to the ProDataset buffer object handle
Notes:

Parameters:
phProDatasetBuffer HANDLE
The handle of the ProDataset buffer
Returns LOGICAL
Logical return value of the ATTACH-DATA-SOURCE method
Top

PUBLIC LOGICAL AttachDataSource (handle, character)

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Returns the handle of the data-source object
Notes: The implementation is required to remove and white space characters
from pcPairsList that might have been inserted to improve readability
but are not supported by the DATA-SOURCE

Parameters:
phProDatasetBuffer HANDLE
The handle of the ProDataset buffer
pcPairsList CHARACTER
pairs-list An optional character expression that evaluates to a comma-delimited list of field name pairs that specify a mapping between different field names in the data-source object buffer and the ProDataSet temp-table buffer
Returns LOGICAL
Logical return value of the ATTACH-DATA-SOURCE method
Top

PROTECTED Cleanup ()

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Cleans up all dynamic resources
Notes:

Top

PROTECTED DeleteBufferHandles ()

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Deletes the dynamic buffer handles
Notes:

Top

PUBLIC Initialize ()

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Initializes the DATA-SOURCE object handle and supporting objects
Notes: Invoked by the AttachDataSource method if not invoked before

Top

PROTECTED HANDLE InitializeBuffer (IBufferSpec)

Overrides Consultingwerk.OERA.BufferDataSource:InitializeBuffer (IBufferSpec)
Purpose: Initializes a single Data-Source buffer based on a BufferSpec
Notes: Returns the result of the InitializeBuffer method of the IMockBufferDataSourceProvider
of the standard BufferDataSource class when the former returns ?

Parameters:
poBufferSpec Consultingwerk.OERA.IBufferSpec
The IBufferSpec instance describing the buffer
Returns HANDLE
The handle of the buffer
Top

PUBLIC CHARACTER SourceColumn (character)

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Returns the database field name matching a temp-table field name
contained in a consumers query string (query string vs. temp-table
definition)
Notes: To be used in the DataAccess:SourceColumn method

Parameters:
pcColumn CHARACTER
The temp table column name to return the source (database table) field name for
Returns CHARACTER
The database field name mapped to the passed in temp-table field
Top

PUBLIC CHARACTER SourceDefaultQuery ()

Inherited from Consultingwerk.OERA.BufferDataSource
Purpose: Returns the default query string (USING OF) that can be used for the
SourceDefaultQuery method of the DataAccess class
Notes: Can not be used, when the buffers cannot be joined using OF

Returns CHARACTER
The query string for the source default query


Constructor Detail
Top

PUBLIC MockBufferDataSource ()

Purpose: Constructor for the BufferDataSource class
Notes:

Top

PUBLIC MockBufferDataSource (character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
pcTableName4 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
pcTableName4 CHARACTER
The name of the buffer table
pcTableName5 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character, character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
pcTableName4 CHARACTER
The name of the buffer table
pcTableName5 CHARACTER
The name of the buffer table
pcTableName6 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character, character, character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
pcTableName4 CHARACTER
The name of the buffer table
pcTableName5 CHARACTER
The name of the buffer table
pcTableName6 CHARACTER
The name of the buffer table
pcTableName7 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character, character, character, character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
pcTableName4 CHARACTER
The name of the buffer table
pcTableName5 CHARACTER
The name of the buffer table
pcTableName6 CHARACTER
The name of the buffer table
pcTableName7 CHARACTER
The name of the buffer table
pcTableName8 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character, character, character, character, character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
pcTableName4 CHARACTER
The name of the buffer table
pcTableName5 CHARACTER
The name of the buffer table
pcTableName6 CHARACTER
The name of the buffer table
pcTableName7 CHARACTER
The name of the buffer table
pcTableName8 CHARACTER
The name of the buffer table
pcTableName9 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (character, character, character, character, character, character, character, character, character, character)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
pcTableName1 CHARACTER
The name of the buffer table
pcTableName2 CHARACTER
The name of the buffer table
pcTableName3 CHARACTER
The name of the buffer table
pcTableName4 CHARACTER
The name of the buffer table
pcTableName5 CHARACTER
The name of the buffer table
pcTableName6 CHARACTER
The name of the buffer table
pcTableName7 CHARACTER
The name of the buffer table
pcTableName8 CHARACTER
The name of the buffer table
pcTableName9 CHARACTER
The name of the buffer table
pcTableName10 CHARACTER
The name of the buffer table
Top

PUBLIC MockBufferDataSource (IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec4 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec4 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec5 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec4 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec5 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec6 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec4 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec5 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec6 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec7 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec4 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec5 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec6 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec7 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec8 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec4 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec5 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec6 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec7 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec8 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec9 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
Top

PUBLIC MockBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)

Purpose: Constructor for the MockBufferDataSource class
Notes:

Parameters:
poBufferSpec1 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec2 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec3 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec4 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec5 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec6 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec7 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec8 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec9 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer
poBufferSpec10 Consultingwerk.OERA.IBufferSpec
The buffer spec for the dynamic buffer


Property Detail
Top

PUBLIC HANDLE BufferHandles

Inherited from Consultingwerk.OERA.BufferDataSource

Returns HANDLE
Top

PUBLIC Consultingwerk.OERA.IBufferSpec BufferSpecs

Inherited from Consultingwerk.OERA.BufferDataSource

Returns Consultingwerk.OERA.IBufferSpec
Top

PUBLIC HANDLE DataSourceHandle

Inherited from Consultingwerk.OERA.BufferDataSource

Returns HANDLE
Top

PUBLIC LOGICAL Initialized

Inherited from Consultingwerk.OERA.BufferDataSource

Returns LOGICAL
Top

PUBLIC HANDLE QueryHandle

Inherited from Consultingwerk.OERA.BufferDataSource

Returns HANDLE


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