|
SAP2Java 1.0.3 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sap.bapi.mapper.ReflectHelper
This class is used for mapping the java classes and R3 tables/structures/ input/output values.
Constructor Summary | |
ReflectHelper()
|
Method Summary | |
java.lang.String |
getAlias(java.lang.String name)
Get the name of the table based on the alias value. |
void |
invokeMethod(java.lang.reflect.Method m,
java.lang.String type,
java.lang.String value,
java.lang.Object obj)
Method invokeMethod. |
java.lang.Object |
mapComplexType(com.sap.mw.jco.JCO.Structure structure)
Method mapComplexType. |
void |
mapInterfaces(java.lang.String fname,
com.sap.mw.jco.JCO.ParameterList input,
com.sap.mw.jco.JCO.ParameterList output,
com.sap.mw.jco.JCO.ParameterList tables,
java.lang.Object[] inp,
java.lang.Object[] vals)
Maps the Java Objects to Function module Import/Table parameters. |
void |
mapInterfaces(java.lang.String fname,
com.sap.mw.jco.JCO.ParameterList input,
com.sap.mw.jco.JCO.ParameterList output,
com.sap.mw.jco.JCO.ParameterList tables,
java.lang.Object[] inp,
java.lang.Object[] vals,
java.lang.Object[] outp)
Maps the Java Objects to Function module Import/Export/Table parameters. |
void |
setAlias(java.lang.String name,
java.lang.String value)
Sets an alias name for the tables. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReflectHelper()
Method Detail |
public void mapInterfaces(java.lang.String fname, com.sap.mw.jco.JCO.ParameterList input, com.sap.mw.jco.JCO.ParameterList output, com.sap.mw.jco.JCO.ParameterList tables, java.lang.Object[] inp, java.lang.Object[] vals, java.lang.Object[] outp) throws MappingException
fname
- - Function Nameinput
- - Input ParameterListoutput
- - Output ParameterListtables
- - Table ParameterListinp
- - Array of Input objectsvals
- - Array of Table objectsoutp
- - Array of Output Objects
MappingException
public void mapInterfaces(java.lang.String fname, com.sap.mw.jco.JCO.ParameterList input, com.sap.mw.jco.JCO.ParameterList output, com.sap.mw.jco.JCO.ParameterList tables, java.lang.Object[] inp, java.lang.Object[] vals) throws MappingException
fname
- - Function Nameinput
- - Input ParameterListoutput
- - Output ParameterListtables
- - Table ParameterListinp
- - Array of Input objectsvals
- - Array of Table objects
MappingException
public void invokeMethod(java.lang.reflect.Method m, java.lang.String type, java.lang.String value, java.lang.Object obj) throws MappingException
m
- - Method nametype
- - Type of the parametervalue
- - Value of the parameterobj
- - Object on which the method is to be invoked
MappingException
public java.lang.Object mapComplexType(com.sap.mw.jco.JCO.Structure structure) throws MappingException
structure
- - JCO.Structure object
MappingException
public void setAlias(java.lang.String name, java.lang.String value)
name
- - Name of the aliasvalue
- - Name of the tablepublic java.lang.String getAlias(java.lang.String name)
name
- - Name of the alias
|
SAP2Java 1.0.3 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |