com.ibm.mm.sdk.common
Class DKChildCollection
java.lang.Object
|
+--com.ibm.mm.sdk.common.DKSequentialCollection
|
+--com.ibm.mm.sdk.common.DKChildCollection
- All Implemented Interfaces:
- dkCollection, DKConstant, DKMessageId, java.io.Serializable
- public class DKChildCollection
- extends DKSequentialCollection
- implements DKConstant, DKMessageId, java.io.Serializable
DKChildCollection is a subclass of sequential collection. The main purpose
of this class is for holding a group of DDOs which are children of a
a parent DDO. The instance of this class containing child DDOs is used
as the data-item value of the parent DDO.
- See Also:
- Serialized Form
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Method Summary |
void |
addMember(DKDDO child)
Adds a child member to the child collection as well as to the
persistent store. |
void |
removeMember(DKDDO child)
Removes a child member from the child collection as well as from the
persistent store. |
Methods inherited from class com.ibm.mm.sdk.common.DKSequentialCollection |
addElement, cardinality, createIterator, getAssociatedAttrName, getName, getOwner, getSortFunction, insertElementAt, removeAllElements, removeElementAt, replaceElementAt, retrieveElementAt, setName, setSortFunction, sort, sort, sort |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DKChildCollection
public DKChildCollection()
- Constructs a DKChildCollection object.
addMember
public void addMember(DKDDO child)
throws DKException,
java.lang.Exception
- Adds a child member to the child collection as well as to the
persistent store.
- Parameters:
child
- the child member- Throws:
DKException
- if a problem is encounteredjava.lang.Exception
- if a problem is encountered
removeMember
public void removeMember(DKDDO child)
throws DKException,
java.lang.Exception
- Removes a child member from the child collection as well as from the
persistent store.
- Parameters:
child
- the child member- Throws:
DKException
- if a problem is encounteredjava.lang.Exception
- if a problem is encountered
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.