Maia\Builder
CLASS ObjectBuilder

CLASS dotr.Maia.Builder.ObjectBuilder


Property Summary
ObjectBuilder Instance PUBLIC GET PRIVATE SET
           
 

Method Summary
VOID BuildObject (CHARACTER p_ObjectConfig)
           get the object of the supplied parameter
VOID BuildObject (ObjectConfig p_ObjectConfig)
           build supplied object
CHARACTER GetOptionValue (CHARACTER p_Property)
           returns the Builder option value
VOID SetDefaultOption (CHARACTER p_Property, CHARACTER p_Value)
           sets a default builder option value
VOID SetOption (CHARACTER p_Property, CHARACTER p_Value)
           sets a builder option value
 

Property Detail

Instance

ObjectBuilder PUBLIC GET PRIVATE SET

Method Detail

BuildObject

PUBLIC VOID BuildObject(CHARACTER p_ObjectConfig)
get the object of the supplied parameter

Parameters:
p_ObjectConfig - : name of the object to buidl

BuildObject

PUBLIC VOID BuildObject(ObjectConfig p_ObjectConfig)
build supplied object

this is the main component of the ObjectBuilder. All templates are read and parsed here and the appropriate directive invoked
Parameters:
p_ObjectConfig - : object to buidl

GetOptionValue

PUBLIC CHARACTER GetOptionValue(CHARACTER p_Property)
returns the Builder option value

Parameters:
p_Property - : name of option
Returns:
char : value of option

SetDefaultOption

PUBLIC VOID SetDefaultOption(CHARACTER p_Property, CHARACTER p_Value)
sets a default builder option value

if option already exists, do not overwrite it
Parameters:
p_Property - : name of option to set
p_Value - : default value to set

SetOption

PUBLIC VOID SetOption(CHARACTER p_Property, CHARACTER p_Value)
sets a builder option value

Parameters:
p_Property - : name of option to set
p_Value - : default value to set