/**
  * Compara con el contenido de otro bean
  *
  * @param obj Objeto a comparar
  * @return Retorna true si los dos beans son iguales en contenido
  */
 public boolean equals(Object obj) {
   if (!(obj instanceof GetSubProperties_resp)) {
     return false;
   }
   GetSubProperties_resp value = (GetSubProperties_resp) obj;
   if (value.subproperties.size() != this.subproperties.size()) {
     return false;
   }
   for (int i = 0; i < value.subproperties.size(); i++) {
     if (!(value.getSubproperties(i).equals(this.getSubproperties(i)))) {
       return false;
     }
   }
   return true;
 }
 /**
  * Rellena el objeto con los datos de otro objeto
  *
  * @param object Objeto a copiar
  */
 public void set(GetSubProperties_resp object) {
   this.subproperties.clear();
   for (int i = 0; i < object.subproperties.size(); i++) {
     addSubproperties(
         new org.qualipso.advdoc.ws.client.metadata.beans.ResourceElement(
             object.getSubproperties(i)));
   }
   setChanged();
 }