public class BDIModel extends MicroModel implements IBDIModel
MicroModel.ServiceInjectionInfo
Modifier and Type | Field and Description |
---|---|
protected MCapability |
mcapa
The capability.
|
protected java.util.List<Tuple2<FieldInfo,BDIModel>> |
subcapabilities
The subcapabilities.
|
agentinjections, agentmethods, argumentinjections, classloader, featureinjections, parentinjections, pojoclass, resultinjections, servicecalls, serviceinjections
Constructor and Description |
---|
BDIModel(IModelInfo modelinfo,
MCapability mcapa)
Create a new model.
|
Modifier and Type | Method and Description |
---|---|
void |
addSubcapability(FieldInfo field,
BDIModel model)
Add a subcapability field.
|
MCapability |
getCapability()
Get the mcapa.
|
Tuple2<FieldInfo,BDIModel>[] |
getSubcapabilities()
Get the agent injection fields.
|
void |
setCapability(MCapability mcapa)
Set the mcapa.
|
addAgentInjection, addArgumentInjection, addFeatureInjection, addParentInjection, addResultInjection, addServiceCall, addServiceInjection, addServiceInjection, addServiceInjection, getAgentInjections, getAgentMethod, getArgumentInjectionNames, getArgumentInjections, getClassloader, getFeatureInjections, getParentInjections, getPojoClass, getResultInjection, getResultInjectionNames, getServiceCalls, getServiceInjectionNames, getServiceInjections, setAgentMethod, setClassloader, setPojoClass, setServiceCalls
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModelInfo
protected java.util.List<Tuple2<FieldInfo,BDIModel>> subcapabilities
protected MCapability mcapa
public BDIModel(IModelInfo modelinfo, MCapability mcapa)
public MCapability getCapability()
getCapability
in interface IBDIModel
public void setCapability(MCapability mcapa)
mcapa
- The mcapa to set.public void addSubcapability(FieldInfo field, BDIModel model)
field
- The field.