/**
  * Sets contents of passed object to values from current object.
  *
  * If desired, this method can also make copies of all associated (fkey referrers)
  * objects.
  *
  * @param      object $copyObj An object of BpmnProject (or compatible) type.
  * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
  * @throws     PropelException
  */
 public function copyInto($copyObj, $deepCopy = false)
 {
     $copyObj->setPrjName($this->prj_name);
     $copyObj->setPrjDescription($this->prj_description);
     $copyObj->setPrjTargetNamespace($this->prj_target_namespace);
     $copyObj->setPrjExpresionLanguage($this->prj_expresion_language);
     $copyObj->setPrjTypeLanguage($this->prj_type_language);
     $copyObj->setPrjExporter($this->prj_exporter);
     $copyObj->setPrjExporterVersion($this->prj_exporter_version);
     $copyObj->setPrjCreateDate($this->prj_create_date);
     $copyObj->setPrjUpdateDate($this->prj_update_date);
     $copyObj->setPrjAuthor($this->prj_author);
     $copyObj->setPrjAuthorVersion($this->prj_author_version);
     $copyObj->setPrjOriginalSource($this->prj_original_source);
     if ($deepCopy) {
         // important: temporarily setNew(false) because this affects the behavior of
         // the getter/setter methods for fkey referrer objects.
         $copyObj->setNew(false);
         foreach ($this->getBpmnProcesss() as $relObj) {
             $copyObj->addBpmnProcess($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnActivitys() as $relObj) {
             $copyObj->addBpmnActivity($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnArtifacts() as $relObj) {
             $copyObj->addBpmnArtifact($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnDiagrams() as $relObj) {
             $copyObj->addBpmnDiagram($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnBounds() as $relObj) {
             $copyObj->addBpmnBound($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnDatas() as $relObj) {
             $copyObj->addBpmnData($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnEvents() as $relObj) {
             $copyObj->addBpmnEvent($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnFlows() as $relObj) {
             $copyObj->addBpmnFlow($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnGateways() as $relObj) {
             $copyObj->addBpmnGateway($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnLanesets() as $relObj) {
             $copyObj->addBpmnLaneset($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnLanes() as $relObj) {
             $copyObj->addBpmnLane($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnParticipants() as $relObj) {
             $copyObj->addBpmnParticipant($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnExtensions() as $relObj) {
             $copyObj->addBpmnExtension($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnDocumentations() as $relObj) {
             $copyObj->addBpmnDocumentation($relObj->copy($deepCopy));
         }
     }
     // if ($deepCopy)
     $copyObj->setNew(true);
     $copyObj->setPrjUid('');
     // this is a pkey column, so set to default value
 }
 /**
  * Sets contents of passed object to values from current object.
  *
  * If desired, this method can also make copies of all associated (fkey referrers)
  * objects.
  *
  * @param      object $copyObj An object of BpmnProcess (or compatible) type.
  * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
  * @throws     PropelException
  */
 public function copyInto($copyObj, $deepCopy = false)
 {
     $copyObj->setPrjUid($this->prj_uid);
     $copyObj->setDiaUid($this->dia_uid);
     $copyObj->setProName($this->pro_name);
     $copyObj->setProType($this->pro_type);
     $copyObj->setProIsExecutable($this->pro_is_executable);
     $copyObj->setProIsClosed($this->pro_is_closed);
     $copyObj->setProIsSubprocess($this->pro_is_subprocess);
     if ($deepCopy) {
         // important: temporarily setNew(false) because this affects the behavior of
         // the getter/setter methods for fkey referrer objects.
         $copyObj->setNew(false);
         foreach ($this->getBpmnActivitys() as $relObj) {
             $copyObj->addBpmnActivity($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnArtifacts() as $relObj) {
             $copyObj->addBpmnArtifact($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnDatas() as $relObj) {
             $copyObj->addBpmnData($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnEvents() as $relObj) {
             $copyObj->addBpmnEvent($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnGateways() as $relObj) {
             $copyObj->addBpmnGateway($relObj->copy($deepCopy));
         }
         foreach ($this->getBpmnLanesets() as $relObj) {
             $copyObj->addBpmnLaneset($relObj->copy($deepCopy));
         }
     }
     // if ($deepCopy)
     $copyObj->setNew(true);
     $copyObj->setProUid('');
     // this is a pkey column, so set to default value
 }