|
JMMF API pre-release v0.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--fr.umlv.jmmf.reflect.RequestObject
MUST BE TRANSFERED IN THE UTIL PACKAGE !!!
| Constructor Summary | |
protected |
RequestObject()
default constructor. |
| Method Summary | |
java.lang.Object[] |
getParameters()
get parameters of the requested method. |
java.lang.Class[] |
getParameterTypes()
get parameter type of the requested method. |
protected void |
init(java.lang.Object[] args,
java.lang.Class[] types)
init all fields. |
void |
insertParameter(java.lang.Object arg,
java.lang.Class type,
int index)
insert a parameter and it's type into the parameter list. |
void |
setParameters(java.lang.Object[] args)
set parameters of the requested method. |
void |
setParameters(java.lang.Object[] args,
java.lang.Class[] types)
set the arguments of the requested method. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
protected RequestObject()
| Method Detail |
protected void init(java.lang.Object[] args,
java.lang.Class[] types)
public java.lang.Object[] getParameters()
setParameters(Object[],Class[]),
getParameterTypes()public java.lang.Class[] getParameterTypes()
getParameters()public void setParameters(java.lang.Object[] args)
args - an array of object that contains the new parameters
of the requested method.setParameters(Object[],Class[]),
getParameters()
public void setParameters(java.lang.Object[] args,
java.lang.Class[] types)
args - an array of object that contains the new parameters
of the requested method.types - an array of class that contains the types of the
new parameters.getParameters(),
getParameterTypes()
public void insertParameter(java.lang.Object arg,
java.lang.Class type,
int index)
arg - parameter value.type - type of the parameter.index - must be in range [0..parameters.length].
|
JMMF API pre-release v0.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||