Package jadex.bdi.model
Class MBody
java.lang.Object
jadex.bdi.model.MBody
The plan mbody.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.common.MethodInfo
The aborted method cached for speed.protected jadex.common.MethodInfo
The body method cached for speed.protected jadex.common.ClassInfo
The body as seperate class.protected String
The body as component type.protected jadex.common.MethodInfo
The precondition method cached for speed.protected jadex.common.MethodInfo
The failed method cached for speed.protected jadex.common.ClassInfo
The parameter mapper.protected jadex.common.MethodInfo
The body as seperate class.protected static final jadex.common.MethodInfo
protected jadex.common.MethodInfo
The passed method cached for speed.protected jadex.common.MethodInfo
The precondition method cached for speed.protected String
The body as required service.protected String
The body as required service. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjadex.common.MethodInfo
jadex.common.MethodInfo
jadex.common.ClassInfo
getClazz()
Get the clazz.Get the component.jadex.common.MethodInfo
jadex.common.MethodInfo
int
Get the line number of the declaration.jadex.common.ClassInfo
Get the mapperclass.jadex.common.MethodInfo
Get the method.static jadex.common.MethodInfo
getMethod
(Class<?> body, Class<? extends Annotation> type, ClassLoader cl) jadex.common.MethodInfo
jadex.common.MethodInfo
Get the servicemethodname.Get the servicename.void
setClazz
(jadex.common.ClassInfo clazz) Set the clazz.void
setComponent
(String component) Set the component.void
setMapperclass
(jadex.common.ClassInfo mapperclass) Set the mapperclass.void
setMethod
(jadex.common.MethodInfo method) Set the method.void
setServiceMethodName
(String servicemethodname) Set the servicemethodname.void
setServiceName
(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.
-