Exemplo n.º 1
0
 /**
  * Clone will return identical deep copy of this valueObject.
  * Note, that this method is different than the clone() which
  * is defined in java.lang.Object. Here, the retuned cloned object
  * will also have all its attributes cloned.
  */
 function cloneObject()
 {
     $cloned = new Solicitud();
     $cloned->setIdSolicitud($this->idSolicitud);
     $cloned->setIdArtesano($this->idArtesano);
     $cloned->setIdStand($this->idStand);
     return $cloned;
 }