Package jadex.bdiv3.model
Class MPlan
- java.lang.Object
-
- jadex.bdiv3.model.MElement
-
- jadex.bdiv3.model.MParameterElement
-
- jadex.bdiv3.model.MPlan
-
public class MPlan extends MParameterElement
Modelelement for a plan.
-
-
Field Summary
Fields Modifier and Type Field Description protected MBodybodyThe plan body.protected MConditioncontextconditionThe context condition.protected intorderThe declaration order for external plans in annotations.protected UnparsedExpressionpreconditionThe precondition.protected intpriorityThe plan priority.protected MTriggertriggerThe trigger.protected MTriggerwaitqueueThe waitqueue trigger.-
Fields inherited from class jadex.bdiv3.model.MParameterElement
parameters
-
Fields inherited from class jadex.bdiv3.model.MElement
CAPABILITY_SEPARATOR, description, name
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MBodygetBody()Get the body.MConditiongetContextCondition()Get the contextcondition.intgetOrder()Get the declaration order.UnparsedExpressiongetPrecondition()Get the precondition.intgetPriority()Get the priority.MTriggergetTrigger()Get the trigger.MTriggergetWaitqueue()Get the waitqueue.voidsetBody(MBody body)Set the body.voidsetContextCondition(MCondition contextcondition)The contextcondition to set.voidsetOrder(int order)Set the declaration ordervoidsetPrecondition(UnparsedExpression precondition)Set the precondition.voidsetPriority(int priority)Set the priority.voidsetTrigger(MTrigger trigger)Set the trigger.voidsetWaitqueue(MTrigger waitqueue)Set the waitqueue.-
Methods inherited from class jadex.bdiv3.model.MParameterElement
addParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParameters
-
Methods inherited from class jadex.bdiv3.model.MElement
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
-
-
-
-
Field Detail
-
trigger
protected MTrigger trigger
The trigger.
-
waitqueue
protected MTrigger waitqueue
The waitqueue trigger.
-
body
protected MBody body
The plan body.
-
priority
protected int priority
The plan priority.
-
order
protected int order
The declaration order for external plans in annotations.
-
precondition
protected UnparsedExpression precondition
The precondition.
-
contextcondition
protected MCondition contextcondition
The context condition.
-
-
Method Detail
-
getBody
public MBody getBody()
Get the body.- Returns:
- The body.
-
setBody
public void setBody(MBody body)
Set the body.- Parameters:
body- The body to set.
-
getTrigger
public MTrigger getTrigger()
Get the trigger.- Returns:
- The trigger.
-
setTrigger
public void setTrigger(MTrigger trigger)
Set the trigger.- Parameters:
trigger- The trigger to set.
-
getWaitqueue
public MTrigger getWaitqueue()
Get the waitqueue.- Returns:
- The waitqueue.
-
setWaitqueue
public void setWaitqueue(MTrigger waitqueue)
Set the waitqueue.- Parameters:
waitqueue- The waitqueue to set.
-
getPriority
public int getPriority()
Get the priority.- Returns:
- The priority.
-
setPriority
public void setPriority(int priority)
Set the priority.- Parameters:
priority- The priority to set.
-
getPrecondition
public UnparsedExpression getPrecondition()
Get the precondition.
-
setPrecondition
public void setPrecondition(UnparsedExpression precondition)
Set the precondition.
-
getContextCondition
public MCondition getContextCondition()
Get the contextcondition.- Returns:
- The contextcondition
-
setContextCondition
public void setContextCondition(MCondition contextcondition)
The contextcondition to set.- Parameters:
contextcondition- The contextcondition to set
-
getOrder
public int getOrder()
Get the declaration order.- Returns:
- the order
-
setOrder
public void setOrder(int order)
Set the declaration order- Parameters:
order- the order to set.
-
-