com.ibm.ims.db
Class DLIRecord

java.lang.Object
  |
  +--com.ibm.ims.db.DLIRecord

public class DLIRecord
extends java.lang.Object

An object that represents a path of segments in a DL/I database, starting with a root segment and working down the hierarchy towards a leaf segment.


Constructor Summary
DLIRecord(int segmentCount, int ioAreaLength)
          Creates a DLIRecord object by indicating the number of segments in the record and the total length of all of the segments.
 
Method Summary
 void addSegment(DLISegment segment)
          Adds a segment to the current DLIRecord.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLIRecord

public DLIRecord(int segmentCount,
                 int ioAreaLength)
Creates a DLIRecord object by indicating the number of segments in the record and the total length of all of the segments.
Parameters:
segmentCount - the number of segments in the record
ioAreaLength - the total length of all of the segments in the record
Method Detail

addSegment

public void addSegment(DLISegment segment)
Adds a segment to the current DLIRecord. The segments have to be added to the record in the order that they are in the database, starting at the root segment of the record and working down the hierarchy towards the leaf segment.
Parameters:
segment - the segment to be added to the record


(C) International Business Machines Corporation 2004. All rights reserved.