Package jadex.bdiv3.model
Class MBody
- java.lang.Object
-
- jadex.bdiv3.model.MBody
-
public class MBody extends java.lang.ObjectThe plan mbody.
-
-
Field Summary
Fields Modifier and Type Field Description protected MethodInfoabortedmethodThe aborted method cached for speed.protected MethodInfobodymethodThe body method cached for speed.protected ClassInfoclazzThe body as seperate class.protected java.lang.StringcomponentThe body as component type.protected MethodInfocontextconditionmethodThe precondition method cached for speed.protected MethodInfofailedmethodThe failed method cached for speed.protected ClassInfomapperclassThe parameter mapper.protected MethodInfomethodThe body as seperate class.protected static MethodInfoMI_NOTFOUNDprotected MethodInfopassedmethodThe passed method cached for speed.protected MethodInfopreconditionmethodThe precondition method cached for speed.protected java.lang.StringservicemethodnameThe body as required service.protected java.lang.StringservicenameThe body as required service.
-
Constructor Summary
Constructors Constructor Description MBody()Bean Constructor.MBody(MethodInfo method, ClassInfo clazz, java.lang.String servicename, java.lang.String servicemethodname, ClassInfo mapperclass, java.lang.String component)Create a new mbody.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodInfogetAbortedMethod(java.lang.ClassLoader cl)MethodInfogetBodyMethod(java.lang.ClassLoader cl)ClassInfogetClazz()Get the clazz.java.lang.StringgetComponent()Get the component.MethodInfogetContextConditionMethod(java.lang.ClassLoader cl)MethodInfogetFailedMethod(java.lang.ClassLoader cl)intgetLineNumber(java.lang.ClassLoader cl)Get the line number of the declaration.ClassInfogetMapperClass()Get the mapperclass.MethodInfogetMethod()Get the method.static MethodInfogetMethod(java.lang.Class<?> body, java.lang.Class<? extends java.lang.annotation.Annotation> type, java.lang.ClassLoader cl)MethodInfogetPassedMethod(java.lang.ClassLoader cl)MethodInfogetPreconditionMethod(java.lang.ClassLoader cl)java.lang.StringgetServiceMethodName()Get the servicemethodname.java.lang.StringgetServiceName()Get the servicename.voidsetClazz(ClassInfo clazz)Set the clazz.voidsetComponent(java.lang.String component)Set the component.voidsetMapperclass(ClassInfo mapperclass)Set the mapperclass.voidsetMethod(MethodInfo method)Set the method.voidsetServiceMethodName(java.lang.String servicemethodname)Set the servicemethodname.voidsetServiceName(java.lang.String servicename)Set the servicename.
-
-
-
Field Detail
-
MI_NOTFOUND
protected static final MethodInfo MI_NOTFOUND
-
method
protected MethodInfo method
The body as seperate class.
-
clazz
protected ClassInfo clazz
The body as seperate class.
-
servicename
protected java.lang.String servicename
The body as required service.
-
servicemethodname
protected java.lang.String servicemethodname
The body as required service.
-
mapperclass
protected ClassInfo mapperclass
The parameter mapper.
-
component
protected java.lang.String component
The body as component type.
-
bodymethod
protected volatile MethodInfo bodymethod
The body method cached for speed.
-
passedmethod
protected volatile MethodInfo passedmethod
The passed method cached for speed.
-
failedmethod
protected volatile MethodInfo failedmethod
The failed method cached for speed.
-
abortedmethod
protected volatile MethodInfo abortedmethod
The aborted method cached for speed.
-
preconditionmethod
protected volatile MethodInfo preconditionmethod
The precondition method cached for speed.
-
contextconditionmethod
protected volatile MethodInfo contextconditionmethod
The precondition method cached for speed.
-
-
Constructor Detail
-
MBody
public MBody()
Bean Constructor.
-
MBody
public MBody(MethodInfo method, ClassInfo clazz, java.lang.String servicename, java.lang.String servicemethodname, ClassInfo mapperclass, java.lang.String component)
Create a new mbody.
-
-
Method Detail
-
getMethod
public MethodInfo getMethod()
Get the method.- Returns:
- The method.
-
setMethod
public void setMethod(MethodInfo method)
Set the method.- Parameters:
method- The method to set.
-
getClazz
public ClassInfo getClazz()
Get the clazz.- Returns:
- The clazz.
-
setClazz
public void setClazz(ClassInfo clazz)
Set the clazz.- Parameters:
clazz- The clazz to set.
-
getServiceName
public java.lang.String getServiceName()
Get the servicename.- Returns:
- The servicename.
-
setServiceName
public void setServiceName(java.lang.String servicename)
Set the servicename.- Parameters:
servicename- The servicename to set.
-
getServiceMethodName
public java.lang.String getServiceMethodName()
Get the servicemethodname.- Returns:
- The servicemethodname.
-
setServiceMethodName
public void setServiceMethodName(java.lang.String servicemethodname)
Set the servicemethodname.- Parameters:
servicemethodname- The servicemethodname to set.
-
getMapperClass
public ClassInfo getMapperClass()
Get the mapperclass.- Returns:
- The mapperclass.
-
setMapperclass
public void setMapperclass(ClassInfo mapperclass)
Set the mapperclass.- Parameters:
mapperclass- The mapperclass to set.
-
getComponent
public java.lang.String getComponent()
Get the component.- Returns:
- The component.
-
setComponent
public void setComponent(java.lang.String component)
Set the component.- Parameters:
component- The component to set.
-
getBodyMethod
public MethodInfo getBodyMethod(java.lang.ClassLoader cl)
-
getPassedMethod
public MethodInfo getPassedMethod(java.lang.ClassLoader cl)
-
getFailedMethod
public MethodInfo getFailedMethod(java.lang.ClassLoader cl)
-
getAbortedMethod
public MethodInfo getAbortedMethod(java.lang.ClassLoader cl)
-
getPreconditionMethod
public MethodInfo getPreconditionMethod(java.lang.ClassLoader cl)
-
getContextConditionMethod
public MethodInfo getContextConditionMethod(java.lang.ClassLoader cl)
-
getMethod
public static MethodInfo getMethod(java.lang.Class<?> body, java.lang.Class<? extends java.lang.annotation.Annotation> type, java.lang.ClassLoader cl)
-
getLineNumber
public int getLineNumber(java.lang.ClassLoader cl)
Get the line number of the declaration.
-
-