getImmediateCompositeId() added to allow finding out whether an object has a composite without deserializing the composite.
1.1 --- a/mdr/src/org/netbeans/mdr/storagemodel/StorableObject.java Wed Mar 23 15:24:57 2005 +0000
1.2 +++ b/mdr/src/org/netbeans/mdr/storagemodel/StorableObject.java Sun Mar 27 00:44:23 2005 +0000
1.3 @@ -212,6 +212,10 @@
1.4 values = new Object[getClassProxy().getAttrCount()];
1.5 }
1.6 }
1.7 +
1.8 + public MOFID getImmediateCompositeId() {
1.9 + return attribComposite;
1.10 + }
1.11
1.12 /** Returns mofid of the immediate object in which the this object is contained.
1.13 * @return result of this method is valid only if the immediate coposite was previously set