else if(childname.equals("instance")) {
else if(childname.equals("instance") && !didRehydrate()) {
  private Enumeration getAssets(Document doc) {    Node   root    = doc.getDocumentElement();    Vector assets  = new Vector();        if(root.getNodeName().equals("AssetList")){      NodeList  nlist    = root.getChildNodes();      int       nlength  = nlist.getLength();      for(int i = 0; i < nlength; i++){	Node child = nlist.item(i);	if(child.getNodeType() == Node.ELEMENT_NODE){	  String childname = child.getNodeName();	  if (logger.isDebugEnabled())	    logger.debug ("UTILLdmXMLPlugin.getAssets - childname " + childname);	  if(childname.equals("prototype")) {            //logger.debug("Parsing Prototype");	    prototypeParser.cachePrototype(getLDM(), child);	  }	  else if(childname.equals("instance")) {            //logger.debug("Parsing Instance");	    List newassets = instanceParser.getInstance(getLDM(), child);	    assets.addAll(newassets);	  }	  else if(childname.equals("AggregateAsset")) {	    // logger.debug("Parsing AggregateAsset.");	    AggregateAsset newasset = aggregateAssetParser.getAggregate(getLDM(), child);	    assets.addElement(newasset);	  }	  /*	    else if(childname.equals("network")){ 	    Vector net_assets = NetworkParser.getTransportationNetwork(getLDM(), 	    getClusterObjectFactory(), 	    child); 	    for(int j = 0; j < net_assets.size(); j++){	    assets.addElement(net_assets.elementAt(j)); 	    }	    }	  */	}	else {	  //	  if (logger.isDebugEnabled())	  //	    logger.debug ("UTILLdmXMLPlugin.getAssets - got non-element node " + child);	}      }    }    return assets.elements();  }