getImmediateCompositeId() added to allow finding out whether an object has a composite without deserializing the composite. deimos_base
authormmatula@netbeans.org
Sun, 27 Mar 2005 00:44:23 +0000
changeset 1673a79430c0bd60
parent 1672 3adfe542761a
child 1674 98b55a93b2d7
getImmediateCompositeId() added to allow finding out whether an object has a composite without deserializing the composite.
mdr/src/org/netbeans/mdr/storagemodel/StorableObject.java
     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