  */
 
 package org.openforis.collect.model.proxy {
+	import mx.collections.ArrayCollection;
 	import mx.collections.IList;
 	
 	import org.granite.collections.IMap;

					var a:AttributeProxy = AttributeProxy(node);
					if(response.validationResults != null) {
						a.validationResults = response.validationResults;
					}
				} else if(node is EntityProxy) {
					var e:EntityProxy = EntityProxy(node);

		
		private function processResponse(response:UpdateResponse):void {
			var node:NodeProxy, oldNode:NodeProxy, parent:EntityProxy;
			if(response.createdNode != null) {
				node = response.createdNode;
				parent = getNode(node.parentId) as EntityProxy;
				parent.addChild(node);
			}
			if(response.deletedNodeId > 0) {
				node = getNode(response.deletedNodeId);
				parent = getNode(node.parentId) as EntityProxy;
				parent.removeChild(node);
			} else {
