/**
  * Rellena el bean con los datos de una tabla hash en la forma clave/valor
  *
  * @param __params__ Tabla hash que contiene los objetos a partir de los cuales se va a rellenar
  *     el bean
  * @throws Exception Cuando la tabla hash no contiene los valores adecuados para rellenar el bean
  */
 public void fromRPC(java.util.Hashtable __params__) throws Exception {
   Object __object_subproperties = __params__.get("subproperties");
   if (__object_subproperties == null) {
     throw new Exception(
         getClass().getName() + ".fromRPC() No se encuentra el atributo vector subproperties");
   }
   if (!(__object_subproperties instanceof java.util.Vector)) {
     throw new Exception(
         getClass().getName() + ".fromRPC() El atributo subproperties no es de tipo Vector");
   }
   java.util.Vector __vector_subproperties = (java.util.Vector) __object_subproperties;
   for (int i = 0; i < __vector_subproperties.size(); i++) {
     Object __element__ = __vector_subproperties.elementAt(i);
     if (!(__element__ instanceof java.util.Hashtable)) {
       throw new Exception(
           getClass().getName() + ".fromRPC() El atributo subproperties no es de tipo Hashtable");
     }
     java.util.Hashtable __hashtable__ = (java.util.Hashtable) __element__;
     org.qualipso.advdoc.ws.client.metadata.beans.ResourceElement __value__;
     String __constructor__ = (String) __hashtable__.get("__constructor__");
     // Si existe el atributo __constructor__ crear el objeto de la clase indicada
     if (__constructor__ == null || __constructor__.equals("")) {
       __value__ = new org.qualipso.advdoc.ws.client.metadata.beans.ResourceElement();
     } else {
       __value__ =
           (org.qualipso.advdoc.ws.client.metadata.beans.ResourceElement)
               Class.forName(__constructor__).newInstance();
     }
     __value__.fromRPC(__hashtable__);
     addSubproperties(__value__);
   }
   setChanged();
 }