Package jadex.bdiv3x.runtime
Class PlanbaseWrapper
- java.lang.Object
 - 
- jadex.bdiv3x.runtime.PlanbaseWrapper
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PlanbaseWrapper(IPlanbase planbase, java.lang.String prefix)Create a plan base wrapper. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPlancreatePlan(MPlan mplan)Create a plan instance.MElementgetModelElement()Get the model element.IPlan[]getPlans()Get all running plans of this planbase.IPlan[]getPlans(java.lang.String type)Get all plans of a specified type (=model element name). 
 - 
 
- 
- 
Field Detail
- 
planbase
protected IPlanbase planbase
The flat plan base. 
- 
prefix
protected java.lang.String prefix
The full capability prefix. 
 - 
 
- 
Constructor Detail
- 
PlanbaseWrapper
public PlanbaseWrapper(IPlanbase planbase, java.lang.String prefix)
Create a plan base wrapper. 
 - 
 
- 
Method Detail
- 
getModelElement
public MElement getModelElement()
Get the model element.- Specified by:
 getModelElementin interfaceIElement- Returns:
 - The model element.
 
 
- 
getPlans
public IPlan[] getPlans()
Get all running plans of this planbase. 
- 
getPlans
public IPlan[] getPlans(java.lang.String type)
Get all plans of a specified type (=model element name). 
- 
createPlan
public IPlan createPlan(MPlan mplan)
Create a plan instance.- Specified by:
 createPlanin interfaceIPlanbase
 
 - 
 
 -