com.sap.mw.jco

Class JCO.Structure

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

public static class JCO.Structure
extends JCO.Record
implements Cloneable, Serializable

Class that encapsulates a composite data structure.

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.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
  JCO.Structure(IMetaData meta_data)
          Creates an instance of the structure with a layout as specified by the IMetaData argument
protected JCO.Structure(int rec_type, IMetaData meta_data)
          Creates an instance of the structure with a layout as specified by the the IMetaData argument
  JCO.Structure(JCO.Structure value)
          Creates an new instance of a structure which has the same layout and contents as the structure argument.
protected JCO.Structure(JCO.Table value)
          Creates an new instance of a structure which has the same layout as the table argument.
protected JCO.Structure(JCO.Table value, int row)
          Creates an new instance of a structure which has the same layout as the table argument.
  JCO.Structure(String name)
          Creates an instance of the structure
 
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.Structure

public JCO.Structure(String name)
Creates an instance of the structure

Parameters:
name - the name of the structure

JCO.Structure

public JCO.Structure(IMetaData meta_data)
Creates an instance of the structure with a layout as specified by the IMetaData argument

Parameters:
meta_data - the layout of the structure

JCO.Structure

protected JCO.Structure(int rec_type,
                        IMetaData meta_data)
Creates an instance of the structure with a layout as specified by the the IMetaData argument

Parameters:
rec_type - the type of the structure (e.g. the special type SEGMENT when used for IDocs)
meta_data - the layout of the structure

JCO.Structure

public JCO.Structure(JCO.Structure value)
Creates an new instance of a structure which has the same layout and contents as the structure argument.

Parameters:
value - the initial value of the structure.

JCO.Structure

protected JCO.Structure(JCO.Table value)
Creates an new instance of a structure which has the same layout as the table argument. In addition the structure will be filled with the data from the first row of the table.

Parameters:
value - the initial value of the structure.

JCO.Structure

protected JCO.Structure(JCO.Table value,
                        int row)
Creates an new instance of a structure which has the same layout as the table argument. In addition the structure will be filled with the data from the specified row of the table.

Parameters:
value - the table from with to take the layout and the data
row - the row of the table from which to copy the data


Copyright 2006 SAP AG Complete Copyright Notice