Package jadex.bdiv3.model
Class MBody
- java.lang.Object
-
- jadex.bdiv3.model.MBody
-
public class MBody extends java.lang.Object
The plan mbody.
-
-
Field Summary
Fields Modifier and Type Field Description protected MethodInfo
abortedmethod
The aborted method cached for speed.protected MethodInfo
bodymethod
The body method cached for speed.protected ClassInfo
clazz
The body as seperate class.protected java.lang.String
component
The body as component type.protected MethodInfo
contextconditionmethod
The precondition method cached for speed.protected MethodInfo
failedmethod
The failed method cached for speed.protected ClassInfo
mapperclass
The parameter mapper.protected MethodInfo
method
The body as seperate class.protected static MethodInfo
MI_NOTFOUND
protected MethodInfo
passedmethod
The passed method cached for speed.protected MethodInfo
preconditionmethod
The precondition method cached for speed.protected java.lang.String
servicemethodname
The body as required service.protected java.lang.String
servicename
The 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 MethodInfo
getAbortedMethod(java.lang.ClassLoader cl)
MethodInfo
getBodyMethod(java.lang.ClassLoader cl)
ClassInfo
getClazz()
Get the clazz.java.lang.String
getComponent()
Get the component.MethodInfo
getContextConditionMethod(java.lang.ClassLoader cl)
MethodInfo
getFailedMethod(java.lang.ClassLoader cl)
int
getLineNumber(java.lang.ClassLoader cl)
Get the line number of the declaration.ClassInfo
getMapperClass()
Get the mapperclass.MethodInfo
getMethod()
Get the method.static MethodInfo
getMethod(java.lang.Class<?> body, java.lang.Class<? extends java.lang.annotation.Annotation> type, java.lang.ClassLoader cl)
MethodInfo
getPassedMethod(java.lang.ClassLoader cl)
MethodInfo
getPreconditionMethod(java.lang.ClassLoader cl)
java.lang.String
getServiceMethodName()
Get the servicemethodname.java.lang.String
getServiceName()
Get the servicename.void
setClazz(ClassInfo clazz)
Set the clazz.void
setComponent(java.lang.String component)
Set the component.void
setMapperclass(ClassInfo mapperclass)
Set the mapperclass.void
setMethod(MethodInfo method)
Set the method.void
setServiceMethodName(java.lang.String servicemethodname)
Set the servicemethodname.void
setServiceName(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.
-
-