Package jadex.bdiv3.model
Class BDIModel
- java.lang.Object
-
- jadex.kernelbase.CacheableKernelModel
-
- jadex.micro.MicroModel
-
- jadex.bdiv3.model.BDIModel
-
- All Implemented Interfaces:
IBDIModel
,ICacheableModel
public class BDIModel extends MicroModel implements IBDIModel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.micro.MicroModel
MicroModel.ServiceInjectionInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected MCapability
mcapa
The capability.protected java.util.List<Tuple2<FieldInfo,BDIModel>>
subcapabilities
The subcapabilities.-
Fields inherited from class jadex.micro.MicroModel
agentmethods, classloader, ii, pojoclass
-
Fields inherited from class jadex.kernelbase.CacheableKernelModel
lastchecked, lastmodified, modelinfo
-
-
Constructor Summary
Constructors Constructor Description BDIModel(IModelInfo modelinfo, MCapability mcapa)
Create a new model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class jadex.micro.MicroModel
addAgentInjection, addArgumentInjection, addFeatureInjection, addParentInjection, addResultInjection, addServiceCall, getAgentInjections, getAgentMethod, getArgumentInjectionNames, getArgumentInjections, getClassloader, getFeatureInjections, getInjectionInfoHolder, getParentInjections, getPojoClass, getResultInjection, getResultInjectionNames, getServiceCalls, getServiceInjectionNames, getServiceInjections, setAgentMethod, setClassloader, setPojoClass, setServiceCalls
-
Methods inherited from class jadex.kernelbase.CacheableKernelModel
getFilename, getLastChecked, getLastModified, getModelInfo, setLastChecked, setLastModified
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.bdiv3.model.IBDIModel
getModelInfo
-
-
-
-
Field Detail
-
subcapabilities
protected java.util.List<Tuple2<FieldInfo,BDIModel>> subcapabilities
The subcapabilities.
-
mcapa
protected MCapability mcapa
The capability.
-
-
Constructor Detail
-
BDIModel
public BDIModel(IModelInfo modelinfo, MCapability mcapa)
Create a new model.
-
-
Method Detail
-
getCapability
public MCapability getCapability()
Get the mcapa.- Specified by:
getCapability
in interfaceIBDIModel
- Returns:
- The mcapa.
-
setCapability
public void setCapability(MCapability mcapa)
Set the mcapa.- Parameters:
mcapa
- The mcapa to set.
-
addSubcapability
public void addSubcapability(FieldInfo field, BDIModel model)
Add a subcapability field.- Parameters:
field
- The field.
-
-