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 MBody
body
The plan body.protected MCondition
contextcondition
The context condition.protected int
order
The declaration order for external plans in annotations.protected UnparsedExpression
precondition
The precondition.protected int
priority
The plan priority.protected MTrigger
trigger
The trigger.protected MTrigger
waitqueue
The 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 MBody
getBody()
Get the body.MCondition
getContextCondition()
Get the contextcondition.int
getOrder()
Get the declaration order.UnparsedExpression
getPrecondition()
Get the precondition.int
getPriority()
Get the priority.MTrigger
getTrigger()
Get the trigger.MTrigger
getWaitqueue()
Get the waitqueue.void
setBody(MBody body)
Set the body.void
setContextCondition(MCondition contextcondition)
The contextcondition to set.void
setOrder(int order)
Set the declaration ordervoid
setPrecondition(UnparsedExpression precondition)
Set the precondition.void
setPriority(int priority)
Set the priority.void
setTrigger(MTrigger trigger)
Set the trigger.void
setWaitqueue(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.
-
-