Package jadex.bdi.model
Class MBody
java.lang.Object
jadex.bdi.model.MBody
The plan mbody.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.common.MethodInfoThe aborted method cached for speed.protected jadex.common.MethodInfoThe body method cached for speed.protected jadex.common.ClassInfoThe body as seperate class.protected StringThe body as component type.protected jadex.common.MethodInfoThe precondition method cached for speed.protected jadex.common.MethodInfoThe failed method cached for speed.protected jadex.common.ClassInfoThe parameter mapper.protected jadex.common.MethodInfoThe body as seperate class.protected static final jadex.common.MethodInfoprotected jadex.common.MethodInfoThe passed method cached for speed.protected jadex.common.MethodInfoThe precondition method cached for speed.protected StringThe body as required service.protected StringThe body as required service. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjadex.common.MethodInfojadex.common.MethodInfojadex.common.ClassInfogetClazz()Get the clazz.Get the component.jadex.common.MethodInfojadex.common.MethodInfointGet the line number of the declaration.jadex.common.ClassInfoGet the mapperclass.jadex.common.MethodInfoGet the method.static jadex.common.MethodInfogetMethod(Class<?> body, Class<? extends Annotation> type, ClassLoader cl) jadex.common.MethodInfojadex.common.MethodInfoGet the servicemethodname.Get the servicename.voidsetClazz(jadex.common.ClassInfo clazz) Set the clazz.voidsetComponent(String component) Set the component.voidsetMapperclass(jadex.common.ClassInfo mapperclass) Set the mapperclass.voidsetMethod(jadex.common.MethodInfo method) Set the method.voidsetServiceMethodName(String servicemethodname) Set the servicemethodname.voidsetServiceName(String servicename) Set the servicename.
-
Field Details
-
MI_NOTFOUND
protected static final jadex.common.MethodInfo MI_NOTFOUND -
method
protected jadex.common.MethodInfo methodThe body as seperate class. -
clazz
protected jadex.common.ClassInfo clazzThe body as seperate class. -
servicename
The body as required service. -
servicemethodname
The body as required service. -
mapperclass
protected jadex.common.ClassInfo mapperclassThe parameter mapper. -
component
The body as component type. -
bodymethod
protected volatile jadex.common.MethodInfo bodymethodThe body method cached for speed. -
passedmethod
protected volatile jadex.common.MethodInfo passedmethodThe passed method cached for speed. -
failedmethod
protected volatile jadex.common.MethodInfo failedmethodThe failed method cached for speed. -
abortedmethod
protected volatile jadex.common.MethodInfo abortedmethodThe aborted method cached for speed. -
preconditionmethod
protected volatile jadex.common.MethodInfo preconditionmethodThe precondition method cached for speed. -
contextconditionmethod
protected volatile jadex.common.MethodInfo contextconditionmethodThe precondition method cached for speed.
-
-
Constructor Details
-
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
Get the servicename.- Returns:
- The servicename.
-
setServiceName
Set the servicename.- Parameters:
servicename- The servicename to set.
-
getServiceMethodName
Get the servicemethodname.- Returns:
- The servicemethodname.
-
setServiceMethodName
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
Get the component.- Returns:
- The component.
-
setComponent
Set the component.- Parameters:
component- The component to set.
-
getBodyMethod
-
getPassedMethod
-
getFailedMethod
-
getAbortedMethod
-
getPreconditionMethod
-
getContextConditionMethod
-
getMethod
public static jadex.common.MethodInfo getMethod(Class<?> body, Class<? extends Annotation> type, ClassLoader cl) -
getLineNumber
Get the line number of the declaration.
-