com.sap.mw.jco

Class JCO.Response

java.lang.Object
  extended bycom.sap.mw.jco.JCO.MetaData
      extended bycom.sap.mw.jco.JCO.Record
          extended bycom.sap.mw.jco.JCO.ParameterList
              extended bycom.sap.mw.jco.JCO.Response
All Implemented Interfaces:
Cloneable, IMetaData, Serializable
Enclosing class:
JCO

public static class JCO.Response
extends JCO.ParameterList
implements Cloneable, Serializable

A class that encapsulates a response

Since:
JCo 2.0
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.sap.mw.jco.JCO.Record
JCO.Record.Type1Record, JCO.Record.XMLReader, JCO.Record.XMLWriter
 
Nested classes inherited from class com.sap.mw.jco.JCO.MetaData
JCO.MetaData.Type1Data
 
Field Summary
 
Fields inherited from class com.sap.mw.jco.JCO.ParameterList
dependant_meta_data, exception_list
 
Fields inherited from class com.sap.mw.jco.JCO.Record
data, delta, modified, num_rows, odata, opcode, PARAMETER, rec_type, REQUEST, RESPONSE, row, row_length, SEGMENT, STRUCTURE, TABLE, type1_record
 
Fields inherited from class com.sap.mw.jco.JCO.MetaData
blength, boffset, decimals, defaults, description, extended_field_meta_data, flags, hash_of_indices, last_active_timestamp, length, name, num_fields, num_odata, offset, oindex, PRINT_HEADER_ALL, PRINT_HEADER_DECIMALS, PRINT_HEADER_DEFAULT, PRINT_HEADER_INTERNAL_LENGTH, PRINT_HEADER_INTERNAL_OFFSET, PRINT_HEADER_LENGTH, PRINT_HEADER_NAME, PRINT_HEADER_OFFSET, PRINT_HEADER_TYPE, rec_name, tab_length, tab_meta, type, type_handle, type_name, type1_data, unicode_type
 
Fields inherited from interface com.sap.mw.jco.IMetaData
EXPORT_PARAMETER, IMPORT_PARAMETER, INACTIVE_PARAMETER, NESTED_TYPE1_STRUCTURE, OPTIONAL_PARAMETER, TYPE_BCD, TYPE_BYTE, TYPE_CHAR, TYPE_DATE, TYPE_EXCEPTION, TYPE_FLOAT, TYPE_INT, TYPE_INT1, TYPE_INT2, TYPE_INVALID, TYPE_ITAB, TYPE_NUM, TYPE_STRING, TYPE_STRUCTURE, TYPE_TABLE, TYPE_TIME, TYPE_XSTRING, UNINITIALIZED, UNINITIALIZED_PARAMETER
 
Constructor Summary
protected JCO.Response(IMetaData response_meta_data, IMetaData request_meta_data, JCO.AbapException[] exception_list)
          Creates an instance of a parameter list
protected JCO.Response(String name, JCO.AbapException[] exception_list)
          Creates an instance of a parameter list
 
Method Summary
 JCO.AbapException getException(String key)
          Returns the ABAP exception for the specified key
 JCO.AbapException[] getExceptionList()
          Returns the ABAP exception list
 
Methods inherited from class com.sap.mw.jco.JCO.ParameterList
appendValue, appendValue, appendValue, appendValue, appendValue, appendValue, appendValue, appendValue, appendValue, appendValue, appendValue, appendValue, dumpContent, setActive, setActive
 
Methods inherited from class com.sap.mw.jco.JCO.Record
addInfo, checkIfInitialized, checkRowCapacity, clear, clone, copyContent, copyFrom, createConversionException, createConversionException, encodeGENERIC, ensureBufferCapacity, equals, fields, finalize, fromXML, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBinaryStream, getBinaryStream, getByte, getByte, getByteArray, getByteArray, getChar, getChar, getCharacterStream, getCharacterStream, getCharArray, getCharArray, getClassNameOfValue, getClassNameOfValue, getDataBuffer, getDataBufferOffset, getDataBufferRowLength, getDate, getDate, getDouble, getDouble, getField, getField, getFloat, getFloat, getHTMLString, getInt, getInt, getLong, getLong, getShort, getShort, getString, getString, getStructure, getStructure, getTable, getTable, getTime, getTime, getValue, getValue, hashCode, initializeRow, internalSize, printHTML, printHTML, printHTML, readXML, readXML, setDefault, setModified, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, toXML, toXML, toXML, writeHTML, writeHTML, writeXML, writeXML, writeXML, writeXML
 
Methods inherited from class com.sap.mw.jco.JCO.MetaData
addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, copy, getCapacity, getDataBufferLength, getDecimals, getDecimals, getDefault, getDefault, getDescription, getDescription, getExtendedFieldMetaData, getExtendedFieldMetaData, getFieldCount, getFlags, getFlags, getInternalLength, getInternalLength, getLength, getLength, getLineTypeName, getMetaData, getMetaData, getMetaData, getName, getName, getNumFields, getObjectId, getOffset, getOffset, getTabLength, getTabName, getTabName, getType, getType, getTypeAsString, getTypeAsString, getUnicodeType, getUnicodeTypeAsString, hasField, indexOf, isActive, isActive, isException, isException, isExport, isExport, isImport, isImport, isInitialized, isInitialized, isNestedType1Structure, isNestedType1Structure, isNestedType1Structure, isOptional, isOptional, isStructure, isStructure, isTable, isTable, printHTML, printHTML, setDataBufferLength, setDataBufferOffset, setExtendedFieldMetaData, setExtendedFieldMetaData, setFlags, setName, setNestedType1Structure, setTabLength, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCO.Response

protected JCO.Response(String name,
                       JCO.AbapException[] exception_list)
Creates an instance of a parameter list


JCO.Response

protected JCO.Response(IMetaData response_meta_data,
                       IMetaData request_meta_data,
                       JCO.AbapException[] exception_list)
Creates an instance of a parameter list

Method Detail

getExceptionList

public JCO.AbapException[] getExceptionList()
Returns the ABAP exception list

Overrides:
getExceptionList in class JCO.ParameterList
Returns:
the ABAP exception list or null if none specified

getException

public JCO.AbapException getException(String key)
Returns the ABAP exception for the specified key

Overrides:
getException in class JCO.ParameterList
Returns:
the ABAP exception for the specified key or null if not defined


Copyright 2006 SAP AG Complete Copyright Notice