com.sap.mw.jco

Class JCO.Record.Type1Record

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

protected class JCO.Record.Type1Record
extends Object
implements Cloneable, Serializable

See Also:
Serialized Form

Field Summary
protected  char[] data
          Buffer that holds the actual data, if this is a nested TYPE1 structure
protected  int row_length
          Length of a single row of data in chars, if this is a nested TYPE1 structure
 
Constructor Summary
protected JCO.Record.Type1Record()
           
 
Method Summary
protected  void cleanup()
          reset data buffer to free memory after sending of data
 Object clone()
          Creates an returns a copy of the Type1Record object.
protected  void copy(JCO.Record.Type1Record type1Record)
          Copy data from another type1 record object
protected  void ensureBufferCapacity()
          Ensures that the capacity of the data buffer is large enough to store the amount of data expected by information provided by metadata.
protected  void finalize()
           
protected  void flat2Nested()
          Marshalls the data from the flat structure used in the RFC layer and the ABAP runtime to its real nested one, called from JNI layer when marshalling from C to Java
protected  void initialize()
          Initializes data buffer with default values
protected  void internalSize(com.sap.mw.jco.JCO.DataSize size)
           
protected  void nested2Flat()
          Marshalls the data from its real nested structure to the flat one used in the RFC layer and the ABAP runtime, called from JNI layer when marshalling from Java to C
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected char[] data
Buffer that holds the actual data, if this is a nested TYPE1 structure


row_length

protected int row_length
Length of a single row of data in chars, if this is a nested TYPE1 structure

Constructor Detail

JCO.Record.Type1Record

protected JCO.Record.Type1Record()
Method Detail

clone

public Object clone()
Creates an returns a copy of the Type1Record object.

Returns:
A clone of this Type1Record object.

copy

protected void copy(JCO.Record.Type1Record type1Record)
Copy data from another type1 record object

Parameters:
type1Record - the type1 record object to copy from

ensureBufferCapacity

protected void ensureBufferCapacity()
Ensures that the capacity of the data buffer is large enough to store the amount of data expected by information provided by metadata. Allocates new memory if not.


initialize

protected void initialize()
Initializes data buffer with default values


nested2Flat

protected void nested2Flat()
Marshalls the data from its real nested structure to the flat one used in the RFC layer and the ABAP runtime, called from JNI layer when marshalling from Java to C


flat2Nested

protected void flat2Nested()
Marshalls the data from the flat structure used in the RFC layer and the ABAP runtime to its real nested one, called from JNI layer when marshalling from C to Java


cleanup

protected void cleanup()
reset data buffer to free memory after sending of data


internalSize

protected void internalSize(com.sap.mw.jco.JCO.DataSize size)

finalize

protected void finalize()
                 throws Throwable
Throws:
Throwable


Copyright 2006 SAP AG Complete Copyright Notice