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 SummaryFields Modifier and Type Field Description protected MBodybodyThe plan body.protected MConditioncontextconditionThe context condition.protected UnparsedExpressionpreconditionThe precondition.protected intpriorityThe plan priority.protected MTriggertriggerThe trigger.protected MTriggerwaitqueueThe waitqueue trigger.- 
Fields inherited from class jadex.bdiv3.model.MParameterElementparameters
 - 
Fields inherited from class jadex.bdiv3.model.MElementCAPABILITY_SEPARATOR, description, name
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MBodygetBody()Get the body.MConditiongetContextCondition()Get the contextcondition.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.voidsetPrecondition(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.MParameterElementaddParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParameters
 - 
Methods inherited from class jadex.bdiv3.model.MElementequals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
 
- 
 
- 
- 
- 
Field Detail- 
triggerprotected MTrigger trigger The trigger.
 - 
waitqueueprotected MTrigger waitqueue The waitqueue trigger.
 - 
bodyprotected MBody body The plan body.
 - 
priorityprotected int priority The plan priority.
 - 
preconditionprotected UnparsedExpression precondition The precondition.
 - 
contextconditionprotected MCondition contextcondition The context condition.
 
- 
 - 
Method Detail- 
getBodypublic MBody getBody() Get the body.- Returns:
- The body.
 
 - 
setBodypublic void setBody(MBody body) Set the body.- Parameters:
- body- The body to set.
 
 - 
getTriggerpublic MTrigger getTrigger() Get the trigger.- Returns:
- The trigger.
 
 - 
setTriggerpublic void setTrigger(MTrigger trigger) Set the trigger.- Parameters:
- trigger- The trigger to set.
 
 - 
getWaitqueuepublic MTrigger getWaitqueue() Get the waitqueue.- Returns:
- The waitqueue.
 
 - 
setWaitqueuepublic void setWaitqueue(MTrigger waitqueue) Set the waitqueue.- Parameters:
- waitqueue- The waitqueue to set.
 
 - 
getPrioritypublic int getPriority() Get the priority.- Returns:
- The priority.
 
 - 
setPrioritypublic void setPriority(int priority) Set the priority.- Parameters:
- priority- The priority to set.
 
 - 
getPreconditionpublic UnparsedExpression getPrecondition() Get the precondition.
 - 
setPreconditionpublic void setPrecondition(UnparsedExpression precondition) Set the precondition.
 - 
getContextConditionpublic MCondition getContextCondition() Get the contextcondition.- Returns:
- The contextcondition
 
 - 
setContextConditionpublic void setContextCondition(MCondition contextcondition) The contextcondition to set.- Parameters:
- contextcondition- The contextcondition to set
 
 
- 
 
-