com.ibm.ims.db
Class DLISegmentInfo

java.lang.Object
  |
  +--com.ibm.ims.db.DLISegmentInfo
All Implemented Interfaces:
java.io.Serializable

public final class DLISegmentInfo
extends java.lang.Object
implements java.io.Serializable

A DLISegmentInfo object is wrapper class used to associate a DLISegment object with its hierarchical parent for use within a DLIDatabaseView object. Subclasses of DLIDatabaseView statically create an array of DLISegmentInfo objects and pass the array to the DLIDatabaseView constructor.

See Also:
Serialized Form

Constructor Summary
DLISegmentInfo(DLISegment segment, int parentIndex)
          Constructs a DLISegmentInfo object from an instance of a DLISegment and the index of the hierarchical parent in an array of DLISegmentInfo objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLISegmentInfo

public DLISegmentInfo(DLISegment segment,
                      int parentIndex)
Constructs a DLISegmentInfo object from an instance of a DLISegment and the index of the hierarchical parent in an array of DLISegmentInfo objects.
Parameters:
segment - a DLISegment object
parentIndex - the index of the parent's DLISegmentInfo object in an array of DLISegmentInfo objects.


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