|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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(String name)
Creates an instance of the function |
|
JCO.Function(String name,
JCO.ParameterList input,
JCO.ParameterList output,
JCO.ParameterList tables)
Creates an instance of the function |
|
| Method Summary | |
JCO.AbapException |
getException(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 |
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(String name)
Sets the function name |
void |
setTableParameterList(JCO.ParameterList table_parameters)
Sets the table parameters |
String |
toString()
Converts to a string representation |
void |
writeHTML(String html_filename)
Dump the function and all parameters and tables to the specified HTML file. |
void |
writeHTML(Writer writer)
Dump the function and all parameters and tables to the specified HTML file. |
protected void |
writeXML(OutputStream output_stream)
Dump the function and all parameters and tables to the specified output stream This method comes in handy for debugging purposes. |
void |
writeXML(String xml_filename)
Dump the function and all parameters and tables to the specified XML file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JCO.Function(String name)
name - the name of the function
public JCO.Function(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 parameters| Method Detail |
public String getName()
public void setName(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(String key)
public String toString()
public void writeHTML(String html_filename)
html_filename - the file to write to
JCO.Exception - thrown if something else went wrong
public void writeHTML(Writer writer)
throws IOException
writer - the stream to write to
IOException - thrown in case of an IO error
JCO.Exception - thrown if something else went wrongpublic void writeXML(String xml_filename)
xml_filename - the file to write to
JCO.Exception - thrown if something went wrong
protected void writeXML(OutputStream output_stream)
throws IOException
output_stream - the stream to dump the function to
IOException - thrown in case of an IO error
JCO.Exception - thrown if something else went wrong
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||