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