Class BDIModel

java.lang.Object
jadex.model.impl.CacheableKernelModel
jadex.micro.MicroModel
jadex.bdi.model.BDIModel
All Implemented Interfaces:
IBDIModel, jadex.model.ICacheableModel

public class BDIModel extends jadex.micro.MicroModel implements IBDIModel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected MCapability
    The capability.
    protected List<jadex.common.Tuple2<jadex.common.FieldInfo,BDIModel>>
    The subcapabilities.

    Fields inherited from class jadex.micro.MicroModel

    agentmethods, ii, pojoclass

    Fields inherited from class jadex.model.impl.CacheableKernelModel

    lastchecked, lastmodified, modelinfo
  • Constructor Summary

    Constructors
    Constructor
    Description
    BDIModel(jadex.model.modelinfo.IModelInfo modelinfo, MCapability mcapa)
    Create a new model.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addSubcapability(jadex.common.FieldInfo field, BDIModel model)
    Add a subcapability field.
    Get the mcapa.
    jadex.common.Tuple2<jadex.common.FieldInfo,BDIModel>[]
    Get the agent injection fields.
    void
    Set the mcapa.

    Methods inherited from class jadex.micro.MicroModel

    addAgentInjection, addArgumentInjection, addFeatureInjection, addParentInjection, addResultInjection, addServiceCall, getAgentInjections, getAgentMethod, getArgumentInjectionNames, getArgumentInjections, getFeatureInjections, getInjectionInfoHolder, getParentInjections, getPojoClass, getResultInjection, getResultInjectionNames, getServiceCalls, setAgentMethod, setPojoClass, setServiceCalls

    Methods inherited from class jadex.model.impl.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.bdi.model.IBDIModel

    getModelInfo
  • Field Details

    • subcapabilities

      protected List<jadex.common.Tuple2<jadex.common.FieldInfo,BDIModel>> subcapabilities
      The subcapabilities.
    • mcapa

      protected MCapability mcapa
      The capability.
  • Constructor Details

    • BDIModel

      public BDIModel(jadex.model.modelinfo.IModelInfo modelinfo, MCapability mcapa)
      Create a new model.
  • Method Details

    • getCapability

      public MCapability getCapability()
      Get the mcapa.
      Specified by:
      getCapability in interface IBDIModel
      Returns:
      The mcapa.
    • setCapability

      public void setCapability(MCapability mcapa)
      Set the mcapa.
      Parameters:
      mcapa - The mcapa to set.
    • addSubcapability

      public void addSubcapability(jadex.common.FieldInfo field, BDIModel model)
      Add a subcapability field.
      Parameters:
      field - The field.
    • getSubcapabilities

      public jadex.common.Tuple2<jadex.common.FieldInfo,BDIModel>[] getSubcapabilities()
      Get the agent injection fields.
      Returns:
      The fields.