Class MBody

java.lang.Object
jadex.bdi.model.MBody

public class MBody extends Object
The plan mbody.
  • Field Details

    • MI_NOTFOUND

      protected static final jadex.common.MethodInfo MI_NOTFOUND
    • method

      protected jadex.common.MethodInfo method
      The body as seperate class.
    • clazz

      protected jadex.common.ClassInfo clazz
      The body as seperate class.
    • servicename

      protected String servicename
      The body as required service.
    • servicemethodname

      protected String servicemethodname
      The body as required service.
    • mapperclass

      protected jadex.common.ClassInfo mapperclass
      The parameter mapper.
    • component

      protected String component
      The body as component type.
    • bodymethod

      protected volatile jadex.common.MethodInfo bodymethod
      The body method cached for speed.
    • passedmethod

      protected volatile jadex.common.MethodInfo passedmethod
      The passed method cached for speed.
    • failedmethod

      protected volatile jadex.common.MethodInfo failedmethod
      The failed method cached for speed.
    • abortedmethod

      protected volatile jadex.common.MethodInfo abortedmethod
      The aborted method cached for speed.
    • preconditionmethod

      protected volatile jadex.common.MethodInfo preconditionmethod
      The precondition method cached for speed.
    • contextconditionmethod

      protected volatile jadex.common.MethodInfo contextconditionmethod
      The precondition method cached for speed.
  • Constructor Details

    • MBody

      public MBody()
      Bean Constructor.
    • MBody

      public MBody(jadex.common.MethodInfo method, jadex.common.ClassInfo clazz, String servicename, String servicemethodname, jadex.common.ClassInfo mapperclass, String component)
      Create a new mbody.
  • Method Details

    • getMethod

      public jadex.common.MethodInfo getMethod()
      Get the method.
      Returns:
      The method.
    • setMethod

      public void setMethod(jadex.common.MethodInfo method)
      Set the method.
      Parameters:
      method - The method to set.
    • getClazz

      public jadex.common.ClassInfo getClazz()
      Get the clazz.
      Returns:
      The clazz.
    • setClazz

      public void setClazz(jadex.common.ClassInfo clazz)
      Set the clazz.
      Parameters:
      clazz - The clazz to set.
    • getServiceName

      public String getServiceName()
      Get the servicename.
      Returns:
      The servicename.
    • setServiceName

      public void setServiceName(String servicename)
      Set the servicename.
      Parameters:
      servicename - The servicename to set.
    • getServiceMethodName

      public String getServiceMethodName()
      Get the servicemethodname.
      Returns:
      The servicemethodname.
    • setServiceMethodName

      public void setServiceMethodName(String servicemethodname)
      Set the servicemethodname.
      Parameters:
      servicemethodname - The servicemethodname to set.
    • getMapperClass

      public jadex.common.ClassInfo getMapperClass()
      Get the mapperclass.
      Returns:
      The mapperclass.
    • setMapperclass

      public void setMapperclass(jadex.common.ClassInfo mapperclass)
      Set the mapperclass.
      Parameters:
      mapperclass - The mapperclass to set.
    • getComponent

      public String getComponent()
      Get the component.
      Returns:
      The component.
    • setComponent

      public void setComponent(String component)
      Set the component.
      Parameters:
      component - The component to set.
    • getBodyMethod

      public jadex.common.MethodInfo getBodyMethod(ClassLoader cl)
    • getPassedMethod

      public jadex.common.MethodInfo getPassedMethod(ClassLoader cl)
    • getFailedMethod

      public jadex.common.MethodInfo getFailedMethod(ClassLoader cl)
    • getAbortedMethod

      public jadex.common.MethodInfo getAbortedMethod(ClassLoader cl)
    • getPreconditionMethod

      public jadex.common.MethodInfo getPreconditionMethod(ClassLoader cl)
    • getContextConditionMethod

      public jadex.common.MethodInfo getContextConditionMethod(ClassLoader cl)
    • getMethod

      public static jadex.common.MethodInfo getMethod(Class<?> body, Class<? extends Annotation> type, ClassLoader cl)
    • getLineNumber

      public int getLineNumber(ClassLoader cl)
      Get the line number of the declaration.