Package jadex.bdi.model
Class MConfiguration
java.lang.Object
jadex.bdi.model.MElement
jadex.bdi.model.MConfiguration
BDI configuration. The name is used to connect
it to the existing component configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<MConfigBeliefElement> The end beliefs.protected List
<MConfigParameterElement> The end events.protected List
<MConfigParameterElement> The end goals.protected List
<MConfigParameterElement> The end plans.protected List
<MConfigBeliefElement> The initial beliefs.The initial capabilities (capability name->initial configuration name).protected List
<MConfigParameterElement> The initial events.protected List
<MConfigParameterElement> The initial goals.protected List
<MConfigParameterElement> The initial plans.Fields inherited from class jadex.bdi.model.MElement
CAPABILITY_SEPARATOR, description, name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an end belief.void
Add an end event.void
Add an end goal.void
Add an end plan.void
Add an initial belief.void
addInitialCapability
(String name, String configuration) Add an initial capability.void
Add an initial event.void
Add an initial goal.void
Add an initial plan.Get the end beliefs.Get the end events.Get the end goals.Get the end plans.Get the initial beliefs.Get the initial capabilities.Get the initial events.Get the initial goals.Get the initial plans.void
setEndBeliefs
(List<MConfigBeliefElement> endbeliefs) Set the end beliefs.void
setEndEvents
(List<MConfigParameterElement> endevents) Set the end events.void
setEndGoals
(List<MConfigParameterElement> endgoals) Set the end goals.void
setEndPlans
(List<MConfigParameterElement> endplans) Set the end plans.void
setInitialBeliefs
(List<MConfigBeliefElement> initialbeliefs) Set the initial beliefs.void
setInitialEvents
(List<MConfigParameterElement> initialevents) Set the initial events.void
setInitialGoals
(List<MConfigParameterElement> initialgoals) Set the initial goals.void
setInitialPlans
(List<MConfigParameterElement> initialplans) Set the initial plans.Methods inherited from class jadex.bdi.model.MElement
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
-
Field Details
-
initialbeliefs
The initial beliefs. -
initialgoals
The initial goals. -
initialplans
The initial plans. -
initialevents
The initial events. -
endbeliefs
The end beliefs. -
endgoals
The end goals. -
endplans
The end plans. -
endevents
The end events. -
initialcapabilities
The initial capabilities (capability name->initial configuration name).
-
-
Constructor Details
-
MConfiguration
public MConfiguration()Bean Constructor. -
MConfiguration
-
-
Method Details
-
getInitialBeliefs
Get the initial beliefs.- Returns:
- The initial beliefs.
-
setInitialBeliefs
Set the initial beliefs.- Parameters:
initialbeliefs
- The initial beliefs to set.
-
addInitialBelief
Add an initial belief.- Parameters:
upex
- The expression.
-
getInitialGoals
Get the initial goals.- Returns:
- The initial goals.
-
setInitialGoals
Set the initial goals.- Parameters:
initialgoals
- The initial goals to set.
-
addInitialGoal
Add an initial goal.- Parameters:
upex
- The expression.
-
getInitialPlans
Get the initial plans.- Returns:
- The initial plans.
-
setInitialPlans
Set the initial plans.- Parameters:
initialplans
- The initial plans to set.
-
addInitialPlan
Add an initial plan.- Parameters:
upex
- The expression.
-
getInitialEvents
Get the initial events.- Returns:
- The initial events.
-
setInitialEvents
Set the initial events.- Parameters:
initialevents
- The initial events to set.
-
addInitialEvent
Add an initial event.- Parameters:
upex
- The expression.
-
getEndBeliefs
Get the end beliefs.- Returns:
- The end beliefs.
-
setEndBeliefs
Set the end beliefs.- Parameters:
endbeliefs
- The end beliefs to set.
-
addEndBelief
Add an end belief.- Parameters:
upex
- The expression.
-
getEndGoals
Get the end goals.- Returns:
- The end goals.
-
setEndGoals
Set the end goals.- Parameters:
endgoals
- The end goals to set.
-
addEndGoal
Add an end goal.- Parameters:
upex
- The expression.
-
getEndPlans
Get the end plans.- Returns:
- The end plans.
-
setEndPlans
Set the end plans.- Parameters:
endplans
- The end plans to set.
-
addEndPlan
Add an end plan.- Parameters:
upex
- The expression.
-
getEndEvents
Get the end events.- Returns:
- The end events.
-
setEndEvents
Set the end events.- Parameters:
endevents
- The end events to set.
-
addEndEvent
Add an end event.- Parameters:
upex
- The expression.
-
getInitialCapabilities
Get the initial capabilities. -
addInitialCapability
Add an initial capability.
-