Class PBEAction

Object
  |
  +--PBEAction
Direct Known Subclasses:
PBEAttributeAction, PBECondition, PBEDisableAction, PBEDoAction, PBEEnableAction, PBEExecAction, PBEFetchAction, PBEGotoAction, PBEIgnoreAction, PBESetAction, PBESetErrorAction, PBETrigger, PBEUseAction

public class PBEAction
extends Object


Field Summary
protected  varchar iParameters
           
protected  Class iType
           
 varchar name
           
static varchar procName
           
 
Constructor Summary
PBEAction(varchar name)
           
 
Method Summary
protected  varchar actionArguments(PBEUnit unit)
           
protected  varchar actionCall()
           
protected  varchar actionParameters(PBEObject object, PBEParseString p)
           
protected  PBEAttribute attributeReference(PBEUnit unit, generic m)
           
 varchar callString(PBEUnit unit, PBEParseString p, varchar events)
           
 void checkEvent(varchar event)
           
protected  PBEObject getObject(PBEUnit unit)
           
protected  PBEMethod methodReference(PBEUnit unit, generic m)
           
protected  varchar nestedInput(PBEParseString p)
           
protected  PBEObject objectReference(generic m)
           
protected  varchar parameter(PBEObject object, varchar string, varchar type)
           
 varchar parameters()
          This method is called by the contructor and determines the number and types of an action.
 procedure perform(PBEMethod method, PBEUnit unit)
          This procedure performs the action (as determined by the procName class variable).
 varchar performParameterCount()
           
protected  procedure printPerform(generic p1, generic p2, generic p3, generic p4, generic p5, generic p6, generic p7, generic p8)
           
 procedure tracePerform(generic p1, generic p2, generic p3, generic p4, generic p5, generic p6, generic p7, generic p8)
           
 

Field Detail

name

public varchar name

procName

public static varchar procName

iType

protected Class iType

iParameters

protected varchar iParameters
Constructor Detail

PBEAction

public PBEAction(varchar name)
Method Detail

getObject

protected PBEObject getObject(PBEUnit unit)

objectReference

protected PBEObject objectReference(generic m)

attributeReference

protected PBEAttribute attributeReference(PBEUnit unit,
                                          generic m)

methodReference

protected PBEMethod methodReference(PBEUnit unit,
                                    generic m)

parameter

protected varchar parameter(PBEObject object,
                            varchar string,
                            varchar type)

nestedInput

protected varchar nestedInput(PBEParseString p)

actionParameters

protected varchar actionParameters(PBEObject object,
                                   PBEParseString p)

actionArguments

protected varchar actionArguments(PBEUnit unit)

actionCall

protected varchar actionCall()

checkEvent

public void checkEvent(varchar event)

callString

public varchar callString(PBEUnit unit,
                          PBEParseString p,
                          varchar events)

parameters

public varchar parameters()
This method is called by the contructor and determines the number and types of an action.

performParameterCount

public varchar performParameterCount()

perform

public procedure perform(PBEMethod method,
                         PBEUnit unit)
This procedure performs the action (as determined by the procName class variable). You may add parameters to you implementation of this procedure. The iParameters instance variable determines the number and types of the additional parameters support by your action.

printPerform

protected procedure printPerform(generic p1,
                                 generic p2,
                                 generic p3,
                                 generic p4,
                                 generic p5,
                                 generic p6,
                                 generic p7,
                                 generic p8)

tracePerform

public procedure tracePerform(generic p1,
                              generic p2,
                              generic p3,
                              generic p4,
                              generic p5,
                              generic p6,
                              generic p7,
                              generic p8)