com.azalient.api.a.model
Interface IControl

All Superinterfaces:
IModule, IPage

public interface IControl
extends IModule, IPage

A handle to the objects associated with the Control component


Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IModule
NONE
 
Fields inherited from interface com.azalient.api.a.tables.IPage
ZERO
 
Method Summary
 IPhase newPhase(IController c, String phaseName, boolean addToStore, boolean addToPlans)
          Create a new phase, given the controller and the phase name
 IPhase newPhase(String name, boolean mapOldToNew)
          Create a new phase, given a name in the format intersection_phase.
 IPlan newPlan(String name, boolean mapOldToNew)
          Create a new plan.
 ICreator phaseCreator()
           
 IStore<IPhase> phases()
          Return a store of all phases, for all intersections
 ICreator planCreator()
           
 IStore<IPlan> plans()
          Return a store of all phase plans, for all intersections
 ICreator ruleCreator()
           
 IStore<ISignalRule> rules()
          Return a store of all rules, for all intersections
 
Methods inherited from interface com.azalient.api.a.tables.IModule
addTable, baseName, childModules, destroy, open, open, pageName, pageType, parentModule, rename, save, save, table, verify
 
Methods inherited from interface com.azalient.api.a.tables.IPage
baseName, pageName, pageType
 

Method Detail

phases

IStore<IPhase> phases()
Return a store of all phases, for all intersections


plans

IStore<IPlan> plans()
Return a store of all phase plans, for all intersections


rules

IStore<ISignalRule> rules()
Return a store of all rules, for all intersections


phaseCreator

ICreator phaseCreator()
Internal - Not recommended for use. Public as a side-effect of implementation method
For pasting new phases

planCreator

ICreator planCreator()
Internal - Not recommended for use. Public as a side-effect of implementation method
For pasting new plans

ruleCreator

ICreator ruleCreator()
Internal - Not recommended for use. Public as a side-effect of implementation method
For pasting new rules

newPhase

IPhase newPhase(String name,
                boolean mapOldToNew)
Create a new phase, given a name in the format intersection_phase. mapOldToNew is used in pasting


newPhase

IPhase newPhase(IController c,
                String phaseName,
                boolean addToStore,
                boolean addToPlans)
Create a new phase, given the controller and the phase name


newPlan

IPlan newPlan(String name,
              boolean mapOldToNew)
Create a new plan. mapOldToNew is used in pasting