예제 #1
0
 /**
  * cloneObject will return identical deep copy of this valueObject.
  * Note, that this method is different than the cloneObject() which
  * is defined in java.lang.Object. Here, the retuned cloneObjectd object
  * will also have all its attributes cloneObjectd.
  */
 function cloneObject()
 {
     $cloneObjectd = new Perfil();
     $cloneObjectd->setIdPerfil($this->idPerfil);
     $cloneObjectd->setNomPerfil($this->nomPerfil);
     $cloneObjectd->setValorPerfil($this->valorPerfil);
     return $cloneObjectd;
 }