Maia\Builder
CLASS BuildLookup

CLASS dotr.Maia.Builder.BuildLookup INHERITS Basic

Maia lookup builder

extends the basic builder to add methods to build lookup user control files from the lookup.i template provided
Author:
Julian Lyndon-Smith (julian+maia@dotr.com)

Method Summary
CONSTRUCTOR (ObjectConfig p_ObjectConfig)
           the field to be shown in the target text
VOID AddGridColumns (Directive p_Directive)
           generate the statement required to add ranges to the grid
VOID DataSchema (Directive p_Directive)
           create the statements required to generate the data schema for the data source
VOID DefineDisplayColumns (Directive p_Directive)
           create the define statement for the columns needed for the lookup grid
VOID NewGridColumns (Directive p_Directive)
           create the "new" statement for the columns needed for the lookup grid
VOID ViewDisplayColumns (Directive p_Directive)
           generate the statement required to show the columns in the grid
 

Method Detail

CONSTRUCTOR

CONSTRUCTOR(ObjectConfig p_ObjectConfig)
the field to be shown in the target text


AddGridColumns

PUBLIC VOID AddGridColumns(Directive p_Directive)
generate the statement required to add ranges to the grid

Parameters:
p_Directive - : holds the directive name and all parameters

DataSchema

PUBLIC VOID DataSchema(Directive p_Directive)
create the statements required to generate the data schema for the data source

Parameters:
p_Directive - : holds the directive name and all parameters

DefineDisplayColumns

PUBLIC VOID DefineDisplayColumns(Directive p_Directive)
create the define statement for the columns needed for the lookup grid

Parameters:
p_Directive - : holds the directive name and all parameters

NewGridColumns

PUBLIC VOID NewGridColumns(Directive p_Directive)
create the "new" statement for the columns needed for the lookup grid

Parameters:
p_Directive - : holds the directive name and all parameters

ViewDisplayColumns

PUBLIC VOID ViewDisplayColumns(Directive p_Directive)
generate the statement required to show the columns in the grid

Parameters:
p_Directive - : holds the directive name and all parameters