|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sap.mw.jco.JCO.Function
Class that represents a function. A function consists of name, an import parameter list, an export parameter list and a table parameter list.
Constructor Summary | |
JCO.Function(IFunctionTemplate template)
Creates an instance of the function from a template |
|
JCO.Function(java.lang.String name)
Creates an instance of the function |
|
JCO.Function(java.lang.String name,
JCO.ParameterList input,
JCO.ParameterList output,
JCO.ParameterList tables)
Creates an instance of the function |
Method Summary | |
JCO.AbapException |
getException(java.lang.String key)
Returns the ABAP exception for the specified key |
JCO.AbapException[] |
getExceptionList()
Returns the list of ABAP exceptions that can occur |
JCO.ParameterList |
getExportParameterList()
Returns the list of export parameters |
JCO.ParameterList |
getImportParameterList()
Returns the list import parameters |
java.lang.String |
getName()
Returns the function name |
JCO.ParameterList |
getTableParameterList()
Returns the list of table parameters |
void |
setExceptionList(JCO.AbapException[] exception_list)
Sets the ABAP exception list |
void |
setExportParameterList(JCO.ParameterList export_parameters)
Sets the export parameters |
void |
setImportParameterList(JCO.ParameterList import_parameters)
Sets the import parameters |
void |
setName(java.lang.String name)
Sets the function name |
void |
setTableParameterList(JCO.ParameterList table_parameters)
Sets the table parameters |
java.lang.String |
toString()
Converts to a string representation |
void |
writeHTML(java.lang.String html_filename)
Dump the function and all parameters and tables to the specified HTML file. |
void |
writeHTML(java.io.Writer writer)
Dump the function and all parameters and tables to the specified HTML file. |
void |
writeXML(java.lang.String xml_filename)
Dump the function and all parameters and tables to the specified XML file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JCO.Function(java.lang.String name)
name
- the name of the functionpublic JCO.Function(java.lang.String name, JCO.ParameterList input, JCO.ParameterList output, JCO.ParameterList tables)
name
- the name of the functioninput
- the list of import parametersoutput
- the list of export parameterstables
- the list of table parameterspublic JCO.Function(IFunctionTemplate template)
template
- the function template which completely specifies the function and its parametersMethod Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the functionpublic JCO.ParameterList getImportParameterList()
public void setImportParameterList(JCO.ParameterList import_parameters)
import_parameters
- the import parameterspublic JCO.ParameterList getExportParameterList()
public void setExportParameterList(JCO.ParameterList export_parameters)
export_parameters
- the export parameterspublic JCO.ParameterList getTableParameterList()
public void setTableParameterList(JCO.ParameterList table_parameters)
table_parameters
- the table parameterspublic JCO.AbapException[] getExceptionList()
public void setExceptionList(JCO.AbapException[] exception_list)
exception_list
- the exception listpublic JCO.AbapException getException(java.lang.String key)
public java.lang.String toString()
toString
in class java.lang.Object
public void writeHTML(java.lang.String html_filename)
html_filename
- the file to write toJCO.Exception
- thrown if something else went wrongpublic void writeHTML(java.io.Writer writer) throws java.io.IOException
writer
- the stream to write tojava.io.IOException
- thrown in case of an IO errorJCO.Exception
- thrown if something else went wrongpublic void writeXML(java.lang.String xml_filename)
xml_filename
- the file to write toJCO.Exception
- thrown if something went wrong
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |