Revert "Merge pull request #2543 from kurund/CRM-14241"
authorkurund <kurund@civicrm.org>
Tue, 25 Feb 2014 10:30:49 +0000 (16:00 +0530)
committerkurund <kurund@civicrm.org>
Tue, 25 Feb 2014 10:30:49 +0000 (16:00 +0530)
This reverts commit 05288fce26229abf39dec0166075e388d56b1848, reversing
changes made to 516ee52acea65cc19face3cf3e3e880457ce125a.

155 files changed:
CRM/Core/CodeGen/DAO.php
CRM/Core/CodeGen/Entity.php [deleted file]
CRM/Core/CodeGen/EntitySpecification.php [deleted file]
CRM/Core/CodeGen/Main.php
Civi/ACL/ACL.php [deleted file]
Civi/ACL/Cache.php [deleted file]
Civi/ACL/EntityRole.php [deleted file]
Civi/Activity/Activity.php [deleted file]
Civi/Activity/ActivityContact.php [deleted file]
Civi/Batch/Batch.php [deleted file]
Civi/Batch/EntityBatch.php [deleted file]
Civi/CCase/CCase.php [deleted file]
Civi/CCase/CaseActivity.php [deleted file]
Civi/CCase/CaseContact.php [deleted file]
Civi/Campaign/Campaign.php [deleted file]
Civi/Campaign/CampaignGroup.php [deleted file]
Civi/Campaign/Survey.php [deleted file]
Civi/Case/Case.php [deleted file]
Civi/Case/CaseActivity.php [deleted file]
Civi/Case/CaseContact.php [deleted file]
Civi/Contact/ACLContactCache.php [deleted file]
Civi/Contact/Contact.php [deleted file]
Civi/Contact/ContactType.php [deleted file]
Civi/Contact/DashboardContact.php [deleted file]
Civi/Contact/Group.php [deleted file]
Civi/Contact/GroupContact.php [deleted file]
Civi/Contact/GroupContactCache.php [deleted file]
Civi/Contact/GroupNesting.php [deleted file]
Civi/Contact/GroupOrganization.php [deleted file]
Civi/Contact/Relationship.php [deleted file]
Civi/Contact/RelationshipType.php [deleted file]
Civi/Contact/SavedSearch.php [deleted file]
Civi/Contact/SubscriptionHistory.php [deleted file]
Civi/Contribute/Contribution.php [deleted file]
Civi/Contribute/ContributionPage.php [deleted file]
Civi/Contribute/ContributionProduct.php [deleted file]
Civi/Contribute/ContributionRecur.php [deleted file]
Civi/Contribute/ContributionSoft.php [deleted file]
Civi/Contribute/Premium.php [deleted file]
Civi/Contribute/PremiumsProduct.php [deleted file]
Civi/Contribute/Product.php [deleted file]
Civi/Contribute/Widget.php [deleted file]
Civi/Core/ActionLog.php [deleted file]
Civi/Core/ActionMapping.php [deleted file]
Civi/Core/ActionSchedule.php [deleted file]
Civi/Core/Address.php [deleted file]
Civi/Core/AddressFormat.php [deleted file]
Civi/Core/Cache.php [deleted file]
Civi/Core/Component.php [deleted file]
Civi/Core/Country.php [deleted file]
Civi/Core/County.php [deleted file]
Civi/Core/CustomField.php [deleted file]
Civi/Core/CustomGroup.php [deleted file]
Civi/Core/Dashboard.php [deleted file]
Civi/Core/Discount.php [deleted file]
Civi/Core/Domain.php [deleted file]
Civi/Core/Email.php [deleted file]
Civi/Core/EntityFile.php [deleted file]
Civi/Core/EntityTag.php [deleted file]
Civi/Core/Extension.php [deleted file]
Civi/Core/File.php [deleted file]
Civi/Core/IM.php [deleted file]
Civi/Core/Job.php [deleted file]
Civi/Core/JobLog.php [deleted file]
Civi/Core/LocBlock.php [deleted file]
Civi/Core/LocationType.php [deleted file]
Civi/Core/Log.php [deleted file]
Civi/Core/MailSettings.php [deleted file]
Civi/Core/Managed.php [deleted file]
Civi/Core/Mapping.php [deleted file]
Civi/Core/MappingField.php [deleted file]
Civi/Core/Menu.php [deleted file]
Civi/Core/MessageTemplate.php [deleted file]
Civi/Core/Navigation.php [deleted file]
Civi/Core/Note.php [deleted file]
Civi/Core/OpenID.php [deleted file]
Civi/Core/OptionGroup.php [deleted file]
Civi/Core/OptionValue.php [deleted file]
Civi/Core/Persistent.php [deleted file]
Civi/Core/Phone.php [deleted file]
Civi/Core/PreferencesDate.php [deleted file]
Civi/Core/PrevNextCache.php [deleted file]
Civi/Core/PrintLabel.php [deleted file]
Civi/Core/Setting.php [deleted file]
Civi/Core/StateProvince.php [deleted file]
Civi/Core/Tag.php [deleted file]
Civi/Core/Timezone.php [deleted file]
Civi/Core/UFField.php [deleted file]
Civi/Core/UFGroup.php [deleted file]
Civi/Core/UFJoin.php [deleted file]
Civi/Core/UFMatch.php [deleted file]
Civi/Core/Website.php [deleted file]
Civi/Core/WordReplacement.php [deleted file]
Civi/Core/Worldregion.php [deleted file]
Civi/Dedupe/Exception.php [deleted file]
Civi/Dedupe/Rule.php [deleted file]
Civi/Dedupe/RuleGroup.php [deleted file]
Civi/Event/Cart/Cart.php [deleted file]
Civi/Event/Cart/EventInCart.php [deleted file]
Civi/Event/Event.php [deleted file]
Civi/Event/Participant.php [deleted file]
Civi/Event/ParticipantPayment.php [deleted file]
Civi/Event/ParticipantStatusType.php [deleted file]
Civi/Financial/Currency.php [deleted file]
Civi/Financial/EntityFinancialAccount.php [deleted file]
Civi/Financial/EntityFinancialTrxn.php [deleted file]
Civi/Financial/FinancialAccount.php [deleted file]
Civi/Financial/FinancialItem.php [deleted file]
Civi/Financial/FinancialTrxn.php [deleted file]
Civi/Financial/FinancialType.php [deleted file]
Civi/Financial/PaymentProcessor.php [deleted file]
Civi/Financial/PaymentProcessorType.php [deleted file]
Civi/Friend/Friend.php [deleted file]
Civi/Grant/Grant.php [deleted file]
Civi/Mailing/BouncePattern.php [deleted file]
Civi/Mailing/BounceType.php [deleted file]
Civi/Mailing/Component.php [deleted file]
Civi/Mailing/Event/Bounce.php [deleted file]
Civi/Mailing/Event/Confirm.php [deleted file]
Civi/Mailing/Event/Delivered.php [deleted file]
Civi/Mailing/Event/Forward.php [deleted file]
Civi/Mailing/Event/Opened.php [deleted file]
Civi/Mailing/Event/Queue.php [deleted file]
Civi/Mailing/Event/Reply.php [deleted file]
Civi/Mailing/Event/Subscribe.php [deleted file]
Civi/Mailing/Event/TrackableURLOpen.php [deleted file]
Civi/Mailing/Event/Unsubscribe.php [deleted file]
Civi/Mailing/Mailing.php [deleted file]
Civi/Mailing/MailingGroup.php [deleted file]
Civi/Mailing/MailingJob.php [deleted file]
Civi/Mailing/Recipients.php [deleted file]
Civi/Mailing/Spool.php [deleted file]
Civi/Mailing/TrackableURL.php [deleted file]
Civi/Member/Membership.php [deleted file]
Civi/Member/MembershipBlock.php [deleted file]
Civi/Member/MembershipLog.php [deleted file]
Civi/Member/MembershipPayment.php [deleted file]
Civi/Member/MembershipStatus.php [deleted file]
Civi/Member/MembershipType.php [deleted file]
Civi/PCP/PCP.php [deleted file]
Civi/PCP/PCPBlock.php [deleted file]
Civi/Pledge/Pledge.php [deleted file]
Civi/Pledge/PledgeBlock.php [deleted file]
Civi/Pledge/PledgePayment.php [deleted file]
Civi/Price/LineItem.php [deleted file]
Civi/Price/PriceField.php [deleted file]
Civi/Price/PriceFieldValue.php [deleted file]
Civi/Price/PriceSet.php [deleted file]
Civi/Price/PriceSetEntity.php [deleted file]
Civi/Queue/QueueItem.php [deleted file]
Civi/Report/ReportInstance.php [deleted file]
Civi/SMS/Provider.php [deleted file]
xml/schema/SMS/History.xml [new file with mode: 0644]
xml/schema/SMS/files.xml
xml/templates/entity.tpl [deleted file]

index 6b31f0440654e77b6802f57f4c8855aeecc17556..5ee51d9c0ba4b5b96786bb30d9536407a71097cb 100644 (file)
@@ -10,7 +10,7 @@ class CRM_Core_CodeGen_DAO extends CRM_Core_CodeGen_BaseTask {
 
   function generateDAOs() {
     foreach (array_keys($this->tables) as $name) {
-      echo "Generating DAO " . $this->tables[$name]['fileName'] . " for $name \n";
+      echo "Generating $name as " . $this->tables[$name]['fileName'] . "\n";
 
       if (empty($this->tables[$name]['base'])) {
         echo "No base defined for $name, skipping output generation\n";
diff --git a/CRM/Core/CodeGen/Entity.php b/CRM/Core/CodeGen/Entity.php
deleted file mode 100644 (file)
index e1ccc3c..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-/**
- * Create ORM entities
- */
-class CRM_Core_CodeGen_Entity extends CRM_Core_CodeGen_BaseTask {
-  function run() {
-    $this->generateEntitys();
-  }
-
-  function generateEntitys() {
-    foreach (array_keys($this->tables) as $name) {
-      echo "Generating entity " . $this->tables[$name]['fileName'] ." for $name \n";
-
-      if (empty($this->tables[$name]['base'])) {
-        echo "No base defined for $name, skipping output generation\n";
-        continue;
-      }
-
-      $template = new CRM_Core_CodeGen_Util_Template('');
-      $template->assign('table', $this->tables[$name]);
-
-      $directory = $this->config->phpCodePath . $this->tables[$name]['base'];
-      CRM_Core_CodeGen_Util_File::createDir($directory);
-
-      $template->run('entity.tpl', $directory . $this->tables[$name]['fileName']);
-    }
-  }
-}
diff --git a/CRM/Core/CodeGen/EntitySpecification.php b/CRM/Core/CodeGen/EntitySpecification.php
deleted file mode 100644 (file)
index efef72f..0000000
+++ /dev/null
@@ -1,717 +0,0 @@
-<?php
-
-/**
- * Read the schema specification and parse into internal data structures
- */
-class CRM_Core_CodeGen_EntitySpecification {
-  public $tables;
-  public $database;
-
-  protected $classNames;
-
-  /**
-   * Read and parse.
-   *
-   * @param string $buildVersion which version of the schema to build
-   */
-  function parse($schemaPath, $buildVersion) {
-    $this->buildVersion = $buildVersion;
-
-    echo "Parsing schema description ".$schemaPath."\n";
-    $dbXML = CRM_Core_CodeGen_Util_Xml::parse($schemaPath);
-    // print_r( $dbXML );
-
-    echo "Extracting database information\n";
-    $this->database = &$this->getDatabase($dbXML);
-    // print_r( $this->database );
-
-    $this->classNames = array();
-
-    # TODO: peel DAO-specific stuff out of getTables, and spec reading into its own class
-    echo "Extracting table information\n";
-    $this->tables = $this->getTables($dbXML, $this->database);
-
-    $this->resolveForeignKeys($this->tables, $this->classNames);
-    $this->tables = $this->orderTables($this->tables);
-
-    // add archive tables here
-    $archiveTables = array( );
-    foreach ($this->tables as $name => $table ) {
-      if ( $table['archive'] == 'true' ) {
-        $name = 'archive_' . $table['name'];
-        $table['name'] = $name;
-        $table['archive'] = 'false';
-        if ( isset($table['foreignKey']) ) {
-          foreach ($table['foreignKey'] as $fkName => $fkValue) {
-            if ($this->tables[$fkValue['table']]['archive'] == 'true') {
-              $table['foreignKey'][$fkName]['table'] = 'archive_' . $table['foreignKey'][$fkName]['table'];
-              $table['foreignKey'][$fkName]['uniqName'] =
-                str_replace( 'FK_', 'FK_archive_', $table['foreignKey'][$fkName]['uniqName'] );
-            }
-          }
-          $archiveTables[$name] = $table;
-        }
-      }
-    }
-  }
-
-  function &getDatabase(&$dbXML) {
-    $database = array('name' => trim((string ) $dbXML->name));
-
-    $attributes = '';
-    $this->checkAndAppend($attributes, $dbXML, 'character_set', 'DEFAULT CHARACTER SET ', '');
-    $this->checkAndAppend($attributes, $dbXML, 'collate', 'COLLATE ', '');
-    $database['attributes'] = $attributes;
-
-    $tableAttributes_modern = $tableAttributes_simple = '';
-    $this->checkAndAppend($tableAttributes_modern, $dbXML, 'table_type', 'ENGINE=', '');
-    $this->checkAndAppend($tableAttributes_simple, $dbXML, 'table_type', 'TYPE=', '');
-    $database['tableAttributes_modern'] = trim($tableAttributes_modern . ' ' . $attributes);
-    $database['tableAttributes_simple'] = trim($tableAttributes_simple);
-
-    $database['comment'] = $this->value('comment', $dbXML, '');
-
-    return $database;
-  }
-
-  function getTables($dbXML, &$database) {
-    // skip entity generation for tables where manual changes are needed.
-    $skipTables = array(
-      // these tables needs sepecial handling for entiti_table, entity_id
-      'civicrm_acl_entity_role',
-      'civicrm_action_log',
-      'civicrm_campaign_group',
-      'civicrm_entity_batch',
-      'civicrm_entity_file',
-      'civicrm_entity_financial_account',
-      'civicrm_entity_financial_trxn',
-      'civicrm_entity_tag',
-      'civicrm_line_item',
-      'civicrm_log',
-      'civicrm_mailing_group',
-      'civicrm_note',
-      'civicrm_pcp_block',
-      'civicrm_pledge_block',
-      'civicrm_prevnext_cache',
-      'civicrm_price_set_entity',
-      'civicrm_tell_friend',
-      'civicrm_uf_join',
-      // case table's are skipped to prevent syntax error generated due "Case" reserved word
-      'civicrm_case',
-      'civicrm_case_activity',
-      'civicrm_case_contact',
-      'civicrm_relationship',
-    );
-
-    $tables = array();
-    foreach ($dbXML->tables as $tablesXML) {
-      foreach ($tablesXML->table as $tableXML) {
-        if (($this->value('drop', $tableXML, 0) > 0 AND $this->value('drop', $tableXML, 0) <= $this->buildVersion)
-          OR in_array($tableXML->name, $skipTables)
-        ) {
-          echo "Skipping entity generation for " .$tableXML->name . "\n";
-          continue;
-        }
-
-        if ($this->value('add', $tableXML, 0) <= $this->buildVersion) {
-          $this->getTable($tableXML, $database, $tables);
-        }
-      }
-    }
-
-    return $tables;
-  }
-
-  function resolveForeignKeys(&$tables, &$classNames) {
-    foreach (array_keys($tables) as $name) {
-      $this->resolveForeignKey($tables, $classNames, $name);
-    }
-  }
-
-  function resolveForeignKey(&$tables, &$classNames, $name) {
-    if (!array_key_exists('foreignKey', $tables[$name])) {
-      return;
-    }
-
-    foreach (array_keys($tables[$name]['foreignKey']) as $fkey) {
-      $ftable = $tables[$name]['foreignKey'][$fkey]['table'];
-      if (!array_key_exists($ftable, $classNames)) {
-        echo "$ftable is not a valid foreign key table in $name\n";
-        continue;
-      }
-
-      $tables[$name]['fields'][$fkey]['propertyName'] = str_replace('Id', '', $tables[$name]['fields'][$fkey]['propertyName']);
-      $tables[$name]['fields'][$fkey]['functionName'] = str_replace('Id', '', $tables[$name]['fields'][$fkey]['functionName']);
-      $tables[$name]['foreignKey'][$fkey]['className'] = $classNames[$ftable];
-      $tables[$name]['foreignKey'][$fkey]['fileName'] = str_replace('_', '/', $classNames[$ftable]) . '.php';
-      $tables[$name]['fields'][$fkey]['FKClassName'] = $classNames[$ftable];
-
-      $targetEntity = str_replace('CRM', 'Civi', str_replace('_', '\\', $classNames[$ftable]));
-      $tables[$name]['fields'][$fkey]['columnType'] = '\\' . $targetEntity;
-      $tables[$name]['fields'][$fkey]['columnInfo'] = '@ORM\ManyToOne(targetEntity="' . $targetEntity . '")';
-      $tables[$name]['fields'][$fkey]['columnJoin'] = '@ORM\JoinColumns({@ORM\JoinColumn(name="' . $tables[$name]['foreignKey'][$fkey]['name'] . '", referencedColumnName="' . $tables[$name]['foreignKey'][$fkey]['key'] . '"';
-
-      if (!empty($tables[$name]['foreignKey'][$fkey]['onDelete'])) {
-        $tables[$name]['fields'][$fkey]['columnJoin'] .= ', onDelete="' . $tables[$name]['foreignKey'][$fkey]['onDelete'] . '"';
-      }
-
-      $tables[$name]['fields'][$fkey]['columnJoin'] .= ')})';
-
-      $tables[$name]['fields'][$fkey]['setFunctionInput'] = "{$tables[$name]['fields'][$fkey]['columnType']} \${$tables[$name]['fields'][$fkey]['propertyName']} = null";
-    }
-  }
-
-  function orderTables(&$tables) {
-    $ordered = array();
-
-    while (!empty($tables)) {
-      foreach (array_keys($tables) as $name) {
-        if ($this->validTable($tables, $ordered, $name)) {
-          $ordered[$name] = $tables[$name];
-          unset($tables[$name]);
-        }
-      }
-    }
-    return $ordered;
-  }
-
-  function validTable(&$tables, &$valid, $name) {
-    if (!array_key_exists('foreignKey', $tables[$name])) {
-      return TRUE;
-    }
-
-    foreach (array_keys($tables[$name]['foreignKey']) as $fkey) {
-      $ftable = $tables[$name]['foreignKey'][$fkey]['table'];
-      if (!array_key_exists($ftable, $valid) && $ftable !== $name) {
-        return FALSE;
-      }
-    }
-    return TRUE;
-  }
-
-  function getTable($tableXML, &$database, &$tables) {
-    $name = trim((string ) $tableXML->name);
-    $klass = trim((string ) $tableXML->class);
-    $base = $this->value('base', $tableXML);
-    $sourceFile = "xml/schema/{$base}/{$klass}.xml";
-    $daoPath = "{$base}" . DIRECTORY_SEPARATOR;
-    $pre = str_replace('/', '_', $daoPath);
-    $this->classNames[$name] = $pre . $klass;
-
-    $localizable = FALSE;
-    foreach ($tableXML->field as $fieldXML) {
-      if ($fieldXML->localizable) {
-        $localizable = TRUE;
-        break;
-      }
-    }
-
-    $table = array(
-      'name' => $name,
-      'base' => str_replace('CRM', 'Civi', $daoPath),
-      'sourceFile' => $sourceFile,
-      'fileName' => $klass . '.php',
-      'objectName' => $klass,
-      'labelName' => substr($name, 8),
-      'className' => $klass,
-      'attributes_simple' => trim($database['tableAttributes_simple']),
-      'attributes_modern' => trim($database['tableAttributes_modern']),
-      'comment' => $this->value('comment', $tableXML),
-      'localizable' => $localizable,
-      'log' => $this->value('log', $tableXML, 'false'),
-      'archive' => $this->value('archive', $tableXML, 'false'),
-    );
-
-    $fields = array();
-    foreach ($tableXML->field as $fieldXML) {
-      if ($this->value('drop', $fieldXML, 0) > 0 and $this->value('drop', $fieldXML, 0) <= $this->buildVersion) {
-        continue;
-      }
-
-      if ($this->value('add', $fieldXML, 0) <= $this->buildVersion) {
-        $this->getField($fieldXML, $fields);
-      }
-    }
-
-    $table['fields'] = &$fields;
-    foreach ($table['fields'] as &$field) {
-      $propertyName = $field['name'];
-      $field['functionName'] = str_replace(' ', '', ucwords(str_replace('_', ' ', $propertyName)));
-      $field['propertyName'] = lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $propertyName))));
-
-      $field['columnInfo'] = '@ORM\Column(name="' . $field['name'] . '", type="' . $field['phpType'] . '"';
-
-      if ($field['phpType'] == 'string') {
-        $field['columnInfo'] .= ', length=' . $field['length'];
-      }
-
-      if (isset($field['default'])) {
-        $field['columnInfo'] .= ', nullable=false';
-      }
-      else {
-        $field['columnInfo'] .= ', nullable=true';
-      }
-
-      if (!empty($field['default'])) {
-        $field['default'] = str_replace("'", "", $field['default']);
-      }
-
-      $field['columnInfo'] .= ')';
-
-      $field['columnType'] = $field['phpType'];
-      $field['columnJoin'] = '';
-
-      $field['setFunctionInput'] = '$' . $field['propertyName'];
-    }
-
-    if ($this->value('primaryKey', $tableXML)) {
-      $this->getPrimaryKey($tableXML->primaryKey, $fields, $table);
-    }
-
-    // some kind of refresh?
-    CRM_Core_Config::singleton(FALSE);
-    if ($this->value('index', $tableXML)) {
-      $index = array();
-      foreach ($tableXML->index as $indexXML) {
-        if ($this->value('drop', $indexXML, 0) > 0 and $this->value('drop', $indexXML, 0) <= $this->buildVersion) {
-          continue;
-        }
-
-        $this->getIndex($indexXML, $fields, $index);
-      }
-      $table['index'] = &$index;
-    }
-
-    if ($this->value('foreignKey', $tableXML)) {
-      $foreign = array();
-      foreach ($tableXML->foreignKey as $foreignXML) {
-        if ($this->value('drop', $foreignXML, 0) > 0 and $this->value('drop', $foreignXML, 0) <= $this->buildVersion) {
-          continue;
-        }
-        if ($this->value('add', $foreignXML, 0) <= $this->buildVersion) {
-          $this->getForeignKey($foreignXML, $fields, $foreign, $name);
-        }
-      }
-      $table['foreignKey'] = &$foreign;
-    }
-
-    if ($this->value('dynamicForeignKey', $tableXML)) {
-      $dynamicForeign = array();
-      foreach ($tableXML->dynamicForeignKey as $foreignXML) {
-        if ($this->value('drop', $foreignXML, 0) > 0 and $this->value('drop', $foreignXML, 0) <= $this->buildVersion) {
-          continue;
-        }
-        if ($this->value('add', $foreignXML, 0) <= $this->buildVersion) {
-          $this->getDynamicForeignKey($foreignXML, $dynamicForeign, $name);
-        }
-      }
-      $table['dynamicForeignKey'] = $dynamicForeign;
-    }
-
-    // create tags for indexes
-    $indexElements = array();
-    if (!empty($table['index'])) {
-      $uniqueElements = array();
-      foreach($table['index'] as $value) {
-        if (isset($value['unique'])) {
-          $uniqueElements[] = '@ORM\UniqueConstraint(name="' . $value['name'] . '", columns={"' . implode(',', $value['field']) . '"})';
-        }
-        else {
-          $indexElements[] = '@ORM\Index(name="' . $value['name'] . '", columns={"' . implode(',', $value['field']) . '"})';
-        }
-      }
-    }
-
-    // note that we explicitly create indexes for all foreign keys
-    if (!empty($table['foreignKey'])) {
-      foreach($table['foreignKey'] as $value) {
-        $indexElements[] = '@ORM\Index(name="' . $value['uniqName'] . '", columns={"' . $value['name'] . '"})';
-      }
-    }
-
-    //build table annotation
-    $tableInfo = '@ORM\Table(name="' . $name . '"';
-    // add unique constraints if any
-    if (!empty($uniqueElements)) {
-      $tableInfo .= ', uniqueConstraints={' . implode(',', $uniqueElements) . '}';
-    }
-
-    // add indexes if any
-    if (!empty($indexElements)) {
-      $tableInfo .= ', indexes={' . implode(',', $indexElements) . '}';
-    }
-
-    $tableInfo .= ')';
-
-    $table['tableInfo'] = $tableInfo;
-
-    $tables[$name] = &$table;
-    return;
-  }
-
-  function getField(&$fieldXML, &$fields) {
-    $name  = trim((string ) $fieldXML->name);
-    $field = array('name' => $name, 'localizable' => $fieldXML->localizable);
-    $type  = (string ) $fieldXML->type;
-    switch ($type) {
-      case 'varchar':
-      case 'char':
-        $field['length'] = (int) $fieldXML->length;
-        $field['sqlType'] = "$type({$field['length']})";
-        $field['phpType'] = 'string';
-        $field['crmType'] = 'CRM_Utils_Type::T_STRING';
-        $field['size'] = $this->getSize($fieldXML);
-        break;
-
-      case 'enum':
-        $value               = (string ) $fieldXML->values;
-        $field['sqlType']    = 'enum(';
-        $field['values']     = array();
-        $field['enumValues'] = $value;
-        $values              = explode(',', $value);
-        $first               = TRUE;
-        foreach ($values as $v) {
-          $v = trim($v);
-          $field['values'][] = $v;
-
-          if (!$first) {
-            $field['sqlType'] .= ', ';
-          }
-          $first = FALSE;
-          $field['sqlType'] .= "'$v'";
-        }
-        $field['sqlType'] .= ')';
-        $field['phpType'] = $field['sqlType'];
-        $field['crmType'] = 'CRM_Utils_Type::T_ENUM';
-        break;
-
-      case 'text':
-        $field['sqlType'] = $field['phpType'] = $type;
-        $field['crmType'] = 'CRM_Utils_Type::T_' . strtoupper($type);
-        // CRM-13497 see fixme below
-        $field['rows'] = isset($fieldXML->html) ? $this->value('rows', $fieldXML->html) : NULL;
-        $field['cols'] = isset($fieldXML->html) ? $this->value('cols', $fieldXML->html) : NULL;
-        break;
-        break;
-
-      case 'datetime':
-        $field['sqlType'] = $field['phpType'] = $type;
-        $field['crmType'] = 'CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME';
-        break;
-
-      case 'boolean':
-        // need this case since some versions of mysql do not have boolean as a valid column type and hence it
-        // is changed to tinyint. hopefully after 2 yrs this case can be removed.
-        $field['sqlType'] = 'tinyint';
-        $field['phpType'] = $type;
-        $field['crmType'] = 'CRM_Utils_Type::T_' . strtoupper($type);
-        break;
-
-      case 'decimal':
-        $length = $fieldXML->length ? $fieldXML->length : '20,2';
-        $field['sqlType'] = 'decimal(' . $length . ')';
-        $field['phpType'] = 'float';
-        $field['crmType'] = 'CRM_Utils_Type::T_MONEY';
-        break;
-
-      case 'float':
-        $field['sqlType'] = 'double';
-        $field['phpType'] = 'float';
-        $field['crmType'] = 'CRM_Utils_Type::T_FLOAT';
-        break;
-
-      default:
-        $field['sqlType'] = $field['phpType'] = $type;
-        if ($type == 'int unsigned') {
-          $field['phpType'] = 'integer';
-          $field['crmType'] = 'CRM_Utils_Type::T_INT';
-        }
-        else {
-          $field['crmType'] = 'CRM_Utils_Type::T_' . strtoupper($type);
-        }
-        break;
-    }
-
-    $field['required'] = $this->value('required', $fieldXML);
-    $field['collate']  = $this->value('collate', $fieldXML);
-    $field['comment']  = $this->value('comment', $fieldXML);
-    $field['default']  = $this->value('default', $fieldXML);
-    $field['import']   = $this->value('import', $fieldXML);
-    if ($this->value('export', $fieldXML)) {
-      $field['export'] = $this->value('export', $fieldXML);
-    }
-    else {
-      $field['export'] = $this->value('import', $fieldXML);
-    }
-    $field['rule'] = $this->value('rule', $fieldXML);
-    $field['title'] = $this->value('title', $fieldXML);
-    if (!$field['title']) {
-      $field['title'] = $this->composeTitle($name);
-    }
-    $field['headerPattern'] = $this->value('headerPattern', $fieldXML);
-    $field['dataPattern'] = $this->value('dataPattern', $fieldXML);
-    $field['uniqueName'] = $this->value('uniqueName', $fieldXML);
-    $field['html'] = $this->value('html', $fieldXML);
-    if (!empty($field['html'])) {
-      $validOptions = array(
-        'type',
-        /* Fixme: prior to CRM-13497 these were in a flat structure
-        // CRM-13497 moved them to be nested within 'html' but there's no point
-        // making that change in the DAOs right now since we are in the process of
-        // moving to docrtine anyway.
-        // So translating from nested xml back to flat structure for now.
-        'rows',
-        'cols',
-        'size', */
-      );
-      $field['html'] = array();
-      foreach ($validOptions as $htmlOption) {
-        if(!empty($fieldXML->html->$htmlOption)){
-          $field['html'][$htmlOption] = $this->value($htmlOption, $fieldXML->html);
-        }
-      }
-    }
-    $field['pseudoconstant'] = $this->value('pseudoconstant', $fieldXML);
-    if(!empty($field['pseudoconstant'])){
-      //ok this is a bit long-winded but it gets there & is consistent with above approach
-      $field['pseudoconstant'] = array();
-      $validOptions = array(
-        // Fields can specify EITHER optionGroupName OR table, not both
-        // (since declaring optionGroupName means we are using the civicrm_option_value table)
-        'optionGroupName',
-        'table',
-        // If table is specified, keyColumn and labelColumn are also required
-        'keyColumn',
-        'labelColumn',
-        // Non-translated machine name for programmatic lookup. Defaults to 'name' if that column exists
-        'nameColumn',
-        // Where clause snippet (will be joined to the rest of the query with AND operator)
-        'condition',
-      );
-      foreach ($validOptions as $pseudoOption) {
-        if(!empty($fieldXML->pseudoconstant->$pseudoOption)){
-          $field['pseudoconstant'][$pseudoOption] = $this->value($pseudoOption, $fieldXML->pseudoconstant);
-        }
-      }
-      // For now, fields that have option lists that are not in the db can simply
-      // declare an empty pseudoconstant tag and we'll add this placeholder.
-      // That field's BAO::buildOptions fn will need to be responsible for generating the option list
-      if (empty($field['pseudoconstant'])) {
-        $field['pseudoconstant'] = 'not in database';
-      }
-    }
-    $fields[$name] = &$field;
-  }
-
-  function composeTitle($name) {
-    $names = explode('_', strtolower($name));
-    $title = '';
-    for ($i = 0; $i < count($names); $i++) {
-      if ($names[$i] === 'id' || $names[$i] === 'is') {
-        // id's do not get titles
-        return NULL;
-      }
-
-      if ($names[$i] === 'im') {
-        $names[$i] = 'IM';
-      }
-      else {
-        $names[$i] = ucfirst(trim($names[$i]));
-      }
-
-      $title = $title . ' ' . $names[$i];
-    }
-    return trim($title);
-  }
-
-  function getPrimaryKey(&$primaryXML, &$fields, &$table) {
-    $name = trim((string ) $primaryXML->name);
-
-    /** need to make sure there is a field of type name */
-    if (!array_key_exists($name, $fields)) {
-        echo "primary key $name in $table->name does not have a field definition, ignoring\n";
-      return;
-    }
-
-    // set the autoincrement property of the field
-    $auto = $this->value('autoincrement', $primaryXML);
-    $fields[$name]['autoincrement'] = $auto;
-    $primaryKey = array(
-      'name' => $name,
-      'autoincrement' => $auto,
-    );
-    $table['primaryKey'] = &$primaryKey;
-  }
-
-  function getIndex(&$indexXML, &$fields, &$indices) {
-    //echo "\n\n*******************************************************\n";
-    //echo "entering getIndex\n";
-
-    $index = array();
-    // empty index name is fine
-    $indexName      = trim((string)$indexXML->name);
-    $index['name']  = $indexName;
-    $index['field'] = array();
-
-    // populate fields
-    foreach ($indexXML->fieldName as $v) {
-      $fieldName = (string)($v);
-      $length = (string)($v['length']);
-      if (strlen($length) > 0) {
-        $fieldName = "$fieldName($length)";
-      }
-      $index['field'][] = $fieldName;
-    }
-
-    $index['localizable'] = FALSE;
-    foreach ($index['field'] as $fieldName) {
-      if (isset($fields[$fieldName]) and $fields[$fieldName]['localizable']) {
-        $index['localizable'] = TRUE;
-        break;
-      }
-    }
-
-    // check for unique index
-    if ($this->value('unique', $indexXML)) {
-      $index['unique'] = TRUE;
-    }
-
-    //echo "\$index = \n";
-    //print_r($index);
-
-    // field array cannot be empty
-    if (empty($index['field'])) {
-      echo "No fields defined for index $indexName\n";
-      return;
-    }
-
-    // all fieldnames have to be defined and should exist in schema.
-    foreach ($index['field'] as $fieldName) {
-      if (!$fieldName) {
-        echo "Invalid field defination for index $indexName\n";
-        return;
-      }
-      $parenOffset = strpos($fieldName, '(');
-      if ($parenOffset > 0) {
-        $fieldName = substr($fieldName, 0, $parenOffset);
-      }
-      if (!array_key_exists($fieldName, $fields)) {
-        echo "Table does not contain $fieldName\n";
-        print_r($fields);
-        exit();
-      }
-    }
-    $indices[$indexName] = &$index;
-  }
-
-  function getForeignKey(&$foreignXML, &$fields, &$foreignKeys, &$currentTableName) {
-    $name = trim((string ) $foreignXML->name);
-
-    /** need to make sure there is a field of type name */
-    if (!array_key_exists($name, $fields)) {
-        echo "foreign $name in $currentTableName does not have a field definition, ignoring\n";
-      return;
-    }
-
-    /** need to check for existence of table and key **/
-    $table = trim($this->value('table', $foreignXML));
-    $foreignKey = array(
-      'name' => $name,
-      'table' => $table,
-      'uniqName' => "FK_{$currentTableName}_{$name}",
-      'key' => trim($this->value('key', $foreignXML)),
-      'import' => $this->value('import', $foreignXML, FALSE),
-      'export' => $this->value('import', $foreignXML, FALSE),
-      // we do this matching in a seperate phase (resolveForeignKeys)
-      'className' => NULL,
-      'onDelete' => $this->value('onDelete', $foreignXML, FALSE),
-    );
-    $foreignKeys[$name] = &$foreignKey;
-  }
-
-  function getDynamicForeignKey(&$foreignXML, &$dynamicForeignKeys) {
-    $foreignKey = array(
-      'idColumn' => trim($foreignXML->idColumn),
-      'typeColumn' => trim($foreignXML->typeColumn),
-      'key' => trim($this->value('key', $foreignXML)),
-    );
-    $dynamicForeignKeys[] = $foreignKey;
-  }
-
-  protected function value($key, &$object, $default = NULL) {
-    if (isset($object->$key)) {
-      return (string ) $object->$key;
-    }
-    return $default;
-  }
-
-  protected function checkAndAppend(&$attributes, &$object, $name, $pre = NULL, $post = NULL) {
-    if (!isset($object->$name)) {
-      return;
-    }
-
-    $value = $pre . trim($object->$name) . $post;
-    $this->append($attributes, ' ', trim($value));
-  }
-
-  protected function append(&$str, $delim, $name) {
-    if (empty($name)) {
-      return;
-    }
-
-    if (is_array($name)) {
-      foreach ($name as $n) {
-        if (empty($n)) {
-          continue;
-        }
-        if (empty($str)) {
-          $str = $n;
-        }
-        else {
-          $str .= $delim . $n;
-        }
-      }
-    }
-    else {
-      if (empty($str)) {
-        $str = $name;
-      }
-      else {
-        $str .= $delim . $name;
-      }
-    }
-  }
-
-  /**
-   * Sets the size property of a textfield
-   * See constants defined in CRM_Utils_Type for possible values
-   */
-  protected function getSize($fieldXML) {
-    // Extract from <size> tag if supplied
-    if (!empty($fieldXML->html) && $this->value('size', $fieldXML->html)) {
-      $const = 'CRM_Utils_Type::' . strtoupper($fieldXML->html->size);
-      if (defined($const)) {
-        return $const;
-      }
-    }
-    // Infer from <length> tag if <size> was not explicitly set or was invalid
-
-    // This map is slightly different from CRM_Core_Form_Renderer::$_sizeMapper
-    // Because we usually want fields to render as smaller than their maxlength
-    $sizes = array(
-      2 => 'TWO',
-      4 => 'FOUR',
-      6 => 'SIX',
-      8 => 'EIGHT',
-      16 => 'TWELVE',
-      32 => 'MEDIUM',
-      64 => 'BIG',
-    );
-    foreach ($sizes as $length => $name) {
-      if ($fieldXML->length <= $length) {
-        return "CRM_Utils_Type::$name";
-      }
-    }
-    return 'CRM_Utils_Type::HUGE';
-  }
-}
index 30de693f35cb15f725aae4500728b0f0f4d13994..a5d85822bbca9973be0965026c422757c16fe2b2 100644 (file)
@@ -95,14 +95,6 @@ Alternatively you can get a version of CiviCRM that matches your PHP version
     // TODO: This configuration can be manipulated dynamically.
     $components = $this->getTasks();
     foreach ($components as $component) {
-      // special handling for entity generation
-      if ($component == 'CRM_Core_CodeGen_Entity') {
-        $specification = new CRM_Core_CodeGen_EntitySpecification();
-        $specification->parse($this->schemaPath, $this->buildVersion);
-        $this->database = $specification->database;
-        $this->tables = $specification->tables;
-      }
-
       $task = new $component($this);
 
       if (is_a($task, 'CRM_Core_CodeGen_ITask')) {
@@ -126,7 +118,6 @@ Alternatively you can get a version of CiviCRM that matches your PHP version
       'CRM_Core_CodeGen_DAO',
       'CRM_Core_CodeGen_Test',
       'CRM_Core_CodeGen_I18n',
-      'CRM_Core_CodeGen_Entity',
     );
     return $components;
   }
diff --git a/Civi/ACL/ACL.php b/Civi/ACL/ACL.php
deleted file mode 100644 (file)
index 0ad4a95..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/ACL/ACL.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ACL
- *
- * @ORM\Table(name="civicrm_acl", indexes={@ORM\Index(name="index_acl_id", columns={"acl_id"})})
- * @ORM\Entity
- */
-class ACL extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="deny", type="boolean", nullable=false)
-   * 
-   */
-  private $deny = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="operation", type="string", length=8, nullable=true)
-   * 
-   */
-  private $operation;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="object_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $objectTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="object_id", type="integer", nullable=true)
-   * 
-   */
-  private $objectId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="acl_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $aclTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="acl_id", type="integer", nullable=true)
-   * 
-   */
-  private $aclId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return ACL
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set deny
-   *
-   * @param boolean $deny
-   * @return ACL
-   */
-  public function setDeny($deny) {
-    $this->deny = $deny;
-    return $this;
-  }
-
-  /**
-   * Get deny
-   *
-   * @return boolean
-   */
-  public function getDeny() {
-    return $this->deny;
-  }
-  
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return ACL
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return ACL
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set operation
-   *
-   * @param string $operation
-   * @return ACL
-   */
-  public function setOperation($operation) {
-    $this->operation = $operation;
-    return $this;
-  }
-
-  /**
-   * Get operation
-   *
-   * @return string
-   */
-  public function getOperation() {
-    return $this->operation;
-  }
-  
-  /**
-   * Set objectTable
-   *
-   * @param string $objectTable
-   * @return ACL
-   */
-  public function setObjectTable($objectTable) {
-    $this->objectTable = $objectTable;
-    return $this;
-  }
-
-  /**
-   * Get objectTable
-   *
-   * @return string
-   */
-  public function getObjectTable() {
-    return $this->objectTable;
-  }
-  
-  /**
-   * Set objectId
-   *
-   * @param integer $objectId
-   * @return ACL
-   */
-  public function setObjectId($objectId) {
-    $this->objectId = $objectId;
-    return $this;
-  }
-
-  /**
-   * Get objectId
-   *
-   * @return integer
-   */
-  public function getObjectId() {
-    return $this->objectId;
-  }
-  
-  /**
-   * Set aclTable
-   *
-   * @param string $aclTable
-   * @return ACL
-   */
-  public function setAclTable($aclTable) {
-    $this->aclTable = $aclTable;
-    return $this;
-  }
-
-  /**
-   * Get aclTable
-   *
-   * @return string
-   */
-  public function getAclTable() {
-    return $this->aclTable;
-  }
-  
-  /**
-   * Set aclId
-   *
-   * @param integer $aclId
-   * @return ACL
-   */
-  public function setAclId($aclId) {
-    $this->aclId = $aclId;
-    return $this;
-  }
-
-  /**
-   * Get aclId
-   *
-   * @return integer
-   */
-  public function getAclId() {
-    return $this->aclId;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return ACL
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/ACL/Cache.php b/Civi/ACL/Cache.php
deleted file mode 100644 (file)
index f879683..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/ACL/Cache.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Cache
- *
- * @ORM\Table(name="civicrm_acl_cache", indexes={@ORM\Index(name="index_acl_id", columns={"acl_id"}),@ORM\Index(name="FK_civicrm_acl_cache_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_acl_cache_acl_id", columns={"acl_id"})})
- * @ORM\Entity
- */
-class Cache extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var \Civi\ACL\ACL
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\ACL\ACL")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="acl_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $acl;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="modified_date", type="date", nullable=true)
-   * 
-   */
-  private $modifiedDate;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Cache
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set acl
-   *
-   * @param \Civi\ACL\ACL $acl
-   * @return Cache
-   */
-  public function setAcl(\Civi\ACL\ACL $acl = null) {
-    $this->acl = $acl;
-    return $this;
-  }
-
-  /**
-   * Get acl
-   *
-   * @return \Civi\ACL\ACL
-   */
-  public function getAcl() {
-    return $this->acl;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param date $modifiedDate
-   * @return Cache
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return date
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-
-}
-
diff --git a/Civi/ACL/EntityRole.php b/Civi/ACL/EntityRole.php
deleted file mode 100644 (file)
index 87dd0b1..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/ACL/EntityRole.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityRole
- *
- * @ORM\Table(name="civicrm_acl_entity_role", indexes={@ORM\Index(name="index_role", columns={"acl_role_id"}),@ORM\Index(name="index_entity", columns={"entity_table,entity_id"})})
- * @ORM\Entity
- */
-class EntityRole extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="acl_role_id", type="integer", nullable=true)
-   * 
-   */
-  private $aclRoleId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set aclRoleId
-   *
-   * @param integer $aclRoleId
-   * @return EntityRole
-   */
-  public function setAclRoleId($aclRoleId) {
-    $this->aclRoleId = $aclRoleId;
-    return $this;
-  }
-
-  /**
-   * Get aclRoleId
-   *
-   * @return integer
-   */
-  public function getAclRoleId() {
-    return $this->aclRoleId;
-  }
-  
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return EntityRole
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return EntityRole
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return EntityRole
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Activity/Activity.php b/Civi/Activity/Activity.php
deleted file mode 100644 (file)
index d0cc267..0000000
+++ /dev/null
@@ -1,712 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Activity/Activity.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Activity
- *
- * @ORM\Table(name="civicrm_activity", indexes={@ORM\Index(name="UI_source_record_id", columns={"source_record_id"}),@ORM\Index(name="UI_activity_type_id", columns={"activity_type_id"}),@ORM\Index(name="index_medium_id", columns={"medium_id"}),@ORM\Index(name="index_is_current_revision", columns={"is_current_revision"}),@ORM\Index(name="index_is_deleted", columns={"is_deleted"}),@ORM\Index(name="FK_civicrm_activity_phone_id", columns={"phone_id"}),@ORM\Index(name="FK_civicrm_activity_parent_id", columns={"parent_id"}),@ORM\Index(name="FK_civicrm_activity_relationship_id", columns={"relationship_id"}),@ORM\Index(name="FK_civicrm_activity_original_id", columns={"original_id"}),@ORM\Index(name="FK_civicrm_activity_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class Activity extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="source_record_id", type="integer", nullable=true)
-   * 
-   */
-  private $sourceRecordId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="activity_type_id", type="integer", nullable=false)
-   * 
-   */
-  private $activityTypeId = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=255, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="activity_date_time", type="datetime", nullable=true)
-   * 
-   */
-  private $activityDateTime;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="duration", type="integer", nullable=true)
-   * 
-   */
-  private $duration;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="location", type="string", length=255, nullable=true)
-   * 
-   */
-  private $location;
-  
-  /**
-   * @var \Civi\Core\Phone
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Phone")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="phone_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $phone;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="phone_number", type="string", length=64, nullable=true)
-   * 
-   */
-  private $phoneNumber;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="details", type="text", nullable=true)
-   * 
-   */
-  private $details;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="priority_id", type="integer", nullable=true)
-   * 
-   */
-  private $priorityId;
-  
-  /**
-   * @var \Civi\Activity\Activity
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Activity\Activity")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $parent;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=false)
-   * 
-   */
-  private $isTest = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="medium_id", type="integer", nullable=false)
-   * 
-   */
-  private $mediumId = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_auto", type="boolean", nullable=false)
-   * 
-   */
-  private $isAuto = '0';
-  
-  /**
-   * @var \Civi\Contact\Relationship
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Relationship")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="relationship_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $relationship = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_current_revision", type="boolean", nullable=false)
-   * 
-   */
-  private $isCurrentRevision = '1';
-  
-  /**
-   * @var \Civi\Activity\Activity
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Activity\Activity")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="original_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $original;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="result", type="string", length=255, nullable=true)
-   * 
-   */
-  private $result;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_deleted", type="boolean", nullable=false)
-   * 
-   */
-  private $isDeleted = '0';
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="engagement_level", type="integer", nullable=true)
-   * 
-   */
-  private $engagementLevel;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=true)
-   * 
-   */
-  private $weight;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set sourceRecordId
-   *
-   * @param integer $sourceRecordId
-   * @return Activity
-   */
-  public function setSourceRecordId($sourceRecordId) {
-    $this->sourceRecordId = $sourceRecordId;
-    return $this;
-  }
-
-  /**
-   * Get sourceRecordId
-   *
-   * @return integer
-   */
-  public function getSourceRecordId() {
-    return $this->sourceRecordId;
-  }
-  
-  /**
-   * Set activityTypeId
-   *
-   * @param integer $activityTypeId
-   * @return Activity
-   */
-  public function setActivityTypeId($activityTypeId) {
-    $this->activityTypeId = $activityTypeId;
-    return $this;
-  }
-
-  /**
-   * Get activityTypeId
-   *
-   * @return integer
-   */
-  public function getActivityTypeId() {
-    return $this->activityTypeId;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return Activity
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set activityDateTime
-   *
-   * @param datetime $activityDateTime
-   * @return Activity
-   */
-  public function setActivityDateTime($activityDateTime) {
-    $this->activityDateTime = $activityDateTime;
-    return $this;
-  }
-
-  /**
-   * Get activityDateTime
-   *
-   * @return datetime
-   */
-  public function getActivityDateTime() {
-    return $this->activityDateTime;
-  }
-  
-  /**
-   * Set duration
-   *
-   * @param integer $duration
-   * @return Activity
-   */
-  public function setDuration($duration) {
-    $this->duration = $duration;
-    return $this;
-  }
-
-  /**
-   * Get duration
-   *
-   * @return integer
-   */
-  public function getDuration() {
-    return $this->duration;
-  }
-  
-  /**
-   * Set location
-   *
-   * @param string $location
-   * @return Activity
-   */
-  public function setLocation($location) {
-    $this->location = $location;
-    return $this;
-  }
-
-  /**
-   * Get location
-   *
-   * @return string
-   */
-  public function getLocation() {
-    return $this->location;
-  }
-  
-  /**
-   * Set phone
-   *
-   * @param \Civi\Core\Phone $phone
-   * @return Activity
-   */
-  public function setPhone(\Civi\Core\Phone $phone = null) {
-    $this->phone = $phone;
-    return $this;
-  }
-
-  /**
-   * Get phone
-   *
-   * @return \Civi\Core\Phone
-   */
-  public function getPhone() {
-    return $this->phone;
-  }
-  
-  /**
-   * Set phoneNumber
-   *
-   * @param string $phoneNumber
-   * @return Activity
-   */
-  public function setPhoneNumber($phoneNumber) {
-    $this->phoneNumber = $phoneNumber;
-    return $this;
-  }
-
-  /**
-   * Get phoneNumber
-   *
-   * @return string
-   */
-  public function getPhoneNumber() {
-    return $this->phoneNumber;
-  }
-  
-  /**
-   * Set details
-   *
-   * @param text $details
-   * @return Activity
-   */
-  public function setDetails($details) {
-    $this->details = $details;
-    return $this;
-  }
-
-  /**
-   * Get details
-   *
-   * @return text
-   */
-  public function getDetails() {
-    return $this->details;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return Activity
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set priorityId
-   *
-   * @param integer $priorityId
-   * @return Activity
-   */
-  public function setPriorityId($priorityId) {
-    $this->priorityId = $priorityId;
-    return $this;
-  }
-
-  /**
-   * Get priorityId
-   *
-   * @return integer
-   */
-  public function getPriorityId() {
-    return $this->priorityId;
-  }
-  
-  /**
-   * Set parent
-   *
-   * @param \Civi\Activity\Activity $parent
-   * @return Activity
-   */
-  public function setParent(\Civi\Activity\Activity $parent = null) {
-    $this->parent = $parent;
-    return $this;
-  }
-
-  /**
-   * Get parent
-   *
-   * @return \Civi\Activity\Activity
-   */
-  public function getParent() {
-    return $this->parent;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return Activity
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set mediumId
-   *
-   * @param integer $mediumId
-   * @return Activity
-   */
-  public function setMediumId($mediumId) {
-    $this->mediumId = $mediumId;
-    return $this;
-  }
-
-  /**
-   * Get mediumId
-   *
-   * @return integer
-   */
-  public function getMediumId() {
-    return $this->mediumId;
-  }
-  
-  /**
-   * Set isAuto
-   *
-   * @param boolean $isAuto
-   * @return Activity
-   */
-  public function setIsAuto($isAuto) {
-    $this->isAuto = $isAuto;
-    return $this;
-  }
-
-  /**
-   * Get isAuto
-   *
-   * @return boolean
-   */
-  public function getIsAuto() {
-    return $this->isAuto;
-  }
-  
-  /**
-   * Set relationship
-   *
-   * @param \Civi\Contact\Relationship $relationship
-   * @return Activity
-   */
-  public function setRelationship(\Civi\Contact\Relationship $relationship = null) {
-    $this->relationship = $relationship;
-    return $this;
-  }
-
-  /**
-   * Get relationship
-   *
-   * @return \Civi\Contact\Relationship
-   */
-  public function getRelationship() {
-    return $this->relationship;
-  }
-  
-  /**
-   * Set isCurrentRevision
-   *
-   * @param boolean $isCurrentRevision
-   * @return Activity
-   */
-  public function setIsCurrentRevision($isCurrentRevision) {
-    $this->isCurrentRevision = $isCurrentRevision;
-    return $this;
-  }
-
-  /**
-   * Get isCurrentRevision
-   *
-   * @return boolean
-   */
-  public function getIsCurrentRevision() {
-    return $this->isCurrentRevision;
-  }
-  
-  /**
-   * Set original
-   *
-   * @param \Civi\Activity\Activity $original
-   * @return Activity
-   */
-  public function setOriginal(\Civi\Activity\Activity $original = null) {
-    $this->original = $original;
-    return $this;
-  }
-
-  /**
-   * Get original
-   *
-   * @return \Civi\Activity\Activity
-   */
-  public function getOriginal() {
-    return $this->original;
-  }
-  
-  /**
-   * Set result
-   *
-   * @param string $result
-   * @return Activity
-   */
-  public function setResult($result) {
-    $this->result = $result;
-    return $this;
-  }
-
-  /**
-   * Get result
-   *
-   * @return string
-   */
-  public function getResult() {
-    return $this->result;
-  }
-  
-  /**
-   * Set isDeleted
-   *
-   * @param boolean $isDeleted
-   * @return Activity
-   */
-  public function setIsDeleted($isDeleted) {
-    $this->isDeleted = $isDeleted;
-    return $this;
-  }
-
-  /**
-   * Get isDeleted
-   *
-   * @return boolean
-   */
-  public function getIsDeleted() {
-    return $this->isDeleted;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Activity
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set engagementLevel
-   *
-   * @param integer $engagementLevel
-   * @return Activity
-   */
-  public function setEngagementLevel($engagementLevel) {
-    $this->engagementLevel = $engagementLevel;
-    return $this;
-  }
-
-  /**
-   * Get engagementLevel
-   *
-   * @return integer
-   */
-  public function getEngagementLevel() {
-    return $this->engagementLevel;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return Activity
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-
-}
-
diff --git a/Civi/Activity/ActivityContact.php b/Civi/Activity/ActivityContact.php
deleted file mode 100644 (file)
index 6af0228..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Activity/ActivityContact.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ActivityContact
- *
- * @ORM\Table(name="civicrm_activity_contact", uniqueConstraints={@ORM\UniqueConstraint(name="UI_activity_contact", columns={"contact_id,activity_id,record_type_id"})}, indexes={@ORM\Index(name="index_record_type", columns={"activity_id,record_type_id"}),@ORM\Index(name="FK_civicrm_activity_contact_activity_id", columns={"activity_id"}),@ORM\Index(name="FK_civicrm_activity_contact_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class ActivityContact extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Activity\Activity
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Activity\Activity")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="activity_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $activity;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="record_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $recordTypeId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set activity
-   *
-   * @param \Civi\Activity\Activity $activity
-   * @return ActivityContact
-   */
-  public function setActivity(\Civi\Activity\Activity $activity = null) {
-    $this->activity = $activity;
-    return $this;
-  }
-
-  /**
-   * Get activity
-   *
-   * @return \Civi\Activity\Activity
-   */
-  public function getActivity() {
-    return $this->activity;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return ActivityContact
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set recordTypeId
-   *
-   * @param integer $recordTypeId
-   * @return ActivityContact
-   */
-  public function setRecordTypeId($recordTypeId) {
-    $this->recordTypeId = $recordTypeId;
-    return $this;
-  }
-
-  /**
-   * Get recordTypeId
-   *
-   * @return integer
-   */
-  public function getRecordTypeId() {
-    return $this->recordTypeId;
-  }
-
-}
-
diff --git a/Civi/Batch/Batch.php b/Civi/Batch/Batch.php
deleted file mode 100644 (file)
index 3f3d903..0000000
+++ /dev/null
@@ -1,516 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Batch/Batch.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Batch
- *
- * @ORM\Table(name="civicrm_batch", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})}, indexes={@ORM\Index(name="FK_civicrm_batch_created_id", columns={"created_id"}),@ORM\Index(name="FK_civicrm_batch_modified_id", columns={"modified_id"}),@ORM\Index(name="FK_civicrm_batch_saved_search_id", columns={"saved_search_id"})})
- * @ORM\Entity
- */
-class Batch extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=64, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="modified_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $modified;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="modified_date", type="datetime", nullable=true)
-   * 
-   */
-  private $modifiedDate;
-  
-  /**
-   * @var \Civi\Contact\SavedSearch
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\SavedSearch")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="saved_search_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $savedSearch;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="type_id", type="integer", nullable=true)
-   * 
-   */
-  private $typeId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="mode_id", type="integer", nullable=true)
-   * 
-   */
-  private $modeId;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="total", type="float", nullable=true)
-   * 
-   */
-  private $total;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="item_count", type="integer", nullable=true)
-   * 
-   */
-  private $itemCount;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="payment_instrument_id", type="integer", nullable=true)
-   * 
-   */
-  private $paymentInstrumentId;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="exported_date", type="datetime", nullable=true)
-   * 
-   */
-  private $exportedDate;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="data", type="longtext", nullable=true)
-   * 
-   */
-  private $data;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Batch
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Batch
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return Batch
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Batch
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Batch
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set modified
-   *
-   * @param \Civi\Contact\Contact $modified
-   * @return Batch
-   */
-  public function setModified(\Civi\Contact\Contact $modified = null) {
-    $this->modified = $modified;
-    return $this;
-  }
-
-  /**
-   * Get modified
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getModified() {
-    return $this->modified;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param datetime $modifiedDate
-   * @return Batch
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return datetime
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-  
-  /**
-   * Set savedSearch
-   *
-   * @param \Civi\Contact\SavedSearch $savedSearch
-   * @return Batch
-   */
-  public function setSavedSearch(\Civi\Contact\SavedSearch $savedSearch = null) {
-    $this->savedSearch = $savedSearch;
-    return $this;
-  }
-
-  /**
-   * Get savedSearch
-   *
-   * @return \Civi\Contact\SavedSearch
-   */
-  public function getSavedSearch() {
-    return $this->savedSearch;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return Batch
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set typeId
-   *
-   * @param integer $typeId
-   * @return Batch
-   */
-  public function setTypeId($typeId) {
-    $this->typeId = $typeId;
-    return $this;
-  }
-
-  /**
-   * Get typeId
-   *
-   * @return integer
-   */
-  public function getTypeId() {
-    return $this->typeId;
-  }
-  
-  /**
-   * Set modeId
-   *
-   * @param integer $modeId
-   * @return Batch
-   */
-  public function setModeId($modeId) {
-    $this->modeId = $modeId;
-    return $this;
-  }
-
-  /**
-   * Get modeId
-   *
-   * @return integer
-   */
-  public function getModeId() {
-    return $this->modeId;
-  }
-  
-  /**
-   * Set total
-   *
-   * @param float $total
-   * @return Batch
-   */
-  public function setTotal($total) {
-    $this->total = $total;
-    return $this;
-  }
-
-  /**
-   * Get total
-   *
-   * @return float
-   */
-  public function getTotal() {
-    return $this->total;
-  }
-  
-  /**
-   * Set itemCount
-   *
-   * @param integer $itemCount
-   * @return Batch
-   */
-  public function setItemCount($itemCount) {
-    $this->itemCount = $itemCount;
-    return $this;
-  }
-
-  /**
-   * Get itemCount
-   *
-   * @return integer
-   */
-  public function getItemCount() {
-    return $this->itemCount;
-  }
-  
-  /**
-   * Set paymentInstrumentId
-   *
-   * @param integer $paymentInstrumentId
-   * @return Batch
-   */
-  public function setPaymentInstrumentId($paymentInstrumentId) {
-    $this->paymentInstrumentId = $paymentInstrumentId;
-    return $this;
-  }
-
-  /**
-   * Get paymentInstrumentId
-   *
-   * @return integer
-   */
-  public function getPaymentInstrumentId() {
-    return $this->paymentInstrumentId;
-  }
-  
-  /**
-   * Set exportedDate
-   *
-   * @param datetime $exportedDate
-   * @return Batch
-   */
-  public function setExportedDate($exportedDate) {
-    $this->exportedDate = $exportedDate;
-    return $this;
-  }
-
-  /**
-   * Get exportedDate
-   *
-   * @return datetime
-   */
-  public function getExportedDate() {
-    return $this->exportedDate;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param longtext $data
-   * @return Batch
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return longtext
-   */
-  public function getData() {
-    return $this->data;
-  }
-
-}
-
diff --git a/Civi/Batch/EntityBatch.php b/Civi/Batch/EntityBatch.php
deleted file mode 100644 (file)
index 3916825..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Batch/EntityBatch.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityBatch
- *
- * @ORM\Table(name="civicrm_entity_batch", uniqueConstraints={@ORM\UniqueConstraint(name="UI_batch_entity", columns={"batch_id,entity_id,entity_table"})}, indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="FK_civicrm_entity_batch_batch_id", columns={"batch_id"})})
- * @ORM\Entity
- */
-class EntityBatch extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var \Civi\Batch\Batch
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Batch\Batch")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="batch_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $batch;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return EntityBatch
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return EntityBatch
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set batch
-   *
-   * @param \Civi\Batch\Batch $batch
-   * @return EntityBatch
-   */
-  public function setBatch(\Civi\Batch\Batch $batch = null) {
-    $this->batch = $batch;
-    return $this;
-  }
-
-  /**
-   * Get batch
-   *
-   * @return \Civi\Batch\Batch
-   */
-  public function getBatch() {
-    return $this->batch;
-  }
-
-}
-
diff --git a/Civi/CCase/CCase.php b/Civi/CCase/CCase.php
deleted file mode 100644 (file)
index 6627d6e..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Case/Case.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Case
- *
- * @ORM\Table(name="civicrm_case", indexes={@ORM\Index(name="index_case_type_id", columns={"case_type_id"}),@ORM\Index(name="index_is_deleted", columns={"is_deleted"})})
- * @ORM\Entity
- */
-class CCase extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="case_type_id", type="string", length=128, nullable=true)
-   * 
-   */
-  private $caseTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=128, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="start_date", type="date", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="end_date", type="date", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="details", type="text", nullable=true)
-   * 
-   */
-  private $details;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_deleted", type="boolean", nullable=false)
-   * 
-   */
-  private $isDeleted = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set caseTypeId
-   *
-   * @param string $caseTypeId
-   * @return Case
-   */
-  public function setCaseTypeId($caseTypeId) {
-    $this->caseTypeId = $caseTypeId;
-    return $this;
-  }
-
-  /**
-   * Get caseTypeId
-   *
-   * @return string
-   */
-  public function getCaseTypeId() {
-    return $this->caseTypeId;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return Case
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param date $startDate
-   * @return Case
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return date
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param date $endDate
-   * @return Case
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return date
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set details
-   *
-   * @param text $details
-   * @return Case
-   */
-  public function setDetails($details) {
-    $this->details = $details;
-    return $this;
-  }
-
-  /**
-   * Get details
-   *
-   * @return text
-   */
-  public function getDetails() {
-    return $this->details;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return Case
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set isDeleted
-   *
-   * @param boolean $isDeleted
-   * @return Case
-   */
-  public function setIsDeleted($isDeleted) {
-    $this->isDeleted = $isDeleted;
-    return $this;
-  }
-
-  /**
-   * Get isDeleted
-   *
-   * @return boolean
-   */
-  public function getIsDeleted() {
-    return $this->isDeleted;
-  }
-
-}
-
diff --git a/Civi/CCase/CaseActivity.php b/Civi/CCase/CaseActivity.php
deleted file mode 100644 (file)
index 04482bb..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Case/CaseActivity.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * CaseActivity
- *
- * @ORM\Table(name="civicrm_case_activity", indexes={@ORM\Index(name="UI_case_activity_id", columns={"case_id,activity_id"}),@ORM\Index(name="FK_civicrm_case_activity_case_id", columns={"case_id"}),@ORM\Index(name="FK_civicrm_case_activity_activity_id", columns={"activity_id"})})
- * @ORM\Entity
- */
-class CaseActivity extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\CCase\CCase
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Case\Case")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="case_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $case;
-  
-  /**
-   * @var \Civi\Activity\Activity
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Activity\Activity")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="activity_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $activity;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set case
-   *
-   * @param \Civi\CCase\CCase $case
-   * @return CaseActivity
-   */
-  public function setCase(\Civi\CCase\CCase $case = null) {
-    $this->case = $case;
-    return $this;
-  }
-
-  /**
-   * Get case
-   *
-   * @return \Civi\CCase\CCase
-   */
-  public function getCase() {
-    return $this->case;
-  }
-  
-  /**
-   * Set activity
-   *
-   * @param \Civi\Activity\Activity $activity
-   * @return CaseActivity
-   */
-  public function setActivity(\Civi\Activity\Activity $activity = null) {
-    $this->activity = $activity;
-    return $this;
-  }
-
-  /**
-   * Get activity
-   *
-   * @return \Civi\Activity\Activity
-   */
-  public function getActivity() {
-    return $this->activity;
-  }
-
-}
-
diff --git a/Civi/CCase/CaseContact.php b/Civi/CCase/CaseContact.php
deleted file mode 100644 (file)
index 1dfd79e..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Case/CaseContact.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * CaseContact
- *
- * @ORM\Table(name="civicrm_case_contact", indexes={@ORM\Index(name="UI_case_contact_id", columns={"case_id,contact_id"}),@ORM\Index(name="FK_civicrm_case_contact_case_id", columns={"case_id"}),@ORM\Index(name="FK_civicrm_case_contact_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class CaseContact extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Case\Case
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\CCase\CCase")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="case_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $case;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set case
-   *
-   * @param \Civi\CCase\CCase $case
-   * @return CaseContact
-   */
-  public function setCase(\Civi\CCase\CCase $case = null) {
-    $this->case = $case;
-    return $this;
-  }
-
-  /**
-   * Get case
-   *
-   * @return \Civi\CCase\CCase
-   */
-  public function getCase() {
-    return $this->case;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return CaseContact
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-
-}
-
diff --git a/Civi/Campaign/Campaign.php b/Civi/Campaign/Campaign.php
deleted file mode 100644 (file)
index 4350b4c..0000000
+++ /dev/null
@@ -1,516 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Campaign/Campaign.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Campaign
- *
- * @ORM\Table(name="civicrm_campaign", uniqueConstraints={@ORM\UniqueConstraint(name="UI_external_identifier", columns={"external_identifier"})}, indexes={@ORM\Index(name="UI_campaign_type_id", columns={"campaign_type_id"}),@ORM\Index(name="UI_campaign_status_id", columns={"status_id"}),@ORM\Index(name="FK_civicrm_campaign_parent_id", columns={"parent_id"}),@ORM\Index(name="FK_civicrm_campaign_created_id", columns={"created_id"}),@ORM\Index(name="FK_civicrm_campaign_last_modified_id", columns={"last_modified_id"})})
- * @ORM\Entity
- */
-class Campaign extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="start_date", type="datetime", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="end_date", type="datetime", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="campaign_type_id", type="integer", nullable=false)
-   * 
-   */
-  private $campaignTypeId = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=false)
-   * 
-   */
-  private $statusId = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="external_identifier", type="string", length=32, nullable=true)
-   * 
-   */
-  private $externalIdentifier;
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $parent = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="last_modified_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $lastModified;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="last_modified_date", type="datetime", nullable=true)
-   * 
-   */
-  private $lastModifiedDate;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="goal_general", type="text", nullable=true)
-   * 
-   */
-  private $goalGeneral;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="goal_revenue", type="float", nullable=true)
-   * 
-   */
-  private $goalRevenue;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Campaign
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Campaign
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return Campaign
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param datetime $startDate
-   * @return Campaign
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return datetime
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param datetime $endDate
-   * @return Campaign
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return datetime
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set campaignTypeId
-   *
-   * @param integer $campaignTypeId
-   * @return Campaign
-   */
-  public function setCampaignTypeId($campaignTypeId) {
-    $this->campaignTypeId = $campaignTypeId;
-    return $this;
-  }
-
-  /**
-   * Get campaignTypeId
-   *
-   * @return integer
-   */
-  public function getCampaignTypeId() {
-    return $this->campaignTypeId;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return Campaign
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set externalIdentifier
-   *
-   * @param string $externalIdentifier
-   * @return Campaign
-   */
-  public function setExternalIdentifier($externalIdentifier) {
-    $this->externalIdentifier = $externalIdentifier;
-    return $this;
-  }
-
-  /**
-   * Get externalIdentifier
-   *
-   * @return string
-   */
-  public function getExternalIdentifier() {
-    return $this->externalIdentifier;
-  }
-  
-  /**
-   * Set parent
-   *
-   * @param \Civi\Campaign\Campaign $parent
-   * @return Campaign
-   */
-  public function setParent(\Civi\Campaign\Campaign $parent = null) {
-    $this->parent = $parent;
-    return $this;
-  }
-
-  /**
-   * Get parent
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getParent() {
-    return $this->parent;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Campaign
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Campaign
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Campaign
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set lastModified
-   *
-   * @param \Civi\Contact\Contact $lastModified
-   * @return Campaign
-   */
-  public function setLastModified(\Civi\Contact\Contact $lastModified = null) {
-    $this->lastModified = $lastModified;
-    return $this;
-  }
-
-  /**
-   * Get lastModified
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getLastModified() {
-    return $this->lastModified;
-  }
-  
-  /**
-   * Set lastModifiedDate
-   *
-   * @param datetime $lastModifiedDate
-   * @return Campaign
-   */
-  public function setLastModifiedDate($lastModifiedDate) {
-    $this->lastModifiedDate = $lastModifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get lastModifiedDate
-   *
-   * @return datetime
-   */
-  public function getLastModifiedDate() {
-    return $this->lastModifiedDate;
-  }
-  
-  /**
-   * Set goalGeneral
-   *
-   * @param text $goalGeneral
-   * @return Campaign
-   */
-  public function setGoalGeneral($goalGeneral) {
-    $this->goalGeneral = $goalGeneral;
-    return $this;
-  }
-
-  /**
-   * Get goalGeneral
-   *
-   * @return text
-   */
-  public function getGoalGeneral() {
-    return $this->goalGeneral;
-  }
-  
-  /**
-   * Set goalRevenue
-   *
-   * @param float $goalRevenue
-   * @return Campaign
-   */
-  public function setGoalRevenue($goalRevenue) {
-    $this->goalRevenue = $goalRevenue;
-    return $this;
-  }
-
-  /**
-   * Get goalRevenue
-   *
-   * @return float
-   */
-  public function getGoalRevenue() {
-    return $this->goalRevenue;
-  }
-
-}
-
diff --git a/Civi/Campaign/CampaignGroup.php b/Civi/Campaign/CampaignGroup.php
deleted file mode 100644 (file)
index 352f600..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * CampaignGroup
- *
- * @ORM\Table(name="civicrm_campaign_group", indexes={@ORM\Index(name="FK_civicrm_campaign_group_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class CampaignGroup extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $campaign;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="group_type", type="string", length=8, nullable=false)
-   * 
-   */
-  private $groupType = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=false)
-   * 
-   */
-  private $entityTable = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=false)
-   * 
-   */
-  private $entityId = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return CampaignGroup
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set groupType
-   *
-   * @param string $groupType
-   * @return CampaignGroup
-   */
-  public function setGroupType($groupType) {
-    $this->groupType = $groupType;
-    return $this;
-  }
-
-  /**
-   * Get groupType
-   *
-   * @return string
-   */
-  public function getGroupType() {
-    return $this->groupType;
-  }
-  
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return CampaignGroup
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return CampaignGroup
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-
-}
-
diff --git a/Civi/Campaign/Survey.php b/Civi/Campaign/Survey.php
deleted file mode 100644 (file)
index 123b731..0000000
+++ /dev/null
@@ -1,600 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Campaign/Survey.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Survey
- *
- * @ORM\Table(name="civicrm_survey", indexes={@ORM\Index(name="UI_activity_type_id", columns={"activity_type_id"}),@ORM\Index(name="FK_civicrm_survey_campaign_id", columns={"campaign_id"}),@ORM\Index(name="FK_civicrm_survey_created_id", columns={"created_id"}),@ORM\Index(name="FK_civicrm_survey_last_modified_id", columns={"last_modified_id"})})
- * @ORM\Entity
- */
-class Survey extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="activity_type_id", type="integer", nullable=false)
-   * 
-   */
-  private $activityTypeId = 'NULL';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="recontact_interval", type="text", nullable=true)
-   * 
-   */
-  private $recontactInterval;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="instructions", type="text", nullable=true)
-   * 
-   */
-  private $instructions;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="release_frequency", type="integer", nullable=false)
-   * 
-   */
-  private $releaseFrequency = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="max_number_of_contacts", type="integer", nullable=false)
-   * 
-   */
-  private $maxNumberOfContacts = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="default_number_of_contacts", type="integer", nullable=false)
-   * 
-   */
-  private $defaultNumberOfContacts = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=false)
-   * 
-   */
-  private $isDefault = '0';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="last_modified_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $lastModified;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="last_modified_date", type="datetime", nullable=true)
-   * 
-   */
-  private $lastModifiedDate;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="result_id", type="integer", nullable=false)
-   * 
-   */
-  private $resultId = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="bypass_confirm", type="boolean", nullable=false)
-   * 
-   */
-  private $bypassConfirm = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="thankyou_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $thankyouTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="thankyou_text", type="text", nullable=true)
-   * 
-   */
-  private $thankyouText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_share", type="boolean", nullable=false)
-   * 
-   */
-  private $isShare = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Survey
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Survey
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set activityTypeId
-   *
-   * @param integer $activityTypeId
-   * @return Survey
-   */
-  public function setActivityTypeId($activityTypeId) {
-    $this->activityTypeId = $activityTypeId;
-    return $this;
-  }
-
-  /**
-   * Get activityTypeId
-   *
-   * @return integer
-   */
-  public function getActivityTypeId() {
-    return $this->activityTypeId;
-  }
-  
-  /**
-   * Set recontactInterval
-   *
-   * @param text $recontactInterval
-   * @return Survey
-   */
-  public function setRecontactInterval($recontactInterval) {
-    $this->recontactInterval = $recontactInterval;
-    return $this;
-  }
-
-  /**
-   * Get recontactInterval
-   *
-   * @return text
-   */
-  public function getRecontactInterval() {
-    return $this->recontactInterval;
-  }
-  
-  /**
-   * Set instructions
-   *
-   * @param text $instructions
-   * @return Survey
-   */
-  public function setInstructions($instructions) {
-    $this->instructions = $instructions;
-    return $this;
-  }
-
-  /**
-   * Get instructions
-   *
-   * @return text
-   */
-  public function getInstructions() {
-    return $this->instructions;
-  }
-  
-  /**
-   * Set releaseFrequency
-   *
-   * @param integer $releaseFrequency
-   * @return Survey
-   */
-  public function setReleaseFrequency($releaseFrequency) {
-    $this->releaseFrequency = $releaseFrequency;
-    return $this;
-  }
-
-  /**
-   * Get releaseFrequency
-   *
-   * @return integer
-   */
-  public function getReleaseFrequency() {
-    return $this->releaseFrequency;
-  }
-  
-  /**
-   * Set maxNumberOfContacts
-   *
-   * @param integer $maxNumberOfContacts
-   * @return Survey
-   */
-  public function setMaxNumberOfContacts($maxNumberOfContacts) {
-    $this->maxNumberOfContacts = $maxNumberOfContacts;
-    return $this;
-  }
-
-  /**
-   * Get maxNumberOfContacts
-   *
-   * @return integer
-   */
-  public function getMaxNumberOfContacts() {
-    return $this->maxNumberOfContacts;
-  }
-  
-  /**
-   * Set defaultNumberOfContacts
-   *
-   * @param integer $defaultNumberOfContacts
-   * @return Survey
-   */
-  public function setDefaultNumberOfContacts($defaultNumberOfContacts) {
-    $this->defaultNumberOfContacts = $defaultNumberOfContacts;
-    return $this;
-  }
-
-  /**
-   * Get defaultNumberOfContacts
-   *
-   * @return integer
-   */
-  public function getDefaultNumberOfContacts() {
-    return $this->defaultNumberOfContacts;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Survey
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return Survey
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Survey
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Survey
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set lastModified
-   *
-   * @param \Civi\Contact\Contact $lastModified
-   * @return Survey
-   */
-  public function setLastModified(\Civi\Contact\Contact $lastModified = null) {
-    $this->lastModified = $lastModified;
-    return $this;
-  }
-
-  /**
-   * Get lastModified
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getLastModified() {
-    return $this->lastModified;
-  }
-  
-  /**
-   * Set lastModifiedDate
-   *
-   * @param datetime $lastModifiedDate
-   * @return Survey
-   */
-  public function setLastModifiedDate($lastModifiedDate) {
-    $this->lastModifiedDate = $lastModifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get lastModifiedDate
-   *
-   * @return datetime
-   */
-  public function getLastModifiedDate() {
-    return $this->lastModifiedDate;
-  }
-  
-  /**
-   * Set resultId
-   *
-   * @param integer $resultId
-   * @return Survey
-   */
-  public function setResultId($resultId) {
-    $this->resultId = $resultId;
-    return $this;
-  }
-
-  /**
-   * Get resultId
-   *
-   * @return integer
-   */
-  public function getResultId() {
-    return $this->resultId;
-  }
-  
-  /**
-   * Set bypassConfirm
-   *
-   * @param boolean $bypassConfirm
-   * @return Survey
-   */
-  public function setBypassConfirm($bypassConfirm) {
-    $this->bypassConfirm = $bypassConfirm;
-    return $this;
-  }
-
-  /**
-   * Get bypassConfirm
-   *
-   * @return boolean
-   */
-  public function getBypassConfirm() {
-    return $this->bypassConfirm;
-  }
-  
-  /**
-   * Set thankyouTitle
-   *
-   * @param string $thankyouTitle
-   * @return Survey
-   */
-  public function setThankyouTitle($thankyouTitle) {
-    $this->thankyouTitle = $thankyouTitle;
-    return $this;
-  }
-
-  /**
-   * Get thankyouTitle
-   *
-   * @return string
-   */
-  public function getThankyouTitle() {
-    return $this->thankyouTitle;
-  }
-  
-  /**
-   * Set thankyouText
-   *
-   * @param text $thankyouText
-   * @return Survey
-   */
-  public function setThankyouText($thankyouText) {
-    $this->thankyouText = $thankyouText;
-    return $this;
-  }
-
-  /**
-   * Get thankyouText
-   *
-   * @return text
-   */
-  public function getThankyouText() {
-    return $this->thankyouText;
-  }
-  
-  /**
-   * Set isShare
-   *
-   * @param boolean $isShare
-   * @return Survey
-   */
-  public function setIsShare($isShare) {
-    $this->isShare = $isShare;
-    return $this;
-  }
-
-  /**
-   * Get isShare
-   *
-   * @return boolean
-   */
-  public function getIsShare() {
-    return $this->isShare;
-  }
-
-}
-
diff --git a/Civi/Case/Case.php b/Civi/Case/Case.php
deleted file mode 100644 (file)
index 2ce3feb..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Case/Case.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Case
- *
- * @ORM\Table(name="civicrm_case", indexes={@ORM\Index(name="index_case_type_id", columns={"case_type_id"}),@ORM\Index(name="index_is_deleted", columns={"is_deleted"})})
- * @ORM\Entity
- */
-class Case extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="case_type_id", type="string", length=128, nullable=true)
-   * 
-   */
-  private $caseTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=128, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="start_date", type="date", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="end_date", type="date", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="details", type="text", nullable=true)
-   * 
-   */
-  private $details;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_deleted", type="boolean", nullable=false)
-   * 
-   */
-  private $isDeleted = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set caseTypeId
-   *
-   * @param string $caseTypeId
-   * @return Case
-   */
-  public function setCaseTypeId($caseTypeId) {
-    $this->caseTypeId = $caseTypeId;
-    return $this;
-  }
-
-  /**
-   * Get caseTypeId
-   *
-   * @return string
-   */
-  public function getCaseTypeId() {
-    return $this->caseTypeId;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return Case
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param date $startDate
-   * @return Case
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return date
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param date $endDate
-   * @return Case
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return date
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set details
-   *
-   * @param text $details
-   * @return Case
-   */
-  public function setDetails($details) {
-    $this->details = $details;
-    return $this;
-  }
-
-  /**
-   * Get details
-   *
-   * @return text
-   */
-  public function getDetails() {
-    return $this->details;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return Case
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set isDeleted
-   *
-   * @param boolean $isDeleted
-   * @return Case
-   */
-  public function setIsDeleted($isDeleted) {
-    $this->isDeleted = $isDeleted;
-    return $this;
-  }
-
-  /**
-   * Get isDeleted
-   *
-   * @return boolean
-   */
-  public function getIsDeleted() {
-    return $this->isDeleted;
-  }
-
-}
-
diff --git a/Civi/Case/CaseActivity.php b/Civi/Case/CaseActivity.php
deleted file mode 100644 (file)
index 9a2b03c..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Case/CaseActivity.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * CaseActivity
- *
- * @ORM\Table(name="civicrm_case_activity", indexes={@ORM\Index(name="UI_case_activity_id", columns={"case_id,activity_id"}),@ORM\Index(name="FK_civicrm_case_activity_case_id", columns={"case_id"}),@ORM\Index(name="FK_civicrm_case_activity_activity_id", columns={"activity_id"})})
- * @ORM\Entity
- */
-class CaseActivity extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Case\Case
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Case\Case")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="case_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $case;
-  
-  /**
-   * @var \Civi\Activity\Activity
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Activity\Activity")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="activity_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $activity;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set case
-   *
-   * @param \Civi\Case\Case $case
-   * @return CaseActivity
-   */
-  public function setCase(\Civi\Case\Case $case = null) {
-    $this->case = $case;
-    return $this;
-  }
-
-  /**
-   * Get case
-   *
-   * @return \Civi\Case\Case
-   */
-  public function getCase() {
-    return $this->case;
-  }
-  
-  /**
-   * Set activity
-   *
-   * @param \Civi\Activity\Activity $activity
-   * @return CaseActivity
-   */
-  public function setActivity(\Civi\Activity\Activity $activity = null) {
-    $this->activity = $activity;
-    return $this;
-  }
-
-  /**
-   * Get activity
-   *
-   * @return \Civi\Activity\Activity
-   */
-  public function getActivity() {
-    return $this->activity;
-  }
-
-}
-
diff --git a/Civi/Case/CaseContact.php b/Civi/Case/CaseContact.php
deleted file mode 100644 (file)
index 4848e86..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Case/CaseContact.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * CaseContact
- *
- * @ORM\Table(name="civicrm_case_contact", indexes={@ORM\Index(name="UI_case_contact_id", columns={"case_id,contact_id"}),@ORM\Index(name="FK_civicrm_case_contact_case_id", columns={"case_id"}),@ORM\Index(name="FK_civicrm_case_contact_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class CaseContact extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Case\Case
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Case\Case")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="case_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $case;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set case
-   *
-   * @param \Civi\Case\Case $case
-   * @return CaseContact
-   */
-  public function setCase(\Civi\Case\Case $case = null) {
-    $this->case = $case;
-    return $this;
-  }
-
-  /**
-   * Get case
-   *
-   * @return \Civi\Case\Case
-   */
-  public function getCase() {
-    return $this->case;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return CaseContact
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-
-}
-
diff --git a/Civi/Contact/ACLContactCache.php b/Civi/Contact/ACLContactCache.php
deleted file mode 100644 (file)
index a92755a..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ACLContactCache
- *
- * @ORM\Table(name="civicrm_acl_contact_cache", uniqueConstraints={@ORM\UniqueConstraint(name="UI_user_contact_operation", columns={"user_id,contact_id,operation"})}, indexes={@ORM\Index(name="FK_civicrm_acl_contact_cache_user_id", columns={"user_id"}),@ORM\Index(name="FK_civicrm_acl_contact_cache_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class ACLContactCache extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="user_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $user;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="operation", type="string", length=8, nullable=true)
-   * 
-   */
-  private $operation;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set user
-   *
-   * @param \Civi\Contact\Contact $user
-   * @return ACLContactCache
-   */
-  public function setUser(\Civi\Contact\Contact $user = null) {
-    $this->user = $user;
-    return $this;
-  }
-
-  /**
-   * Get user
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getUser() {
-    return $this->user;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return ACLContactCache
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set operation
-   *
-   * @param string $operation
-   * @return ACLContactCache
-   */
-  public function setOperation($operation) {
-    $this->operation = $operation;
-    return $this;
-  }
-
-  /**
-   * Get operation
-   *
-   * @return string
-   */
-  public function getOperation() {
-    return $this->operation;
-  }
-
-}
-
diff --git a/Civi/Contact/Contact.php b/Civi/Contact/Contact.php
deleted file mode 100644 (file)
index 69f0c20..0000000
+++ /dev/null
@@ -1,1496 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/Contact.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Contact
- *
- * @ORM\Table(name="civicrm_contact", uniqueConstraints={@ORM\UniqueConstraint(name="UI_external_identifier", columns={"external_identifier"})}, indexes={@ORM\Index(name="index_contact_type", columns={"contact_type"}),@ORM\Index(name="index_contact_sub_type", columns={"contact_sub_type"}),@ORM\Index(name="index_sort_name", columns={"sort_name"}),@ORM\Index(name="index_preferred_communication_method", columns={"preferred_communication_method"}),@ORM\Index(name="index_hash", columns={"hash"}),@ORM\Index(name="index_api_key", columns={"api_key"}),@ORM\Index(name="index_first_name", columns={"first_name"}),@ORM\Index(name="index_last_name", columns={"last_name"}),@ORM\Index(name="UI_prefix", columns={"prefix_id"}),@ORM\Index(name="UI_suffix", columns={"suffix_id"}),@ORM\Index(name="index_communication_style_id", columns={"communication_style_id"}),@ORM\Index(name="UI_gender", columns={"gender_id"}),@ORM\Index(name="index_household_name", columns={"household_name"}),@ORM\Index(name="index_organization_name", columns={"organization_name"}),@ORM\Index(name="index_is_deleted_sort_name", columns={"is_deleted,sort_name,id"}),@ORM\Index(name="FK_civicrm_contact_primary_contact_id", columns={"primary_contact_id"}),@ORM\Index(name="FK_civicrm_contact_employer_id", columns={"employer_id"})})
- * @ORM\Entity
- */
-class Contact extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_type", type="string", length=64, nullable=true)
-   * 
-   */
-  private $contactType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_sub_type", type="string", length=255, nullable=true)
-   * 
-   */
-  private $contactSubType;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="do_not_email", type="boolean", nullable=false)
-   * 
-   */
-  private $doNotEmail = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="do_not_phone", type="boolean", nullable=false)
-   * 
-   */
-  private $doNotPhone = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="do_not_mail", type="boolean", nullable=false)
-   * 
-   */
-  private $doNotMail = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="do_not_sms", type="boolean", nullable=false)
-   * 
-   */
-  private $doNotSms = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="do_not_trade", type="boolean", nullable=false)
-   * 
-   */
-  private $doNotTrade = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_opt_out", type="boolean", nullable=false)
-   * 
-   */
-  private $isOptOut = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="legal_identifier", type="string", length=32, nullable=true)
-   * 
-   */
-  private $legalIdentifier;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="external_identifier", type="string", length=32, nullable=true)
-   * 
-   */
-  private $externalIdentifier;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="sort_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $sortName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="display_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $displayName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="nick_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $nickName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="legal_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $legalName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="image_URL", type="string", length=255, nullable=true)
-   * 
-   */
-  private $imageURL;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="preferred_communication_method", type="string", length=255, nullable=true)
-   * 
-   */
-  private $preferredCommunicationMethod;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="preferred_language", type="string", length=5, nullable=true)
-   * 
-   */
-  private $preferredLanguage;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="preferred_mail_format", type="string", length=8, nullable=false)
-   * 
-   */
-  private $preferredMailFormat = '"Both"';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="hash", type="string", length=32, nullable=true)
-   * 
-   */
-  private $hash;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="api_key", type="string", length=32, nullable=true)
-   * 
-   */
-  private $apiKey;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="source", type="string", length=255, nullable=true)
-   * 
-   */
-  private $source;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="first_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $firstName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="middle_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $middleName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="last_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $lastName;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="prefix_id", type="integer", nullable=true)
-   * 
-   */
-  private $prefixId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="suffix_id", type="integer", nullable=true)
-   * 
-   */
-  private $suffixId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="formal_title", type="string", length=64, nullable=true)
-   * 
-   */
-  private $formalTitle;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="communication_style_id", type="integer", nullable=true)
-   * 
-   */
-  private $communicationStyleId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="email_greeting_id", type="integer", nullable=true)
-   * 
-   */
-  private $emailGreetingId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="email_greeting_custom", type="string", length=128, nullable=true)
-   * 
-   */
-  private $emailGreetingCustom;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="email_greeting_display", type="string", length=255, nullable=true)
-   * 
-   */
-  private $emailGreetingDisplay;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="postal_greeting_id", type="integer", nullable=true)
-   * 
-   */
-  private $postalGreetingId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="postal_greeting_custom", type="string", length=128, nullable=true)
-   * 
-   */
-  private $postalGreetingCustom;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="postal_greeting_display", type="string", length=255, nullable=true)
-   * 
-   */
-  private $postalGreetingDisplay;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="addressee_id", type="integer", nullable=true)
-   * 
-   */
-  private $addresseeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="addressee_custom", type="string", length=128, nullable=true)
-   * 
-   */
-  private $addresseeCustom;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="addressee_display", type="string", length=255, nullable=true)
-   * 
-   */
-  private $addresseeDisplay;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="job_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $jobTitle;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="gender_id", type="integer", nullable=true)
-   * 
-   */
-  private $genderId;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="birth_date", type="date", nullable=true)
-   * 
-   */
-  private $birthDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_deceased", type="boolean", nullable=false)
-   * 
-   */
-  private $isDeceased = '0';
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="deceased_date", type="date", nullable=true)
-   * 
-   */
-  private $deceasedDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="household_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $householdName;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="primary_contact_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $primaryContact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="organization_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $organizationName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="sic_code", type="string", length=8, nullable=true)
-   * 
-   */
-  private $sicCode;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="user_unique_id", type="string", length=255, nullable=true)
-   * 
-   */
-  private $userUniqueId;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="employer_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $employer;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_deleted", type="boolean", nullable=false)
-   * 
-   */
-  private $isDeleted = '0';
-  
-  /**
-   * @var timestamp
-   *
-   * @ORM\Column(name="created_date", type="timestamp", nullable=false)
-   * 
-   */
-  private $createdDate = 'NULL';
-  
-  /**
-   * @var timestamp
-   *
-   * @ORM\Column(name="modified_date", type="timestamp", nullable=false)
-   * 
-   */
-  private $modifiedDate = 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contactType
-   *
-   * @param string $contactType
-   * @return Contact
-   */
-  public function setContactType($contactType) {
-    $this->contactType = $contactType;
-    return $this;
-  }
-
-  /**
-   * Get contactType
-   *
-   * @return string
-   */
-  public function getContactType() {
-    return $this->contactType;
-  }
-  
-  /**
-   * Set contactSubType
-   *
-   * @param string $contactSubType
-   * @return Contact
-   */
-  public function setContactSubType($contactSubType) {
-    $this->contactSubType = $contactSubType;
-    return $this;
-  }
-
-  /**
-   * Get contactSubType
-   *
-   * @return string
-   */
-  public function getContactSubType() {
-    return $this->contactSubType;
-  }
-  
-  /**
-   * Set doNotEmail
-   *
-   * @param boolean $doNotEmail
-   * @return Contact
-   */
-  public function setDoNotEmail($doNotEmail) {
-    $this->doNotEmail = $doNotEmail;
-    return $this;
-  }
-
-  /**
-   * Get doNotEmail
-   *
-   * @return boolean
-   */
-  public function getDoNotEmail() {
-    return $this->doNotEmail;
-  }
-  
-  /**
-   * Set doNotPhone
-   *
-   * @param boolean $doNotPhone
-   * @return Contact
-   */
-  public function setDoNotPhone($doNotPhone) {
-    $this->doNotPhone = $doNotPhone;
-    return $this;
-  }
-
-  /**
-   * Get doNotPhone
-   *
-   * @return boolean
-   */
-  public function getDoNotPhone() {
-    return $this->doNotPhone;
-  }
-  
-  /**
-   * Set doNotMail
-   *
-   * @param boolean $doNotMail
-   * @return Contact
-   */
-  public function setDoNotMail($doNotMail) {
-    $this->doNotMail = $doNotMail;
-    return $this;
-  }
-
-  /**
-   * Get doNotMail
-   *
-   * @return boolean
-   */
-  public function getDoNotMail() {
-    return $this->doNotMail;
-  }
-  
-  /**
-   * Set doNotSms
-   *
-   * @param boolean $doNotSms
-   * @return Contact
-   */
-  public function setDoNotSms($doNotSms) {
-    $this->doNotSms = $doNotSms;
-    return $this;
-  }
-
-  /**
-   * Get doNotSms
-   *
-   * @return boolean
-   */
-  public function getDoNotSms() {
-    return $this->doNotSms;
-  }
-  
-  /**
-   * Set doNotTrade
-   *
-   * @param boolean $doNotTrade
-   * @return Contact
-   */
-  public function setDoNotTrade($doNotTrade) {
-    $this->doNotTrade = $doNotTrade;
-    return $this;
-  }
-
-  /**
-   * Get doNotTrade
-   *
-   * @return boolean
-   */
-  public function getDoNotTrade() {
-    return $this->doNotTrade;
-  }
-  
-  /**
-   * Set isOptOut
-   *
-   * @param boolean $isOptOut
-   * @return Contact
-   */
-  public function setIsOptOut($isOptOut) {
-    $this->isOptOut = $isOptOut;
-    return $this;
-  }
-
-  /**
-   * Get isOptOut
-   *
-   * @return boolean
-   */
-  public function getIsOptOut() {
-    return $this->isOptOut;
-  }
-  
-  /**
-   * Set legalIdentifier
-   *
-   * @param string $legalIdentifier
-   * @return Contact
-   */
-  public function setLegalIdentifier($legalIdentifier) {
-    $this->legalIdentifier = $legalIdentifier;
-    return $this;
-  }
-
-  /**
-   * Get legalIdentifier
-   *
-   * @return string
-   */
-  public function getLegalIdentifier() {
-    return $this->legalIdentifier;
-  }
-  
-  /**
-   * Set externalIdentifier
-   *
-   * @param string $externalIdentifier
-   * @return Contact
-   */
-  public function setExternalIdentifier($externalIdentifier) {
-    $this->externalIdentifier = $externalIdentifier;
-    return $this;
-  }
-
-  /**
-   * Get externalIdentifier
-   *
-   * @return string
-   */
-  public function getExternalIdentifier() {
-    return $this->externalIdentifier;
-  }
-  
-  /**
-   * Set sortName
-   *
-   * @param string $sortName
-   * @return Contact
-   */
-  public function setSortName($sortName) {
-    $this->sortName = $sortName;
-    return $this;
-  }
-
-  /**
-   * Get sortName
-   *
-   * @return string
-   */
-  public function getSortName() {
-    return $this->sortName;
-  }
-  
-  /**
-   * Set displayName
-   *
-   * @param string $displayName
-   * @return Contact
-   */
-  public function setDisplayName($displayName) {
-    $this->displayName = $displayName;
-    return $this;
-  }
-
-  /**
-   * Get displayName
-   *
-   * @return string
-   */
-  public function getDisplayName() {
-    return $this->displayName;
-  }
-  
-  /**
-   * Set nickName
-   *
-   * @param string $nickName
-   * @return Contact
-   */
-  public function setNickName($nickName) {
-    $this->nickName = $nickName;
-    return $this;
-  }
-
-  /**
-   * Get nickName
-   *
-   * @return string
-   */
-  public function getNickName() {
-    return $this->nickName;
-  }
-  
-  /**
-   * Set legalName
-   *
-   * @param string $legalName
-   * @return Contact
-   */
-  public function setLegalName($legalName) {
-    $this->legalName = $legalName;
-    return $this;
-  }
-
-  /**
-   * Get legalName
-   *
-   * @return string
-   */
-  public function getLegalName() {
-    return $this->legalName;
-  }
-  
-  /**
-   * Set imageURL
-   *
-   * @param string $imageURL
-   * @return Contact
-   */
-  public function setImageURL($imageURL) {
-    $this->imageURL = $imageURL;
-    return $this;
-  }
-
-  /**
-   * Get imageURL
-   *
-   * @return string
-   */
-  public function getImageURL() {
-    return $this->imageURL;
-  }
-  
-  /**
-   * Set preferredCommunicationMethod
-   *
-   * @param string $preferredCommunicationMethod
-   * @return Contact
-   */
-  public function setPreferredCommunicationMethod($preferredCommunicationMethod) {
-    $this->preferredCommunicationMethod = $preferredCommunicationMethod;
-    return $this;
-  }
-
-  /**
-   * Get preferredCommunicationMethod
-   *
-   * @return string
-   */
-  public function getPreferredCommunicationMethod() {
-    return $this->preferredCommunicationMethod;
-  }
-  
-  /**
-   * Set preferredLanguage
-   *
-   * @param string $preferredLanguage
-   * @return Contact
-   */
-  public function setPreferredLanguage($preferredLanguage) {
-    $this->preferredLanguage = $preferredLanguage;
-    return $this;
-  }
-
-  /**
-   * Get preferredLanguage
-   *
-   * @return string
-   */
-  public function getPreferredLanguage() {
-    return $this->preferredLanguage;
-  }
-  
-  /**
-   * Set preferredMailFormat
-   *
-   * @param string $preferredMailFormat
-   * @return Contact
-   */
-  public function setPreferredMailFormat($preferredMailFormat) {
-    $this->preferredMailFormat = $preferredMailFormat;
-    return $this;
-  }
-
-  /**
-   * Get preferredMailFormat
-   *
-   * @return string
-   */
-  public function getPreferredMailFormat() {
-    return $this->preferredMailFormat;
-  }
-  
-  /**
-   * Set hash
-   *
-   * @param string $hash
-   * @return Contact
-   */
-  public function setHash($hash) {
-    $this->hash = $hash;
-    return $this;
-  }
-
-  /**
-   * Get hash
-   *
-   * @return string
-   */
-  public function getHash() {
-    return $this->hash;
-  }
-  
-  /**
-   * Set apiKey
-   *
-   * @param string $apiKey
-   * @return Contact
-   */
-  public function setApiKey($apiKey) {
-    $this->apiKey = $apiKey;
-    return $this;
-  }
-
-  /**
-   * Get apiKey
-   *
-   * @return string
-   */
-  public function getApiKey() {
-    return $this->apiKey;
-  }
-  
-  /**
-   * Set source
-   *
-   * @param string $source
-   * @return Contact
-   */
-  public function setSource($source) {
-    $this->source = $source;
-    return $this;
-  }
-
-  /**
-   * Get source
-   *
-   * @return string
-   */
-  public function getSource() {
-    return $this->source;
-  }
-  
-  /**
-   * Set firstName
-   *
-   * @param string $firstName
-   * @return Contact
-   */
-  public function setFirstName($firstName) {
-    $this->firstName = $firstName;
-    return $this;
-  }
-
-  /**
-   * Get firstName
-   *
-   * @return string
-   */
-  public function getFirstName() {
-    return $this->firstName;
-  }
-  
-  /**
-   * Set middleName
-   *
-   * @param string $middleName
-   * @return Contact
-   */
-  public function setMiddleName($middleName) {
-    $this->middleName = $middleName;
-    return $this;
-  }
-
-  /**
-   * Get middleName
-   *
-   * @return string
-   */
-  public function getMiddleName() {
-    return $this->middleName;
-  }
-  
-  /**
-   * Set lastName
-   *
-   * @param string $lastName
-   * @return Contact
-   */
-  public function setLastName($lastName) {
-    $this->lastName = $lastName;
-    return $this;
-  }
-
-  /**
-   * Get lastName
-   *
-   * @return string
-   */
-  public function getLastName() {
-    return $this->lastName;
-  }
-  
-  /**
-   * Set prefixId
-   *
-   * @param integer $prefixId
-   * @return Contact
-   */
-  public function setPrefixId($prefixId) {
-    $this->prefixId = $prefixId;
-    return $this;
-  }
-
-  /**
-   * Get prefixId
-   *
-   * @return integer
-   */
-  public function getPrefixId() {
-    return $this->prefixId;
-  }
-  
-  /**
-   * Set suffixId
-   *
-   * @param integer $suffixId
-   * @return Contact
-   */
-  public function setSuffixId($suffixId) {
-    $this->suffixId = $suffixId;
-    return $this;
-  }
-
-  /**
-   * Get suffixId
-   *
-   * @return integer
-   */
-  public function getSuffixId() {
-    return $this->suffixId;
-  }
-  
-  /**
-   * Set formalTitle
-   *
-   * @param string $formalTitle
-   * @return Contact
-   */
-  public function setFormalTitle($formalTitle) {
-    $this->formalTitle = $formalTitle;
-    return $this;
-  }
-
-  /**
-   * Get formalTitle
-   *
-   * @return string
-   */
-  public function getFormalTitle() {
-    return $this->formalTitle;
-  }
-  
-  /**
-   * Set communicationStyleId
-   *
-   * @param integer $communicationStyleId
-   * @return Contact
-   */
-  public function setCommunicationStyleId($communicationStyleId) {
-    $this->communicationStyleId = $communicationStyleId;
-    return $this;
-  }
-
-  /**
-   * Get communicationStyleId
-   *
-   * @return integer
-   */
-  public function getCommunicationStyleId() {
-    return $this->communicationStyleId;
-  }
-  
-  /**
-   * Set emailGreetingId
-   *
-   * @param integer $emailGreetingId
-   * @return Contact
-   */
-  public function setEmailGreetingId($emailGreetingId) {
-    $this->emailGreetingId = $emailGreetingId;
-    return $this;
-  }
-
-  /**
-   * Get emailGreetingId
-   *
-   * @return integer
-   */
-  public function getEmailGreetingId() {
-    return $this->emailGreetingId;
-  }
-  
-  /**
-   * Set emailGreetingCustom
-   *
-   * @param string $emailGreetingCustom
-   * @return Contact
-   */
-  public function setEmailGreetingCustom($emailGreetingCustom) {
-    $this->emailGreetingCustom = $emailGreetingCustom;
-    return $this;
-  }
-
-  /**
-   * Get emailGreetingCustom
-   *
-   * @return string
-   */
-  public function getEmailGreetingCustom() {
-    return $this->emailGreetingCustom;
-  }
-  
-  /**
-   * Set emailGreetingDisplay
-   *
-   * @param string $emailGreetingDisplay
-   * @return Contact
-   */
-  public function setEmailGreetingDisplay($emailGreetingDisplay) {
-    $this->emailGreetingDisplay = $emailGreetingDisplay;
-    return $this;
-  }
-
-  /**
-   * Get emailGreetingDisplay
-   *
-   * @return string
-   */
-  public function getEmailGreetingDisplay() {
-    return $this->emailGreetingDisplay;
-  }
-  
-  /**
-   * Set postalGreetingId
-   *
-   * @param integer $postalGreetingId
-   * @return Contact
-   */
-  public function setPostalGreetingId($postalGreetingId) {
-    $this->postalGreetingId = $postalGreetingId;
-    return $this;
-  }
-
-  /**
-   * Get postalGreetingId
-   *
-   * @return integer
-   */
-  public function getPostalGreetingId() {
-    return $this->postalGreetingId;
-  }
-  
-  /**
-   * Set postalGreetingCustom
-   *
-   * @param string $postalGreetingCustom
-   * @return Contact
-   */
-  public function setPostalGreetingCustom($postalGreetingCustom) {
-    $this->postalGreetingCustom = $postalGreetingCustom;
-    return $this;
-  }
-
-  /**
-   * Get postalGreetingCustom
-   *
-   * @return string
-   */
-  public function getPostalGreetingCustom() {
-    return $this->postalGreetingCustom;
-  }
-  
-  /**
-   * Set postalGreetingDisplay
-   *
-   * @param string $postalGreetingDisplay
-   * @return Contact
-   */
-  public function setPostalGreetingDisplay($postalGreetingDisplay) {
-    $this->postalGreetingDisplay = $postalGreetingDisplay;
-    return $this;
-  }
-
-  /**
-   * Get postalGreetingDisplay
-   *
-   * @return string
-   */
-  public function getPostalGreetingDisplay() {
-    return $this->postalGreetingDisplay;
-  }
-  
-  /**
-   * Set addresseeId
-   *
-   * @param integer $addresseeId
-   * @return Contact
-   */
-  public function setAddresseeId($addresseeId) {
-    $this->addresseeId = $addresseeId;
-    return $this;
-  }
-
-  /**
-   * Get addresseeId
-   *
-   * @return integer
-   */
-  public function getAddresseeId() {
-    return $this->addresseeId;
-  }
-  
-  /**
-   * Set addresseeCustom
-   *
-   * @param string $addresseeCustom
-   * @return Contact
-   */
-  public function setAddresseeCustom($addresseeCustom) {
-    $this->addresseeCustom = $addresseeCustom;
-    return $this;
-  }
-
-  /**
-   * Get addresseeCustom
-   *
-   * @return string
-   */
-  public function getAddresseeCustom() {
-    return $this->addresseeCustom;
-  }
-  
-  /**
-   * Set addresseeDisplay
-   *
-   * @param string $addresseeDisplay
-   * @return Contact
-   */
-  public function setAddresseeDisplay($addresseeDisplay) {
-    $this->addresseeDisplay = $addresseeDisplay;
-    return $this;
-  }
-
-  /**
-   * Get addresseeDisplay
-   *
-   * @return string
-   */
-  public function getAddresseeDisplay() {
-    return $this->addresseeDisplay;
-  }
-  
-  /**
-   * Set jobTitle
-   *
-   * @param string $jobTitle
-   * @return Contact
-   */
-  public function setJobTitle($jobTitle) {
-    $this->jobTitle = $jobTitle;
-    return $this;
-  }
-
-  /**
-   * Get jobTitle
-   *
-   * @return string
-   */
-  public function getJobTitle() {
-    return $this->jobTitle;
-  }
-  
-  /**
-   * Set genderId
-   *
-   * @param integer $genderId
-   * @return Contact
-   */
-  public function setGenderId($genderId) {
-    $this->genderId = $genderId;
-    return $this;
-  }
-
-  /**
-   * Get genderId
-   *
-   * @return integer
-   */
-  public function getGenderId() {
-    return $this->genderId;
-  }
-  
-  /**
-   * Set birthDate
-   *
-   * @param date $birthDate
-   * @return Contact
-   */
-  public function setBirthDate($birthDate) {
-    $this->birthDate = $birthDate;
-    return $this;
-  }
-
-  /**
-   * Get birthDate
-   *
-   * @return date
-   */
-  public function getBirthDate() {
-    return $this->birthDate;
-  }
-  
-  /**
-   * Set isDeceased
-   *
-   * @param boolean $isDeceased
-   * @return Contact
-   */
-  public function setIsDeceased($isDeceased) {
-    $this->isDeceased = $isDeceased;
-    return $this;
-  }
-
-  /**
-   * Get isDeceased
-   *
-   * @return boolean
-   */
-  public function getIsDeceased() {
-    return $this->isDeceased;
-  }
-  
-  /**
-   * Set deceasedDate
-   *
-   * @param date $deceasedDate
-   * @return Contact
-   */
-  public function setDeceasedDate($deceasedDate) {
-    $this->deceasedDate = $deceasedDate;
-    return $this;
-  }
-
-  /**
-   * Get deceasedDate
-   *
-   * @return date
-   */
-  public function getDeceasedDate() {
-    return $this->deceasedDate;
-  }
-  
-  /**
-   * Set householdName
-   *
-   * @param string $householdName
-   * @return Contact
-   */
-  public function setHouseholdName($householdName) {
-    $this->householdName = $householdName;
-    return $this;
-  }
-
-  /**
-   * Get householdName
-   *
-   * @return string
-   */
-  public function getHouseholdName() {
-    return $this->householdName;
-  }
-  
-  /**
-   * Set primaryContact
-   *
-   * @param \Civi\Contact\Contact $primaryContact
-   * @return Contact
-   */
-  public function setPrimaryContact(\Civi\Contact\Contact $primaryContact = null) {
-    $this->primaryContact = $primaryContact;
-    return $this;
-  }
-
-  /**
-   * Get primaryContact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getPrimaryContact() {
-    return $this->primaryContact;
-  }
-  
-  /**
-   * Set organizationName
-   *
-   * @param string $organizationName
-   * @return Contact
-   */
-  public function setOrganizationName($organizationName) {
-    $this->organizationName = $organizationName;
-    return $this;
-  }
-
-  /**
-   * Get organizationName
-   *
-   * @return string
-   */
-  public function getOrganizationName() {
-    return $this->organizationName;
-  }
-  
-  /**
-   * Set sicCode
-   *
-   * @param string $sicCode
-   * @return Contact
-   */
-  public function setSicCode($sicCode) {
-    $this->sicCode = $sicCode;
-    return $this;
-  }
-
-  /**
-   * Get sicCode
-   *
-   * @return string
-   */
-  public function getSicCode() {
-    return $this->sicCode;
-  }
-  
-  /**
-   * Set userUniqueId
-   *
-   * @param string $userUniqueId
-   * @return Contact
-   */
-  public function setUserUniqueId($userUniqueId) {
-    $this->userUniqueId = $userUniqueId;
-    return $this;
-  }
-
-  /**
-   * Get userUniqueId
-   *
-   * @return string
-   */
-  public function getUserUniqueId() {
-    return $this->userUniqueId;
-  }
-  
-  /**
-   * Set employer
-   *
-   * @param \Civi\Contact\Contact $employer
-   * @return Contact
-   */
-  public function setEmployer(\Civi\Contact\Contact $employer = null) {
-    $this->employer = $employer;
-    return $this;
-  }
-
-  /**
-   * Get employer
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getEmployer() {
-    return $this->employer;
-  }
-  
-  /**
-   * Set isDeleted
-   *
-   * @param boolean $isDeleted
-   * @return Contact
-   */
-  public function setIsDeleted($isDeleted) {
-    $this->isDeleted = $isDeleted;
-    return $this;
-  }
-
-  /**
-   * Get isDeleted
-   *
-   * @return boolean
-   */
-  public function getIsDeleted() {
-    return $this->isDeleted;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param timestamp $createdDate
-   * @return Contact
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return timestamp
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param timestamp $modifiedDate
-   * @return Contact
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return timestamp
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-
-}
-
diff --git a/Civi/Contact/ContactType.php b/Civi/Contact/ContactType.php
deleted file mode 100644 (file)
index 40c5aaf..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/ContactType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ContactType
- *
- * @ORM\Table(name="civicrm_contact_type", uniqueConstraints={@ORM\UniqueConstraint(name="contact_type", columns={"name"})}, indexes={@ORM\Index(name="FK_civicrm_contact_type_parent_id", columns={"parent_id"})})
- * @ORM\Entity
- */
-class ContactType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=64, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="image_URL", type="string", length=255, nullable=true)
-   * 
-   */
-  private $imageURL;
-  
-  /**
-   * @var \Civi\Contact\ContactType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\ContactType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_id", referencedColumnName="id")})
-   */
-  private $parent;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return ContactType
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return ContactType
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return ContactType
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set imageURL
-   *
-   * @param string $imageURL
-   * @return ContactType
-   */
-  public function setImageURL($imageURL) {
-    $this->imageURL = $imageURL;
-    return $this;
-  }
-
-  /**
-   * Get imageURL
-   *
-   * @return string
-   */
-  public function getImageURL() {
-    return $this->imageURL;
-  }
-  
-  /**
-   * Set parent
-   *
-   * @param \Civi\Contact\ContactType $parent
-   * @return ContactType
-   */
-  public function setParent(\Civi\Contact\ContactType $parent = null) {
-    $this->parent = $parent;
-    return $this;
-  }
-
-  /**
-   * Get parent
-   *
-   * @return \Civi\Contact\ContactType
-   */
-  public function getParent() {
-    return $this->parent;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return ContactType
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return ContactType
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-
-}
-
diff --git a/Civi/Contact/DashboardContact.php b/Civi/Contact/DashboardContact.php
deleted file mode 100644 (file)
index 20cb9b3..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/DashboardContact.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * DashboardContact
- *
- * @ORM\Table(name="civicrm_dashboard_contact", indexes={@ORM\Index(name="FK_civicrm_dashboard_contact_dashboard_id", columns={"dashboard_id"}),@ORM\Index(name="FK_civicrm_dashboard_contact_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class DashboardContact extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Dashboard
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Dashboard")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="dashboard_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $dashboard;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="column_no", type="boolean", nullable=false)
-   * 
-   */
-  private $columnNo = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_minimized", type="boolean", nullable=false)
-   * 
-   */
-  private $isMinimized = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_fullscreen", type="boolean", nullable=false)
-   * 
-   */
-  private $isFullscreen = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '0';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '0';
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="content", type="longtext", nullable=true)
-   * 
-   */
-  private $content;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set dashboard
-   *
-   * @param \Civi\Core\Dashboard $dashboard
-   * @return DashboardContact
-   */
-  public function setDashboard(\Civi\Core\Dashboard $dashboard = null) {
-    $this->dashboard = $dashboard;
-    return $this;
-  }
-
-  /**
-   * Get dashboard
-   *
-   * @return \Civi\Core\Dashboard
-   */
-  public function getDashboard() {
-    return $this->dashboard;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return DashboardContact
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set columnNo
-   *
-   * @param boolean $columnNo
-   * @return DashboardContact
-   */
-  public function setColumnNo($columnNo) {
-    $this->columnNo = $columnNo;
-    return $this;
-  }
-
-  /**
-   * Get columnNo
-   *
-   * @return boolean
-   */
-  public function getColumnNo() {
-    return $this->columnNo;
-  }
-  
-  /**
-   * Set isMinimized
-   *
-   * @param boolean $isMinimized
-   * @return DashboardContact
-   */
-  public function setIsMinimized($isMinimized) {
-    $this->isMinimized = $isMinimized;
-    return $this;
-  }
-
-  /**
-   * Get isMinimized
-   *
-   * @return boolean
-   */
-  public function getIsMinimized() {
-    return $this->isMinimized;
-  }
-  
-  /**
-   * Set isFullscreen
-   *
-   * @param boolean $isFullscreen
-   * @return DashboardContact
-   */
-  public function setIsFullscreen($isFullscreen) {
-    $this->isFullscreen = $isFullscreen;
-    return $this;
-  }
-
-  /**
-   * Get isFullscreen
-   *
-   * @return boolean
-   */
-  public function getIsFullscreen() {
-    return $this->isFullscreen;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return DashboardContact
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return DashboardContact
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set content
-   *
-   * @param longtext $content
-   * @return DashboardContact
-   */
-  public function setContent($content) {
-    $this->content = $content;
-    return $this;
-  }
-
-  /**
-   * Get content
-   *
-   * @return longtext
-   */
-  public function getContent() {
-    return $this->content;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return DashboardContact
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-
-}
-
diff --git a/Civi/Contact/Group.php b/Civi/Contact/Group.php
deleted file mode 100644 (file)
index 7a3d7df..0000000
+++ /dev/null
@@ -1,600 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/Group.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Group
- *
- * @ORM\Table(name="civicrm_group", uniqueConstraints={@ORM\UniqueConstraint(name="UI_title", columns={"title"}),@ORM\UniqueConstraint(name="UI_name", columns={"name"})}, indexes={@ORM\Index(name="index_group_type", columns={"group_type"}),@ORM\Index(name="FK_civicrm_group_saved_search_id", columns={"saved_search_id"}),@ORM\Index(name="FK_civicrm_group_created_id", columns={"created_id"}),@ORM\Index(name="FK_civicrm_group_modified_id", columns={"modified_id"})})
- * @ORM\Entity
- */
-class Group extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=64, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="source", type="string", length=64, nullable=true)
-   * 
-   */
-  private $source;
-  
-  /**
-   * @var \Civi\Contact\SavedSearch
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\SavedSearch")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="saved_search_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $savedSearch;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="visibility", type="string", length=24, nullable=false)
-   * 
-   */
-  private $visibility = 'User and User Admin Only';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="where_clause", type="text", nullable=true)
-   * 
-   */
-  private $whereClause;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="select_tables", type="text", nullable=true)
-   * 
-   */
-  private $selectTables;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="where_tables", type="text", nullable=true)
-   * 
-   */
-  private $whereTables;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="group_type", type="string", length=128, nullable=true)
-   * 
-   */
-  private $groupType;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="cache_date", type="datetime", nullable=true)
-   * 
-   */
-  private $cacheDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="refresh_date", type="datetime", nullable=true)
-   * 
-   */
-  private $refreshDate;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="parents", type="text", nullable=true)
-   * 
-   */
-  private $parents;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="children", type="text", nullable=true)
-   * 
-   */
-  private $children;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_hidden", type="boolean", nullable=false)
-   * 
-   */
-  private $isHidden = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="modified_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $modified;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Group
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Group
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return Group
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set source
-   *
-   * @param string $source
-   * @return Group
-   */
-  public function setSource($source) {
-    $this->source = $source;
-    return $this;
-  }
-
-  /**
-   * Get source
-   *
-   * @return string
-   */
-  public function getSource() {
-    return $this->source;
-  }
-  
-  /**
-   * Set savedSearch
-   *
-   * @param \Civi\Contact\SavedSearch $savedSearch
-   * @return Group
-   */
-  public function setSavedSearch(\Civi\Contact\SavedSearch $savedSearch = null) {
-    $this->savedSearch = $savedSearch;
-    return $this;
-  }
-
-  /**
-   * Get savedSearch
-   *
-   * @return \Civi\Contact\SavedSearch
-   */
-  public function getSavedSearch() {
-    return $this->savedSearch;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Group
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set visibility
-   *
-   * @param string $visibility
-   * @return Group
-   */
-  public function setVisibility($visibility) {
-    $this->visibility = $visibility;
-    return $this;
-  }
-
-  /**
-   * Get visibility
-   *
-   * @return string
-   */
-  public function getVisibility() {
-    return $this->visibility;
-  }
-  
-  /**
-   * Set whereClause
-   *
-   * @param text $whereClause
-   * @return Group
-   */
-  public function setWhereClause($whereClause) {
-    $this->whereClause = $whereClause;
-    return $this;
-  }
-
-  /**
-   * Get whereClause
-   *
-   * @return text
-   */
-  public function getWhereClause() {
-    return $this->whereClause;
-  }
-  
-  /**
-   * Set selectTables
-   *
-   * @param text $selectTables
-   * @return Group
-   */
-  public function setSelectTables($selectTables) {
-    $this->selectTables = $selectTables;
-    return $this;
-  }
-
-  /**
-   * Get selectTables
-   *
-   * @return text
-   */
-  public function getSelectTables() {
-    return $this->selectTables;
-  }
-  
-  /**
-   * Set whereTables
-   *
-   * @param text $whereTables
-   * @return Group
-   */
-  public function setWhereTables($whereTables) {
-    $this->whereTables = $whereTables;
-    return $this;
-  }
-
-  /**
-   * Get whereTables
-   *
-   * @return text
-   */
-  public function getWhereTables() {
-    return $this->whereTables;
-  }
-  
-  /**
-   * Set groupType
-   *
-   * @param string $groupType
-   * @return Group
-   */
-  public function setGroupType($groupType) {
-    $this->groupType = $groupType;
-    return $this;
-  }
-
-  /**
-   * Get groupType
-   *
-   * @return string
-   */
-  public function getGroupType() {
-    return $this->groupType;
-  }
-  
-  /**
-   * Set cacheDate
-   *
-   * @param datetime $cacheDate
-   * @return Group
-   */
-  public function setCacheDate($cacheDate) {
-    $this->cacheDate = $cacheDate;
-    return $this;
-  }
-
-  /**
-   * Get cacheDate
-   *
-   * @return datetime
-   */
-  public function getCacheDate() {
-    return $this->cacheDate;
-  }
-  
-  /**
-   * Set refreshDate
-   *
-   * @param datetime $refreshDate
-   * @return Group
-   */
-  public function setRefreshDate($refreshDate) {
-    $this->refreshDate = $refreshDate;
-    return $this;
-  }
-
-  /**
-   * Get refreshDate
-   *
-   * @return datetime
-   */
-  public function getRefreshDate() {
-    return $this->refreshDate;
-  }
-  
-  /**
-   * Set parents
-   *
-   * @param text $parents
-   * @return Group
-   */
-  public function setParents($parents) {
-    $this->parents = $parents;
-    return $this;
-  }
-
-  /**
-   * Get parents
-   *
-   * @return text
-   */
-  public function getParents() {
-    return $this->parents;
-  }
-  
-  /**
-   * Set children
-   *
-   * @param text $children
-   * @return Group
-   */
-  public function setChildren($children) {
-    $this->children = $children;
-    return $this;
-  }
-
-  /**
-   * Get children
-   *
-   * @return text
-   */
-  public function getChildren() {
-    return $this->children;
-  }
-  
-  /**
-   * Set isHidden
-   *
-   * @param boolean $isHidden
-   * @return Group
-   */
-  public function setIsHidden($isHidden) {
-    $this->isHidden = $isHidden;
-    return $this;
-  }
-
-  /**
-   * Get isHidden
-   *
-   * @return boolean
-   */
-  public function getIsHidden() {
-    return $this->isHidden;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return Group
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Group
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set modified
-   *
-   * @param \Civi\Contact\Contact $modified
-   * @return Group
-   */
-  public function setModified(\Civi\Contact\Contact $modified = null) {
-    $this->modified = $modified;
-    return $this;
-  }
-
-  /**
-   * Get modified
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getModified() {
-    return $this->modified;
-  }
-
-}
-
diff --git a/Civi/Contact/GroupContact.php b/Civi/Contact/GroupContact.php
deleted file mode 100644 (file)
index 8499027..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/GroupContact.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * GroupContact
- *
- * @ORM\Table(name="civicrm_group_contact", uniqueConstraints={@ORM\UniqueConstraint(name="UI_contact_group", columns={"contact_id,group_id"})}, indexes={@ORM\Index(name="FK_civicrm_group_contact_group_id", columns={"group_id"}),@ORM\Index(name="FK_civicrm_group_contact_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_group_contact_location_id", columns={"location_id"}),@ORM\Index(name="FK_civicrm_group_contact_email_id", columns={"email_id"})})
- * @ORM\Entity
- */
-class GroupContact extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $group;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="status", type="string", length=8, nullable=true)
-   * 
-   */
-  private $status;
-  
-  /**
-   * @var \Civi\Core\LocBlock
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\LocBlock")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="location_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $location;
-  
-  /**
-   * @var \Civi\Core\Email
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Email")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="email_id", referencedColumnName="id")})
-   */
-  private $email;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set group
-   *
-   * @param \Civi\Contact\Group $group
-   * @return GroupContact
-   */
-  public function setGroup(\Civi\Contact\Group $group = null) {
-    $this->group = $group;
-    return $this;
-  }
-
-  /**
-   * Get group
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getGroup() {
-    return $this->group;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return GroupContact
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set status
-   *
-   * @param string $status
-   * @return GroupContact
-   */
-  public function setStatus($status) {
-    $this->status = $status;
-    return $this;
-  }
-
-  /**
-   * Get status
-   *
-   * @return string
-   */
-  public function getStatus() {
-    return $this->status;
-  }
-  
-  /**
-   * Set location
-   *
-   * @param \Civi\Core\LocBlock $location
-   * @return GroupContact
-   */
-  public function setLocation(\Civi\Core\LocBlock $location = null) {
-    $this->location = $location;
-    return $this;
-  }
-
-  /**
-   * Get location
-   *
-   * @return \Civi\Core\LocBlock
-   */
-  public function getLocation() {
-    return $this->location;
-  }
-  
-  /**
-   * Set email
-   *
-   * @param \Civi\Core\Email $email
-   * @return GroupContact
-   */
-  public function setEmail(\Civi\Core\Email $email = null) {
-    $this->email = $email;
-    return $this;
-  }
-
-  /**
-   * Get email
-   *
-   * @return \Civi\Core\Email
-   */
-  public function getEmail() {
-    return $this->email;
-  }
-
-}
-
diff --git a/Civi/Contact/GroupContactCache.php b/Civi/Contact/GroupContactCache.php
deleted file mode 100644 (file)
index e8cdb2f..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/GroupContactCache.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * GroupContactCache
- *
- * @ORM\Table(name="civicrm_group_contact_cache", uniqueConstraints={@ORM\UniqueConstraint(name="UI_contact_group", columns={"contact_id,group_id"})}, indexes={@ORM\Index(name="FK_civicrm_group_contact_cache_group_id", columns={"group_id"}),@ORM\Index(name="FK_civicrm_group_contact_cache_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class GroupContactCache extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $group;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set group
-   *
-   * @param \Civi\Contact\Group $group
-   * @return GroupContactCache
-   */
-  public function setGroup(\Civi\Contact\Group $group = null) {
-    $this->group = $group;
-    return $this;
-  }
-
-  /**
-   * Get group
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getGroup() {
-    return $this->group;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return GroupContactCache
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-
-}
-
diff --git a/Civi/Contact/GroupNesting.php b/Civi/Contact/GroupNesting.php
deleted file mode 100644 (file)
index d040022..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/GroupNesting.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * GroupNesting
- *
- * @ORM\Table(name="civicrm_group_nesting", indexes={@ORM\Index(name="FK_civicrm_group_nesting_child_group_id", columns={"child_group_id"}),@ORM\Index(name="FK_civicrm_group_nesting_parent_group_id", columns={"parent_group_id"})})
- * @ORM\Entity
- */
-class GroupNesting extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="child_group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $childGroup;
-  
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $parentGroup;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set childGroup
-   *
-   * @param \Civi\Contact\Group $childGroup
-   * @return GroupNesting
-   */
-  public function setChildGroup(\Civi\Contact\Group $childGroup = null) {
-    $this->childGroup = $childGroup;
-    return $this;
-  }
-
-  /**
-   * Get childGroup
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getChildGroup() {
-    return $this->childGroup;
-  }
-  
-  /**
-   * Set parentGroup
-   *
-   * @param \Civi\Contact\Group $parentGroup
-   * @return GroupNesting
-   */
-  public function setParentGroup(\Civi\Contact\Group $parentGroup = null) {
-    $this->parentGroup = $parentGroup;
-    return $this;
-  }
-
-  /**
-   * Get parentGroup
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getParentGroup() {
-    return $this->parentGroup;
-  }
-
-}
-
diff --git a/Civi/Contact/GroupOrganization.php b/Civi/Contact/GroupOrganization.php
deleted file mode 100644 (file)
index 68f3f7c..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/GroupOrganization.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * GroupOrganization
- *
- * @ORM\Table(name="civicrm_group_organization", uniqueConstraints={@ORM\UniqueConstraint(name="UI_group_organization", columns={"group_id,organization_id"})}, indexes={@ORM\Index(name="FK_civicrm_group_organization_group_id", columns={"group_id"}),@ORM\Index(name="FK_civicrm_group_organization_organization_id", columns={"organization_id"})})
- * @ORM\Entity
- */
-class GroupOrganization extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $group;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="organization_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $organization;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set group
-   *
-   * @param \Civi\Contact\Group $group
-   * @return GroupOrganization
-   */
-  public function setGroup(\Civi\Contact\Group $group = null) {
-    $this->group = $group;
-    return $this;
-  }
-
-  /**
-   * Get group
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getGroup() {
-    return $this->group;
-  }
-  
-  /**
-   * Set organization
-   *
-   * @param \Civi\Contact\Contact $organization
-   * @return GroupOrganization
-   */
-  public function setOrganization(\Civi\Contact\Contact $organization = null) {
-    $this->organization = $organization;
-    return $this;
-  }
-
-  /**
-   * Get organization
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getOrganization() {
-    return $this->organization;
-  }
-
-}
-
diff --git a/Civi/Contact/Relationship.php b/Civi/Contact/Relationship.php
deleted file mode 100644 (file)
index 6a690a1..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/Relationship.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Relationship
- *
- * @ORM\Table(name="civicrm_relationship", indexes={@ORM\Index(name="FK_civicrm_relationship_contact_id_a", columns={"contact_id_a"}),@ORM\Index(name="FK_civicrm_relationship_contact_id_b", columns={"contact_id_b"}),@ORM\Index(name="FK_civicrm_relationship_relationship_type_id", columns={"relationship_type_id"}),@ORM\Index(name="FK_civicrm_relationship_case_id", columns={"case_id"})})
- * @ORM\Entity
- */
-class Relationship extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id_a", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contactA;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id_b", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contactB;
-  
-  /**
-   * @var \Civi\Contact\RelationshipType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\RelationshipType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="relationship_type_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $relationshipType;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="start_date", type="date", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="end_date", type="date", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_permission_a_b", type="boolean", nullable=false)
-   * 
-   */
-  private $isPermissionAB = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_permission_b_a", type="boolean", nullable=false)
-   * 
-   */
-  private $isPermissionBA = '0';
-  
-  /**
-   * @var \Civi\CCase\CCase
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\CCase\CCase")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="case_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $case = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contactA
-   *
-   * @param \Civi\Contact\Contact $contactA
-   * @return Relationship
-   */
-  public function setContactA(\Civi\Contact\Contact $contactA = null) {
-    $this->contactA = $contactA;
-    return $this;
-  }
-
-  /**
-   * Get contactA
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContactA() {
-    return $this->contactA;
-  }
-  
-  /**
-   * Set contactB
-   *
-   * @param \Civi\Contact\Contact $contactB
-   * @return Relationship
-   */
-  public function setContactB(\Civi\Contact\Contact $contactB = null) {
-    $this->contactB = $contactB;
-    return $this;
-  }
-
-  /**
-   * Get contactB
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContactB() {
-    return $this->contactB;
-  }
-  
-  /**
-   * Set relationshipType
-   *
-   * @param \Civi\Contact\RelationshipType $relationshipType
-   * @return Relationship
-   */
-  public function setRelationshipType(\Civi\Contact\RelationshipType $relationshipType = null) {
-    $this->relationshipType = $relationshipType;
-    return $this;
-  }
-
-  /**
-   * Get relationshipType
-   *
-   * @return \Civi\Contact\RelationshipType
-   */
-  public function getRelationshipType() {
-    return $this->relationshipType;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param date $startDate
-   * @return Relationship
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return date
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param date $endDate
-   * @return Relationship
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return date
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Relationship
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return Relationship
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set isPermissionAB
-   *
-   * @param boolean $isPermissionAB
-   * @return Relationship
-   */
-  public function setIsPermissionAB($isPermissionAB) {
-    $this->isPermissionAB = $isPermissionAB;
-    return $this;
-  }
-
-  /**
-   * Get isPermissionAB
-   *
-   * @return boolean
-   */
-  public function getIsPermissionAB() {
-    return $this->isPermissionAB;
-  }
-  
-  /**
-   * Set isPermissionBA
-   *
-   * @param boolean $isPermissionBA
-   * @return Relationship
-   */
-  public function setIsPermissionBA($isPermissionBA) {
-    $this->isPermissionBA = $isPermissionBA;
-    return $this;
-  }
-
-  /**
-   * Get isPermissionBA
-   *
-   * @return boolean
-   */
-  public function getIsPermissionBA() {
-    return $this->isPermissionBA;
-  }
-  
-  /**
-   * Set case
-   *
-   * @param \Civi\CCase\CCase $case
-   * @return Relationship
-   */
-  public function setCase(\Civi\CCase\CCase $case = null) {
-    $this->case = $case;
-    return $this;
-  }
-
-  /**
-   * Get case
-   *
-   * @return \Civi\CCase\CCase
-   */
-  public function getCase() {
-    return $this->case;
-  }
-
-}
-
diff --git a/Civi/Contact/RelationshipType.php b/Civi/Contact/RelationshipType.php
deleted file mode 100644 (file)
index 597366d..0000000
+++ /dev/null
@@ -1,376 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/RelationshipType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * RelationshipType
- *
- * @ORM\Table(name="civicrm_relationship_type", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name_a_b", columns={"name_a_b"}),@ORM\UniqueConstraint(name="UI_name_b_a", columns={"name_b_a"})})
- * @ORM\Entity
- */
-class RelationshipType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name_a_b", type="string", length=64, nullable=true)
-   * 
-   */
-  private $nameAB;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label_a_b", type="string", length=64, nullable=true)
-   * 
-   */
-  private $labelAB;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name_b_a", type="string", length=64, nullable=true)
-   * 
-   */
-  private $nameBA;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label_b_a", type="string", length=64, nullable=true)
-   * 
-   */
-  private $labelBA;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_type_a", type="string", length=12, nullable=true)
-   * 
-   */
-  private $contactTypeA;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_type_b", type="string", length=12, nullable=true)
-   * 
-   */
-  private $contactTypeB;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_sub_type_a", type="string", length=64, nullable=true)
-   * 
-   */
-  private $contactSubTypeA;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_sub_type_b", type="string", length=64, nullable=true)
-   * 
-   */
-  private $contactSubTypeB;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set nameAB
-   *
-   * @param string $nameAB
-   * @return RelationshipType
-   */
-  public function setNameAB($nameAB) {
-    $this->nameAB = $nameAB;
-    return $this;
-  }
-
-  /**
-   * Get nameAB
-   *
-   * @return string
-   */
-  public function getNameAB() {
-    return $this->nameAB;
-  }
-  
-  /**
-   * Set labelAB
-   *
-   * @param string $labelAB
-   * @return RelationshipType
-   */
-  public function setLabelAB($labelAB) {
-    $this->labelAB = $labelAB;
-    return $this;
-  }
-
-  /**
-   * Get labelAB
-   *
-   * @return string
-   */
-  public function getLabelAB() {
-    return $this->labelAB;
-  }
-  
-  /**
-   * Set nameBA
-   *
-   * @param string $nameBA
-   * @return RelationshipType
-   */
-  public function setNameBA($nameBA) {
-    $this->nameBA = $nameBA;
-    return $this;
-  }
-
-  /**
-   * Get nameBA
-   *
-   * @return string
-   */
-  public function getNameBA() {
-    return $this->nameBA;
-  }
-  
-  /**
-   * Set labelBA
-   *
-   * @param string $labelBA
-   * @return RelationshipType
-   */
-  public function setLabelBA($labelBA) {
-    $this->labelBA = $labelBA;
-    return $this;
-  }
-
-  /**
-   * Get labelBA
-   *
-   * @return string
-   */
-  public function getLabelBA() {
-    return $this->labelBA;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return RelationshipType
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set contactTypeA
-   *
-   * @param string $contactTypeA
-   * @return RelationshipType
-   */
-  public function setContactTypeA($contactTypeA) {
-    $this->contactTypeA = $contactTypeA;
-    return $this;
-  }
-
-  /**
-   * Get contactTypeA
-   *
-   * @return string
-   */
-  public function getContactTypeA() {
-    return $this->contactTypeA;
-  }
-  
-  /**
-   * Set contactTypeB
-   *
-   * @param string $contactTypeB
-   * @return RelationshipType
-   */
-  public function setContactTypeB($contactTypeB) {
-    $this->contactTypeB = $contactTypeB;
-    return $this;
-  }
-
-  /**
-   * Get contactTypeB
-   *
-   * @return string
-   */
-  public function getContactTypeB() {
-    return $this->contactTypeB;
-  }
-  
-  /**
-   * Set contactSubTypeA
-   *
-   * @param string $contactSubTypeA
-   * @return RelationshipType
-   */
-  public function setContactSubTypeA($contactSubTypeA) {
-    $this->contactSubTypeA = $contactSubTypeA;
-    return $this;
-  }
-
-  /**
-   * Get contactSubTypeA
-   *
-   * @return string
-   */
-  public function getContactSubTypeA() {
-    return $this->contactSubTypeA;
-  }
-  
-  /**
-   * Set contactSubTypeB
-   *
-   * @param string $contactSubTypeB
-   * @return RelationshipType
-   */
-  public function setContactSubTypeB($contactSubTypeB) {
-    $this->contactSubTypeB = $contactSubTypeB;
-    return $this;
-  }
-
-  /**
-   * Get contactSubTypeB
-   *
-   * @return string
-   */
-  public function getContactSubTypeB() {
-    return $this->contactSubTypeB;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return RelationshipType
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return RelationshipType
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Contact/SavedSearch.php b/Civi/Contact/SavedSearch.php
deleted file mode 100644 (file)
index b310deb..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/SavedSearch.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * SavedSearch
- *
- * @ORM\Table(name="civicrm_saved_search", indexes={@ORM\Index(name="FK_civicrm_saved_search_mapping_id", columns={"mapping_id"})})
- * @ORM\Entity
- */
-class SavedSearch extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="form_values", type="text", nullable=true)
-   * 
-   */
-  private $formValues;
-  
-  /**
-   * @var \Civi\Core\Mapping
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Mapping")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="mapping_id", referencedColumnName="id")})
-   */
-  private $mapping;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="search_custom_id", type="integer", nullable=true)
-   * 
-   */
-  private $searchCustomId;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="where_clause", type="text", nullable=true)
-   * 
-   */
-  private $whereClause;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="select_tables", type="text", nullable=true)
-   * 
-   */
-  private $selectTables;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="where_tables", type="text", nullable=true)
-   * 
-   */
-  private $whereTables;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set formValues
-   *
-   * @param text $formValues
-   * @return SavedSearch
-   */
-  public function setFormValues($formValues) {
-    $this->formValues = $formValues;
-    return $this;
-  }
-
-  /**
-   * Get formValues
-   *
-   * @return text
-   */
-  public function getFormValues() {
-    return $this->formValues;
-  }
-  
-  /**
-   * Set mapping
-   *
-   * @param \Civi\Core\Mapping $mapping
-   * @return SavedSearch
-   */
-  public function setMapping(\Civi\Core\Mapping $mapping = null) {
-    $this->mapping = $mapping;
-    return $this;
-  }
-
-  /**
-   * Get mapping
-   *
-   * @return \Civi\Core\Mapping
-   */
-  public function getMapping() {
-    return $this->mapping;
-  }
-  
-  /**
-   * Set searchCustomId
-   *
-   * @param integer $searchCustomId
-   * @return SavedSearch
-   */
-  public function setSearchCustomId($searchCustomId) {
-    $this->searchCustomId = $searchCustomId;
-    return $this;
-  }
-
-  /**
-   * Get searchCustomId
-   *
-   * @return integer
-   */
-  public function getSearchCustomId() {
-    return $this->searchCustomId;
-  }
-  
-  /**
-   * Set whereClause
-   *
-   * @param text $whereClause
-   * @return SavedSearch
-   */
-  public function setWhereClause($whereClause) {
-    $this->whereClause = $whereClause;
-    return $this;
-  }
-
-  /**
-   * Get whereClause
-   *
-   * @return text
-   */
-  public function getWhereClause() {
-    return $this->whereClause;
-  }
-  
-  /**
-   * Set selectTables
-   *
-   * @param text $selectTables
-   * @return SavedSearch
-   */
-  public function setSelectTables($selectTables) {
-    $this->selectTables = $selectTables;
-    return $this;
-  }
-
-  /**
-   * Get selectTables
-   *
-   * @return text
-   */
-  public function getSelectTables() {
-    return $this->selectTables;
-  }
-  
-  /**
-   * Set whereTables
-   *
-   * @param text $whereTables
-   * @return SavedSearch
-   */
-  public function setWhereTables($whereTables) {
-    $this->whereTables = $whereTables;
-    return $this;
-  }
-
-  /**
-   * Get whereTables
-   *
-   * @return text
-   */
-  public function getWhereTables() {
-    return $this->whereTables;
-  }
-
-}
-
diff --git a/Civi/Contact/SubscriptionHistory.php b/Civi/Contact/SubscriptionHistory.php
deleted file mode 100644 (file)
index da80941..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * SubscriptionHistory
- *
- * @ORM\Table(name="civicrm_subscription_history", indexes={@ORM\Index(name="FK_civicrm_subscription_history_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_subscription_history_group_id", columns={"group_id"})})
- * @ORM\Entity
- */
-class SubscriptionHistory extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $group;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="date", type="datetime", nullable=true)
-   * 
-   */
-  private $date;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="method", type="string", length=8, nullable=true)
-   * 
-   */
-  private $method;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="status", type="string", length=8, nullable=true)
-   * 
-   */
-  private $status;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="tracking", type="string", length=255, nullable=true)
-   * 
-   */
-  private $tracking;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return SubscriptionHistory
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set group
-   *
-   * @param \Civi\Contact\Group $group
-   * @return SubscriptionHistory
-   */
-  public function setGroup(\Civi\Contact\Group $group = null) {
-    $this->group = $group;
-    return $this;
-  }
-
-  /**
-   * Get group
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getGroup() {
-    return $this->group;
-  }
-  
-  /**
-   * Set date
-   *
-   * @param datetime $date
-   * @return SubscriptionHistory
-   */
-  public function setDate($date) {
-    $this->date = $date;
-    return $this;
-  }
-
-  /**
-   * Get date
-   *
-   * @return datetime
-   */
-  public function getDate() {
-    return $this->date;
-  }
-  
-  /**
-   * Set method
-   *
-   * @param string $method
-   * @return SubscriptionHistory
-   */
-  public function setMethod($method) {
-    $this->method = $method;
-    return $this;
-  }
-
-  /**
-   * Get method
-   *
-   * @return string
-   */
-  public function getMethod() {
-    return $this->method;
-  }
-  
-  /**
-   * Set status
-   *
-   * @param string $status
-   * @return SubscriptionHistory
-   */
-  public function setStatus($status) {
-    $this->status = $status;
-    return $this;
-  }
-
-  /**
-   * Get status
-   *
-   * @return string
-   */
-  public function getStatus() {
-    return $this->status;
-  }
-  
-  /**
-   * Set tracking
-   *
-   * @param string $tracking
-   * @return SubscriptionHistory
-   */
-  public function setTracking($tracking) {
-    $this->tracking = $tracking;
-    return $this;
-  }
-
-  /**
-   * Get tracking
-   *
-   * @return string
-   */
-  public function getTracking() {
-    return $this->tracking;
-  }
-
-}
-
diff --git a/Civi/Contribute/Contribution.php b/Civi/Contribute/Contribution.php
deleted file mode 100644 (file)
index ab847cf..0000000
+++ /dev/null
@@ -1,768 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/Contribution.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Contribution
- *
- * @ORM\Table(name="civicrm_contribution", uniqueConstraints={@ORM\UniqueConstraint(name="UI_contrib_trxn_id", columns={"trxn_id"}),@ORM\UniqueConstraint(name="UI_contrib_invoice_id", columns={"invoice_id"})}, indexes={@ORM\Index(name="UI_contrib_payment_instrument_id", columns={"payment_instrument_id"}),@ORM\Index(name="index_contribution_status", columns={"contribution_status_id"}),@ORM\Index(name="received_date", columns={"receive_date"}),@ORM\Index(name="check_number", columns={"check_number"}),@ORM\Index(name="FK_civicrm_contribution_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_contribution_financial_type_id", columns={"financial_type_id"}),@ORM\Index(name="FK_civicrm_contribution_contribution_page_id", columns={"contribution_page_id"}),@ORM\Index(name="FK_civicrm_contribution_contribution_recur_id", columns={"contribution_recur_id"}),@ORM\Index(name="FK_civicrm_contribution_address_id", columns={"address_id"}),@ORM\Index(name="FK_civicrm_contribution_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class Contribution extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id")})
-   */
-  private $financialType;
-  
-  /**
-   * @var \Civi\Contribute\ContributionPage
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\ContributionPage")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_page_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $contributionPage;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="payment_instrument_id", type="integer", nullable=true)
-   * 
-   */
-  private $paymentInstrumentId;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="receive_date", type="datetime", nullable=true)
-   * 
-   */
-  private $receiveDate;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="non_deductible_amount", type="float", nullable=false)
-   * 
-   */
-  private $nonDeductibleAmount = '0';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="total_amount", type="float", nullable=true)
-   * 
-   */
-  private $totalAmount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="fee_amount", type="float", nullable=true)
-   * 
-   */
-  private $feeAmount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="net_amount", type="float", nullable=true)
-   * 
-   */
-  private $netAmount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="trxn_id", type="string", length=255, nullable=true)
-   * 
-   */
-  private $trxnId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="invoice_id", type="string", length=255, nullable=true)
-   * 
-   */
-  private $invoiceId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="cancel_date", type="datetime", nullable=true)
-   * 
-   */
-  private $cancelDate;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="cancel_reason", type="text", nullable=true)
-   * 
-   */
-  private $cancelReason;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="receipt_date", type="datetime", nullable=true)
-   * 
-   */
-  private $receiptDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="thankyou_date", type="datetime", nullable=true)
-   * 
-   */
-  private $thankyouDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="source", type="string", length=255, nullable=true)
-   * 
-   */
-  private $source;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="amount_level", type="text", nullable=true)
-   * 
-   */
-  private $amountLevel;
-  
-  /**
-   * @var \Civi\Contribute\ContributionRecur
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\ContributionRecur")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_recur_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $contributionRecur;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=false)
-   * 
-   */
-  private $isTest = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_pay_later", type="boolean", nullable=false)
-   * 
-   */
-  private $isPayLater = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="contribution_status_id", type="integer", nullable=false)
-   * 
-   */
-  private $contributionStatusId = '1';
-  
-  /**
-   * @var \Civi\Core\Address
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Address")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="address_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $address;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="check_number", type="string", length=255, nullable=true)
-   * 
-   */
-  private $checkNumber;
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Contribution
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return Contribution
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set contributionPage
-   *
-   * @param \Civi\Contribute\ContributionPage $contributionPage
-   * @return Contribution
-   */
-  public function setContributionPage(\Civi\Contribute\ContributionPage $contributionPage = null) {
-    $this->contributionPage = $contributionPage;
-    return $this;
-  }
-
-  /**
-   * Get contributionPage
-   *
-   * @return \Civi\Contribute\ContributionPage
-   */
-  public function getContributionPage() {
-    return $this->contributionPage;
-  }
-  
-  /**
-   * Set paymentInstrumentId
-   *
-   * @param integer $paymentInstrumentId
-   * @return Contribution
-   */
-  public function setPaymentInstrumentId($paymentInstrumentId) {
-    $this->paymentInstrumentId = $paymentInstrumentId;
-    return $this;
-  }
-
-  /**
-   * Get paymentInstrumentId
-   *
-   * @return integer
-   */
-  public function getPaymentInstrumentId() {
-    return $this->paymentInstrumentId;
-  }
-  
-  /**
-   * Set receiveDate
-   *
-   * @param datetime $receiveDate
-   * @return Contribution
-   */
-  public function setReceiveDate($receiveDate) {
-    $this->receiveDate = $receiveDate;
-    return $this;
-  }
-
-  /**
-   * Get receiveDate
-   *
-   * @return datetime
-   */
-  public function getReceiveDate() {
-    return $this->receiveDate;
-  }
-  
-  /**
-   * Set nonDeductibleAmount
-   *
-   * @param float $nonDeductibleAmount
-   * @return Contribution
-   */
-  public function setNonDeductibleAmount($nonDeductibleAmount) {
-    $this->nonDeductibleAmount = $nonDeductibleAmount;
-    return $this;
-  }
-
-  /**
-   * Get nonDeductibleAmount
-   *
-   * @return float
-   */
-  public function getNonDeductibleAmount() {
-    return $this->nonDeductibleAmount;
-  }
-  
-  /**
-   * Set totalAmount
-   *
-   * @param float $totalAmount
-   * @return Contribution
-   */
-  public function setTotalAmount($totalAmount) {
-    $this->totalAmount = $totalAmount;
-    return $this;
-  }
-
-  /**
-   * Get totalAmount
-   *
-   * @return float
-   */
-  public function getTotalAmount() {
-    return $this->totalAmount;
-  }
-  
-  /**
-   * Set feeAmount
-   *
-   * @param float $feeAmount
-   * @return Contribution
-   */
-  public function setFeeAmount($feeAmount) {
-    $this->feeAmount = $feeAmount;
-    return $this;
-  }
-
-  /**
-   * Get feeAmount
-   *
-   * @return float
-   */
-  public function getFeeAmount() {
-    return $this->feeAmount;
-  }
-  
-  /**
-   * Set netAmount
-   *
-   * @param float $netAmount
-   * @return Contribution
-   */
-  public function setNetAmount($netAmount) {
-    $this->netAmount = $netAmount;
-    return $this;
-  }
-
-  /**
-   * Get netAmount
-   *
-   * @return float
-   */
-  public function getNetAmount() {
-    return $this->netAmount;
-  }
-  
-  /**
-   * Set trxnId
-   *
-   * @param string $trxnId
-   * @return Contribution
-   */
-  public function setTrxnId($trxnId) {
-    $this->trxnId = $trxnId;
-    return $this;
-  }
-
-  /**
-   * Get trxnId
-   *
-   * @return string
-   */
-  public function getTrxnId() {
-    return $this->trxnId;
-  }
-  
-  /**
-   * Set invoiceId
-   *
-   * @param string $invoiceId
-   * @return Contribution
-   */
-  public function setInvoiceId($invoiceId) {
-    $this->invoiceId = $invoiceId;
-    return $this;
-  }
-
-  /**
-   * Get invoiceId
-   *
-   * @return string
-   */
-  public function getInvoiceId() {
-    return $this->invoiceId;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return Contribution
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set cancelDate
-   *
-   * @param datetime $cancelDate
-   * @return Contribution
-   */
-  public function setCancelDate($cancelDate) {
-    $this->cancelDate = $cancelDate;
-    return $this;
-  }
-
-  /**
-   * Get cancelDate
-   *
-   * @return datetime
-   */
-  public function getCancelDate() {
-    return $this->cancelDate;
-  }
-  
-  /**
-   * Set cancelReason
-   *
-   * @param text $cancelReason
-   * @return Contribution
-   */
-  public function setCancelReason($cancelReason) {
-    $this->cancelReason = $cancelReason;
-    return $this;
-  }
-
-  /**
-   * Get cancelReason
-   *
-   * @return text
-   */
-  public function getCancelReason() {
-    return $this->cancelReason;
-  }
-  
-  /**
-   * Set receiptDate
-   *
-   * @param datetime $receiptDate
-   * @return Contribution
-   */
-  public function setReceiptDate($receiptDate) {
-    $this->receiptDate = $receiptDate;
-    return $this;
-  }
-
-  /**
-   * Get receiptDate
-   *
-   * @return datetime
-   */
-  public function getReceiptDate() {
-    return $this->receiptDate;
-  }
-  
-  /**
-   * Set thankyouDate
-   *
-   * @param datetime $thankyouDate
-   * @return Contribution
-   */
-  public function setThankyouDate($thankyouDate) {
-    $this->thankyouDate = $thankyouDate;
-    return $this;
-  }
-
-  /**
-   * Get thankyouDate
-   *
-   * @return datetime
-   */
-  public function getThankyouDate() {
-    return $this->thankyouDate;
-  }
-  
-  /**
-   * Set source
-   *
-   * @param string $source
-   * @return Contribution
-   */
-  public function setSource($source) {
-    $this->source = $source;
-    return $this;
-  }
-
-  /**
-   * Get source
-   *
-   * @return string
-   */
-  public function getSource() {
-    return $this->source;
-  }
-  
-  /**
-   * Set amountLevel
-   *
-   * @param text $amountLevel
-   * @return Contribution
-   */
-  public function setAmountLevel($amountLevel) {
-    $this->amountLevel = $amountLevel;
-    return $this;
-  }
-
-  /**
-   * Get amountLevel
-   *
-   * @return text
-   */
-  public function getAmountLevel() {
-    return $this->amountLevel;
-  }
-  
-  /**
-   * Set contributionRecur
-   *
-   * @param \Civi\Contribute\ContributionRecur $contributionRecur
-   * @return Contribution
-   */
-  public function setContributionRecur(\Civi\Contribute\ContributionRecur $contributionRecur = null) {
-    $this->contributionRecur = $contributionRecur;
-    return $this;
-  }
-
-  /**
-   * Get contributionRecur
-   *
-   * @return \Civi\Contribute\ContributionRecur
-   */
-  public function getContributionRecur() {
-    return $this->contributionRecur;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return Contribution
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set isPayLater
-   *
-   * @param boolean $isPayLater
-   * @return Contribution
-   */
-  public function setIsPayLater($isPayLater) {
-    $this->isPayLater = $isPayLater;
-    return $this;
-  }
-
-  /**
-   * Get isPayLater
-   *
-   * @return boolean
-   */
-  public function getIsPayLater() {
-    return $this->isPayLater;
-  }
-  
-  /**
-   * Set contributionStatusId
-   *
-   * @param integer $contributionStatusId
-   * @return Contribution
-   */
-  public function setContributionStatusId($contributionStatusId) {
-    $this->contributionStatusId = $contributionStatusId;
-    return $this;
-  }
-
-  /**
-   * Get contributionStatusId
-   *
-   * @return integer
-   */
-  public function getContributionStatusId() {
-    return $this->contributionStatusId;
-  }
-  
-  /**
-   * Set address
-   *
-   * @param \Civi\Core\Address $address
-   * @return Contribution
-   */
-  public function setAddress(\Civi\Core\Address $address = null) {
-    $this->address = $address;
-    return $this;
-  }
-
-  /**
-   * Get address
-   *
-   * @return \Civi\Core\Address
-   */
-  public function getAddress() {
-    return $this->address;
-  }
-  
-  /**
-   * Set checkNumber
-   *
-   * @param string $checkNumber
-   * @return Contribution
-   */
-  public function setCheckNumber($checkNumber) {
-    $this->checkNumber = $checkNumber;
-    return $this;
-  }
-
-  /**
-   * Get checkNumber
-   *
-   * @return string
-   */
-  public function getCheckNumber() {
-    return $this->checkNumber;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Contribution
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-
-}
-
diff --git a/Civi/Contribute/ContributionPage.php b/Civi/Contribute/ContributionPage.php
deleted file mode 100644 (file)
index 57774fe..0000000
+++ /dev/null
@@ -1,1328 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/ContributionPage.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ContributionPage
- *
- * @ORM\Table(name="civicrm_contribution_page", indexes={@ORM\Index(name="FK_civicrm_contribution_page_financial_type_id", columns={"financial_type_id"}),@ORM\Index(name="FK_civicrm_contribution_page_created_id", columns={"created_id"}),@ORM\Index(name="FK_civicrm_contribution_page_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class ContributionPage extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="intro_text", type="text", nullable=true)
-   * 
-   */
-  private $introText;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id")})
-   */
-  private $financialType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="payment_processor", type="string", length=128, nullable=true)
-   * 
-   */
-  private $paymentProcessor;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_credit_card_only", type="boolean", nullable=false)
-   * 
-   */
-  private $isCreditCardOnly = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_monetary", type="boolean", nullable=false)
-   * 
-   */
-  private $isMonetary = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_recur", type="boolean", nullable=false)
-   * 
-   */
-  private $isRecur = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_confirm_enabled", type="boolean", nullable=false)
-   * 
-   */
-  private $isConfirmEnabled = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="recur_frequency_unit", type="string", length=128, nullable=true)
-   * 
-   */
-  private $recurFrequencyUnit;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_recur_interval", type="boolean", nullable=false)
-   * 
-   */
-  private $isRecurInterval = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_recur_installments", type="boolean", nullable=false)
-   * 
-   */
-  private $isRecurInstallments = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_pay_later", type="boolean", nullable=false)
-   * 
-   */
-  private $isPayLater = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="pay_later_text", type="text", nullable=true)
-   * 
-   */
-  private $payLaterText;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="pay_later_receipt", type="text", nullable=true)
-   * 
-   */
-  private $payLaterReceipt;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_partial_payment", type="boolean", nullable=false)
-   * 
-   */
-  private $isPartialPayment = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="initial_amount_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $initialAmountLabel;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="initial_amount_help_text", type="text", nullable=true)
-   * 
-   */
-  private $initialAmountHelpText;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="min_initial_amount", type="float", nullable=true)
-   * 
-   */
-  private $minInitialAmount;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_allow_other_amount", type="boolean", nullable=false)
-   * 
-   */
-  private $isAllowOtherAmount = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="default_amount_id", type="integer", nullable=true)
-   * 
-   */
-  private $defaultAmountId;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="min_amount", type="float", nullable=true)
-   * 
-   */
-  private $minAmount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="max_amount", type="float", nullable=true)
-   * 
-   */
-  private $maxAmount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="goal_amount", type="float", nullable=true)
-   * 
-   */
-  private $goalAmount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="thankyou_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $thankyouTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="thankyou_text", type="text", nullable=true)
-   * 
-   */
-  private $thankyouText;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="thankyou_footer", type="text", nullable=true)
-   * 
-   */
-  private $thankyouFooter;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_for_organization", type="boolean", nullable=false)
-   * 
-   */
-  private $isForOrganization = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="for_organization", type="text", nullable=true)
-   * 
-   */
-  private $forOrganization;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_email_receipt", type="boolean", nullable=false)
-   * 
-   */
-  private $isEmailReceipt = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="receipt_from_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $receiptFromName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="receipt_from_email", type="string", length=255, nullable=true)
-   * 
-   */
-  private $receiptFromEmail;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="cc_receipt", type="string", length=255, nullable=true)
-   * 
-   */
-  private $ccReceipt;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="bcc_receipt", type="string", length=255, nullable=true)
-   * 
-   */
-  private $bccReceipt;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="receipt_text", type="text", nullable=true)
-   * 
-   */
-  private $receiptText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="footer_text", type="text", nullable=true)
-   * 
-   */
-  private $footerText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="amount_block_is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $amountBlockIsActive = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="honor_block_is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $honorBlockIsActive;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="start_date", type="datetime", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="end_date", type="datetime", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_share", type="boolean", nullable=false)
-   * 
-   */
-  private $isShare = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return ContributionPage
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set introText
-   *
-   * @param text $introText
-   * @return ContributionPage
-   */
-  public function setIntroText($introText) {
-    $this->introText = $introText;
-    return $this;
-  }
-
-  /**
-   * Get introText
-   *
-   * @return text
-   */
-  public function getIntroText() {
-    return $this->introText;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return ContributionPage
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set paymentProcessor
-   *
-   * @param string $paymentProcessor
-   * @return ContributionPage
-   */
-  public function setPaymentProcessor($paymentProcessor) {
-    $this->paymentProcessor = $paymentProcessor;
-    return $this;
-  }
-
-  /**
-   * Get paymentProcessor
-   *
-   * @return string
-   */
-  public function getPaymentProcessor() {
-    return $this->paymentProcessor;
-  }
-  
-  /**
-   * Set isCreditCardOnly
-   *
-   * @param boolean $isCreditCardOnly
-   * @return ContributionPage
-   */
-  public function setIsCreditCardOnly($isCreditCardOnly) {
-    $this->isCreditCardOnly = $isCreditCardOnly;
-    return $this;
-  }
-
-  /**
-   * Get isCreditCardOnly
-   *
-   * @return boolean
-   */
-  public function getIsCreditCardOnly() {
-    return $this->isCreditCardOnly;
-  }
-  
-  /**
-   * Set isMonetary
-   *
-   * @param boolean $isMonetary
-   * @return ContributionPage
-   */
-  public function setIsMonetary($isMonetary) {
-    $this->isMonetary = $isMonetary;
-    return $this;
-  }
-
-  /**
-   * Get isMonetary
-   *
-   * @return boolean
-   */
-  public function getIsMonetary() {
-    return $this->isMonetary;
-  }
-  
-  /**
-   * Set isRecur
-   *
-   * @param boolean $isRecur
-   * @return ContributionPage
-   */
-  public function setIsRecur($isRecur) {
-    $this->isRecur = $isRecur;
-    return $this;
-  }
-
-  /**
-   * Get isRecur
-   *
-   * @return boolean
-   */
-  public function getIsRecur() {
-    return $this->isRecur;
-  }
-  
-  /**
-   * Set isConfirmEnabled
-   *
-   * @param boolean $isConfirmEnabled
-   * @return ContributionPage
-   */
-  public function setIsConfirmEnabled($isConfirmEnabled) {
-    $this->isConfirmEnabled = $isConfirmEnabled;
-    return $this;
-  }
-
-  /**
-   * Get isConfirmEnabled
-   *
-   * @return boolean
-   */
-  public function getIsConfirmEnabled() {
-    return $this->isConfirmEnabled;
-  }
-  
-  /**
-   * Set recurFrequencyUnit
-   *
-   * @param string $recurFrequencyUnit
-   * @return ContributionPage
-   */
-  public function setRecurFrequencyUnit($recurFrequencyUnit) {
-    $this->recurFrequencyUnit = $recurFrequencyUnit;
-    return $this;
-  }
-
-  /**
-   * Get recurFrequencyUnit
-   *
-   * @return string
-   */
-  public function getRecurFrequencyUnit() {
-    return $this->recurFrequencyUnit;
-  }
-  
-  /**
-   * Set isRecurInterval
-   *
-   * @param boolean $isRecurInterval
-   * @return ContributionPage
-   */
-  public function setIsRecurInterval($isRecurInterval) {
-    $this->isRecurInterval = $isRecurInterval;
-    return $this;
-  }
-
-  /**
-   * Get isRecurInterval
-   *
-   * @return boolean
-   */
-  public function getIsRecurInterval() {
-    return $this->isRecurInterval;
-  }
-  
-  /**
-   * Set isRecurInstallments
-   *
-   * @param boolean $isRecurInstallments
-   * @return ContributionPage
-   */
-  public function setIsRecurInstallments($isRecurInstallments) {
-    $this->isRecurInstallments = $isRecurInstallments;
-    return $this;
-  }
-
-  /**
-   * Get isRecurInstallments
-   *
-   * @return boolean
-   */
-  public function getIsRecurInstallments() {
-    return $this->isRecurInstallments;
-  }
-  
-  /**
-   * Set isPayLater
-   *
-   * @param boolean $isPayLater
-   * @return ContributionPage
-   */
-  public function setIsPayLater($isPayLater) {
-    $this->isPayLater = $isPayLater;
-    return $this;
-  }
-
-  /**
-   * Get isPayLater
-   *
-   * @return boolean
-   */
-  public function getIsPayLater() {
-    return $this->isPayLater;
-  }
-  
-  /**
-   * Set payLaterText
-   *
-   * @param text $payLaterText
-   * @return ContributionPage
-   */
-  public function setPayLaterText($payLaterText) {
-    $this->payLaterText = $payLaterText;
-    return $this;
-  }
-
-  /**
-   * Get payLaterText
-   *
-   * @return text
-   */
-  public function getPayLaterText() {
-    return $this->payLaterText;
-  }
-  
-  /**
-   * Set payLaterReceipt
-   *
-   * @param text $payLaterReceipt
-   * @return ContributionPage
-   */
-  public function setPayLaterReceipt($payLaterReceipt) {
-    $this->payLaterReceipt = $payLaterReceipt;
-    return $this;
-  }
-
-  /**
-   * Get payLaterReceipt
-   *
-   * @return text
-   */
-  public function getPayLaterReceipt() {
-    return $this->payLaterReceipt;
-  }
-  
-  /**
-   * Set isPartialPayment
-   *
-   * @param boolean $isPartialPayment
-   * @return ContributionPage
-   */
-  public function setIsPartialPayment($isPartialPayment) {
-    $this->isPartialPayment = $isPartialPayment;
-    return $this;
-  }
-
-  /**
-   * Get isPartialPayment
-   *
-   * @return boolean
-   */
-  public function getIsPartialPayment() {
-    return $this->isPartialPayment;
-  }
-  
-  /**
-   * Set initialAmountLabel
-   *
-   * @param string $initialAmountLabel
-   * @return ContributionPage
-   */
-  public function setInitialAmountLabel($initialAmountLabel) {
-    $this->initialAmountLabel = $initialAmountLabel;
-    return $this;
-  }
-
-  /**
-   * Get initialAmountLabel
-   *
-   * @return string
-   */
-  public function getInitialAmountLabel() {
-    return $this->initialAmountLabel;
-  }
-  
-  /**
-   * Set initialAmountHelpText
-   *
-   * @param text $initialAmountHelpText
-   * @return ContributionPage
-   */
-  public function setInitialAmountHelpText($initialAmountHelpText) {
-    $this->initialAmountHelpText = $initialAmountHelpText;
-    return $this;
-  }
-
-  /**
-   * Get initialAmountHelpText
-   *
-   * @return text
-   */
-  public function getInitialAmountHelpText() {
-    return $this->initialAmountHelpText;
-  }
-  
-  /**
-   * Set minInitialAmount
-   *
-   * @param float $minInitialAmount
-   * @return ContributionPage
-   */
-  public function setMinInitialAmount($minInitialAmount) {
-    $this->minInitialAmount = $minInitialAmount;
-    return $this;
-  }
-
-  /**
-   * Get minInitialAmount
-   *
-   * @return float
-   */
-  public function getMinInitialAmount() {
-    return $this->minInitialAmount;
-  }
-  
-  /**
-   * Set isAllowOtherAmount
-   *
-   * @param boolean $isAllowOtherAmount
-   * @return ContributionPage
-   */
-  public function setIsAllowOtherAmount($isAllowOtherAmount) {
-    $this->isAllowOtherAmount = $isAllowOtherAmount;
-    return $this;
-  }
-
-  /**
-   * Get isAllowOtherAmount
-   *
-   * @return boolean
-   */
-  public function getIsAllowOtherAmount() {
-    return $this->isAllowOtherAmount;
-  }
-  
-  /**
-   * Set defaultAmountId
-   *
-   * @param integer $defaultAmountId
-   * @return ContributionPage
-   */
-  public function setDefaultAmountId($defaultAmountId) {
-    $this->defaultAmountId = $defaultAmountId;
-    return $this;
-  }
-
-  /**
-   * Get defaultAmountId
-   *
-   * @return integer
-   */
-  public function getDefaultAmountId() {
-    return $this->defaultAmountId;
-  }
-  
-  /**
-   * Set minAmount
-   *
-   * @param float $minAmount
-   * @return ContributionPage
-   */
-  public function setMinAmount($minAmount) {
-    $this->minAmount = $minAmount;
-    return $this;
-  }
-
-  /**
-   * Get minAmount
-   *
-   * @return float
-   */
-  public function getMinAmount() {
-    return $this->minAmount;
-  }
-  
-  /**
-   * Set maxAmount
-   *
-   * @param float $maxAmount
-   * @return ContributionPage
-   */
-  public function setMaxAmount($maxAmount) {
-    $this->maxAmount = $maxAmount;
-    return $this;
-  }
-
-  /**
-   * Get maxAmount
-   *
-   * @return float
-   */
-  public function getMaxAmount() {
-    return $this->maxAmount;
-  }
-  
-  /**
-   * Set goalAmount
-   *
-   * @param float $goalAmount
-   * @return ContributionPage
-   */
-  public function setGoalAmount($goalAmount) {
-    $this->goalAmount = $goalAmount;
-    return $this;
-  }
-
-  /**
-   * Get goalAmount
-   *
-   * @return float
-   */
-  public function getGoalAmount() {
-    return $this->goalAmount;
-  }
-  
-  /**
-   * Set thankyouTitle
-   *
-   * @param string $thankyouTitle
-   * @return ContributionPage
-   */
-  public function setThankyouTitle($thankyouTitle) {
-    $this->thankyouTitle = $thankyouTitle;
-    return $this;
-  }
-
-  /**
-   * Get thankyouTitle
-   *
-   * @return string
-   */
-  public function getThankyouTitle() {
-    return $this->thankyouTitle;
-  }
-  
-  /**
-   * Set thankyouText
-   *
-   * @param text $thankyouText
-   * @return ContributionPage
-   */
-  public function setThankyouText($thankyouText) {
-    $this->thankyouText = $thankyouText;
-    return $this;
-  }
-
-  /**
-   * Get thankyouText
-   *
-   * @return text
-   */
-  public function getThankyouText() {
-    return $this->thankyouText;
-  }
-  
-  /**
-   * Set thankyouFooter
-   *
-   * @param text $thankyouFooter
-   * @return ContributionPage
-   */
-  public function setThankyouFooter($thankyouFooter) {
-    $this->thankyouFooter = $thankyouFooter;
-    return $this;
-  }
-
-  /**
-   * Get thankyouFooter
-   *
-   * @return text
-   */
-  public function getThankyouFooter() {
-    return $this->thankyouFooter;
-  }
-  
-  /**
-   * Set isForOrganization
-   *
-   * @param boolean $isForOrganization
-   * @return ContributionPage
-   */
-  public function setIsForOrganization($isForOrganization) {
-    $this->isForOrganization = $isForOrganization;
-    return $this;
-  }
-
-  /**
-   * Get isForOrganization
-   *
-   * @return boolean
-   */
-  public function getIsForOrganization() {
-    return $this->isForOrganization;
-  }
-  
-  /**
-   * Set forOrganization
-   *
-   * @param text $forOrganization
-   * @return ContributionPage
-   */
-  public function setForOrganization($forOrganization) {
-    $this->forOrganization = $forOrganization;
-    return $this;
-  }
-
-  /**
-   * Get forOrganization
-   *
-   * @return text
-   */
-  public function getForOrganization() {
-    return $this->forOrganization;
-  }
-  
-  /**
-   * Set isEmailReceipt
-   *
-   * @param boolean $isEmailReceipt
-   * @return ContributionPage
-   */
-  public function setIsEmailReceipt($isEmailReceipt) {
-    $this->isEmailReceipt = $isEmailReceipt;
-    return $this;
-  }
-
-  /**
-   * Get isEmailReceipt
-   *
-   * @return boolean
-   */
-  public function getIsEmailReceipt() {
-    return $this->isEmailReceipt;
-  }
-  
-  /**
-   * Set receiptFromName
-   *
-   * @param string $receiptFromName
-   * @return ContributionPage
-   */
-  public function setReceiptFromName($receiptFromName) {
-    $this->receiptFromName = $receiptFromName;
-    return $this;
-  }
-
-  /**
-   * Get receiptFromName
-   *
-   * @return string
-   */
-  public function getReceiptFromName() {
-    return $this->receiptFromName;
-  }
-  
-  /**
-   * Set receiptFromEmail
-   *
-   * @param string $receiptFromEmail
-   * @return ContributionPage
-   */
-  public function setReceiptFromEmail($receiptFromEmail) {
-    $this->receiptFromEmail = $receiptFromEmail;
-    return $this;
-  }
-
-  /**
-   * Get receiptFromEmail
-   *
-   * @return string
-   */
-  public function getReceiptFromEmail() {
-    return $this->receiptFromEmail;
-  }
-  
-  /**
-   * Set ccReceipt
-   *
-   * @param string $ccReceipt
-   * @return ContributionPage
-   */
-  public function setCcReceipt($ccReceipt) {
-    $this->ccReceipt = $ccReceipt;
-    return $this;
-  }
-
-  /**
-   * Get ccReceipt
-   *
-   * @return string
-   */
-  public function getCcReceipt() {
-    return $this->ccReceipt;
-  }
-  
-  /**
-   * Set bccReceipt
-   *
-   * @param string $bccReceipt
-   * @return ContributionPage
-   */
-  public function setBccReceipt($bccReceipt) {
-    $this->bccReceipt = $bccReceipt;
-    return $this;
-  }
-
-  /**
-   * Get bccReceipt
-   *
-   * @return string
-   */
-  public function getBccReceipt() {
-    return $this->bccReceipt;
-  }
-  
-  /**
-   * Set receiptText
-   *
-   * @param text $receiptText
-   * @return ContributionPage
-   */
-  public function setReceiptText($receiptText) {
-    $this->receiptText = $receiptText;
-    return $this;
-  }
-
-  /**
-   * Get receiptText
-   *
-   * @return text
-   */
-  public function getReceiptText() {
-    return $this->receiptText;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return ContributionPage
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set footerText
-   *
-   * @param text $footerText
-   * @return ContributionPage
-   */
-  public function setFooterText($footerText) {
-    $this->footerText = $footerText;
-    return $this;
-  }
-
-  /**
-   * Get footerText
-   *
-   * @return text
-   */
-  public function getFooterText() {
-    return $this->footerText;
-  }
-  
-  /**
-   * Set amountBlockIsActive
-   *
-   * @param boolean $amountBlockIsActive
-   * @return ContributionPage
-   */
-  public function setAmountBlockIsActive($amountBlockIsActive) {
-    $this->amountBlockIsActive = $amountBlockIsActive;
-    return $this;
-  }
-
-  /**
-   * Get amountBlockIsActive
-   *
-   * @return boolean
-   */
-  public function getAmountBlockIsActive() {
-    return $this->amountBlockIsActive;
-  }
-  
-  /**
-   * Set honorBlockIsActive
-   *
-   * @param boolean $honorBlockIsActive
-   * @return ContributionPage
-   */
-  public function setHonorBlockIsActive($honorBlockIsActive) {
-    $this->honorBlockIsActive = $honorBlockIsActive;
-    return $this;
-  }
-
-  /**
-   * Get honorBlockIsActive
-   *
-   * @return boolean
-   */
-  public function getHonorBlockIsActive() {
-    return $this->honorBlockIsActive;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param datetime $startDate
-   * @return ContributionPage
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return datetime
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param datetime $endDate
-   * @return ContributionPage
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return datetime
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return ContributionPage
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return ContributionPage
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return ContributionPage
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return ContributionPage
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set isShare
-   *
-   * @param boolean $isShare
-   * @return ContributionPage
-   */
-  public function setIsShare($isShare) {
-    $this->isShare = $isShare;
-    return $this;
-  }
-
-  /**
-   * Get isShare
-   *
-   * @return boolean
-   */
-  public function getIsShare() {
-    return $this->isShare;
-  }
-
-}
-
diff --git a/Civi/Contribute/ContributionProduct.php b/Civi/Contribute/ContributionProduct.php
deleted file mode 100644 (file)
index 649edf2..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ContributionProduct
- *
- * @ORM\Table(name="civicrm_contribution_product", indexes={@ORM\Index(name="FK_civicrm_contribution_product_contribution_id", columns={"contribution_id"}),@ORM\Index(name="FK_civicrm_contribution_product_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class ContributionProduct extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="product_id", type="integer", nullable=true)
-   * 
-   */
-  private $productId;
-  
-  /**
-   * @var \Civi\Contribute\Contribution
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\Contribution")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contribution;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="product_option", type="string", length=255, nullable=true)
-   * 
-   */
-  private $productOption;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="quantity", type="int", nullable=true)
-   * 
-   */
-  private $quantity;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="fulfilled_date", type="date", nullable=true)
-   * 
-   */
-  private $fulfilledDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="start_date", type="date", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="end_date", type="date", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="comment", type="text", nullable=true)
-   * 
-   */
-  private $comment;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set productId
-   *
-   * @param integer $productId
-   * @return ContributionProduct
-   */
-  public function setProductId($productId) {
-    $this->productId = $productId;
-    return $this;
-  }
-
-  /**
-   * Get productId
-   *
-   * @return integer
-   */
-  public function getProductId() {
-    return $this->productId;
-  }
-  
-  /**
-   * Set contribution
-   *
-   * @param \Civi\Contribute\Contribution $contribution
-   * @return ContributionProduct
-   */
-  public function setContribution(\Civi\Contribute\Contribution $contribution = null) {
-    $this->contribution = $contribution;
-    return $this;
-  }
-
-  /**
-   * Get contribution
-   *
-   * @return \Civi\Contribute\Contribution
-   */
-  public function getContribution() {
-    return $this->contribution;
-  }
-  
-  /**
-   * Set productOption
-   *
-   * @param string $productOption
-   * @return ContributionProduct
-   */
-  public function setProductOption($productOption) {
-    $this->productOption = $productOption;
-    return $this;
-  }
-
-  /**
-   * Get productOption
-   *
-   * @return string
-   */
-  public function getProductOption() {
-    return $this->productOption;
-  }
-  
-  /**
-   * Set quantity
-   *
-   * @param int $quantity
-   * @return ContributionProduct
-   */
-  public function setQuantity($quantity) {
-    $this->quantity = $quantity;
-    return $this;
-  }
-
-  /**
-   * Get quantity
-   *
-   * @return int
-   */
-  public function getQuantity() {
-    return $this->quantity;
-  }
-  
-  /**
-   * Set fulfilledDate
-   *
-   * @param date $fulfilledDate
-   * @return ContributionProduct
-   */
-  public function setFulfilledDate($fulfilledDate) {
-    $this->fulfilledDate = $fulfilledDate;
-    return $this;
-  }
-
-  /**
-   * Get fulfilledDate
-   *
-   * @return date
-   */
-  public function getFulfilledDate() {
-    return $this->fulfilledDate;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param date $startDate
-   * @return ContributionProduct
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return date
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param date $endDate
-   * @return ContributionProduct
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return date
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set comment
-   *
-   * @param text $comment
-   * @return ContributionProduct
-   */
-  public function setComment($comment) {
-    $this->comment = $comment;
-    return $this;
-  }
-
-  /**
-   * Get comment
-   *
-   * @return text
-   */
-  public function getComment() {
-    return $this->comment;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return ContributionProduct
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-
-}
-
diff --git a/Civi/Contribute/ContributionRecur.php b/Civi/Contribute/ContributionRecur.php
deleted file mode 100644 (file)
index 17ccb93..0000000
+++ /dev/null
@@ -1,796 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ContributionRecur
- *
- * @ORM\Table(name="civicrm_contribution_recur", uniqueConstraints={@ORM\UniqueConstraint(name="UI_contrib_trxn_id", columns={"trxn_id"}),@ORM\UniqueConstraint(name="UI_contrib_invoice_id", columns={"invoice_id"})}, indexes={@ORM\Index(name="index_contribution_status", columns={"contribution_status_id"}),@ORM\Index(name="UI_contribution_recur_payment_instrument_id", columns={"payment_instrument_id"}),@ORM\Index(name="FK_civicrm_contribution_recur_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_contribution_recur_payment_processor_id", columns={"payment_processor_id"}),@ORM\Index(name="FK_civicrm_contribution_recur_financial_type_id", columns={"financial_type_id"}),@ORM\Index(name="FK_civicrm_contribution_recur_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class ContributionRecur extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount", type="float", nullable=true)
-   * 
-   */
-  private $amount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="frequency_unit", type="string", length=8, nullable=false)
-   * 
-   */
-  private $frequencyUnit = 'month';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="frequency_interval", type="integer", nullable=true)
-   * 
-   */
-  private $frequencyInterval;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="installments", type="integer", nullable=true)
-   * 
-   */
-  private $installments;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="start_date", type="datetime", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="create_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="modified_date", type="datetime", nullable=true)
-   * 
-   */
-  private $modifiedDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="cancel_date", type="datetime", nullable=true)
-   * 
-   */
-  private $cancelDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="end_date", type="datetime", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="processor_id", type="string", length=255, nullable=true)
-   * 
-   */
-  private $processorId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="trxn_id", type="string", length=255, nullable=true)
-   * 
-   */
-  private $trxnId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="invoice_id", type="string", length=255, nullable=true)
-   * 
-   */
-  private $invoiceId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="contribution_status_id", type="integer", nullable=false)
-   * 
-   */
-  private $contributionStatusId = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=false)
-   * 
-   */
-  private $isTest = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="cycle_day", type="integer", nullable=false)
-   * 
-   */
-  private $cycleDay = '1';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="next_sched_contribution_date", type="datetime", nullable=true)
-   * 
-   */
-  private $nextSchedContributionDate;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="failure_count", type="integer", nullable=false)
-   * 
-   */
-  private $failureCount = '0';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="failure_retry_date", type="datetime", nullable=true)
-   * 
-   */
-  private $failureRetryDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="auto_renew", type="boolean", nullable=false)
-   * 
-   */
-  private $autoRenew = '0';
-  
-  /**
-   * @var \Civi\Financial\PaymentProcessor
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\PaymentProcessor")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="payment_processor_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $paymentProcessor;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="payment_instrument_id", type="integer", nullable=true)
-   * 
-   */
-  private $paymentInstrumentId;
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_email_receipt", type="boolean", nullable=false)
-   * 
-   */
-  private $isEmailReceipt = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return ContributionRecur
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set amount
-   *
-   * @param float $amount
-   * @return ContributionRecur
-   */
-  public function setAmount($amount) {
-    $this->amount = $amount;
-    return $this;
-  }
-
-  /**
-   * Get amount
-   *
-   * @return float
-   */
-  public function getAmount() {
-    return $this->amount;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return ContributionRecur
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set frequencyUnit
-   *
-   * @param string $frequencyUnit
-   * @return ContributionRecur
-   */
-  public function setFrequencyUnit($frequencyUnit) {
-    $this->frequencyUnit = $frequencyUnit;
-    return $this;
-  }
-
-  /**
-   * Get frequencyUnit
-   *
-   * @return string
-   */
-  public function getFrequencyUnit() {
-    return $this->frequencyUnit;
-  }
-  
-  /**
-   * Set frequencyInterval
-   *
-   * @param integer $frequencyInterval
-   * @return ContributionRecur
-   */
-  public function setFrequencyInterval($frequencyInterval) {
-    $this->frequencyInterval = $frequencyInterval;
-    return $this;
-  }
-
-  /**
-   * Get frequencyInterval
-   *
-   * @return integer
-   */
-  public function getFrequencyInterval() {
-    return $this->frequencyInterval;
-  }
-  
-  /**
-   * Set installments
-   *
-   * @param integer $installments
-   * @return ContributionRecur
-   */
-  public function setInstallments($installments) {
-    $this->installments = $installments;
-    return $this;
-  }
-
-  /**
-   * Get installments
-   *
-   * @return integer
-   */
-  public function getInstallments() {
-    return $this->installments;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param datetime $startDate
-   * @return ContributionRecur
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return datetime
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set createDate
-   *
-   * @param datetime $createDate
-   * @return ContributionRecur
-   */
-  public function setCreateDate($createDate) {
-    $this->createDate = $createDate;
-    return $this;
-  }
-
-  /**
-   * Get createDate
-   *
-   * @return datetime
-   */
-  public function getCreateDate() {
-    return $this->createDate;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param datetime $modifiedDate
-   * @return ContributionRecur
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return datetime
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-  
-  /**
-   * Set cancelDate
-   *
-   * @param datetime $cancelDate
-   * @return ContributionRecur
-   */
-  public function setCancelDate($cancelDate) {
-    $this->cancelDate = $cancelDate;
-    return $this;
-  }
-
-  /**
-   * Get cancelDate
-   *
-   * @return datetime
-   */
-  public function getCancelDate() {
-    return $this->cancelDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param datetime $endDate
-   * @return ContributionRecur
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return datetime
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set processorId
-   *
-   * @param string $processorId
-   * @return ContributionRecur
-   */
-  public function setProcessorId($processorId) {
-    $this->processorId = $processorId;
-    return $this;
-  }
-
-  /**
-   * Get processorId
-   *
-   * @return string
-   */
-  public function getProcessorId() {
-    return $this->processorId;
-  }
-  
-  /**
-   * Set trxnId
-   *
-   * @param string $trxnId
-   * @return ContributionRecur
-   */
-  public function setTrxnId($trxnId) {
-    $this->trxnId = $trxnId;
-    return $this;
-  }
-
-  /**
-   * Get trxnId
-   *
-   * @return string
-   */
-  public function getTrxnId() {
-    return $this->trxnId;
-  }
-  
-  /**
-   * Set invoiceId
-   *
-   * @param string $invoiceId
-   * @return ContributionRecur
-   */
-  public function setInvoiceId($invoiceId) {
-    $this->invoiceId = $invoiceId;
-    return $this;
-  }
-
-  /**
-   * Get invoiceId
-   *
-   * @return string
-   */
-  public function getInvoiceId() {
-    return $this->invoiceId;
-  }
-  
-  /**
-   * Set contributionStatusId
-   *
-   * @param integer $contributionStatusId
-   * @return ContributionRecur
-   */
-  public function setContributionStatusId($contributionStatusId) {
-    $this->contributionStatusId = $contributionStatusId;
-    return $this;
-  }
-
-  /**
-   * Get contributionStatusId
-   *
-   * @return integer
-   */
-  public function getContributionStatusId() {
-    return $this->contributionStatusId;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return ContributionRecur
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set cycleDay
-   *
-   * @param integer $cycleDay
-   * @return ContributionRecur
-   */
-  public function setCycleDay($cycleDay) {
-    $this->cycleDay = $cycleDay;
-    return $this;
-  }
-
-  /**
-   * Get cycleDay
-   *
-   * @return integer
-   */
-  public function getCycleDay() {
-    return $this->cycleDay;
-  }
-  
-  /**
-   * Set nextSchedContributionDate
-   *
-   * @param datetime $nextSchedContributionDate
-   * @return ContributionRecur
-   */
-  public function setNextSchedContributionDate($nextSchedContributionDate) {
-    $this->nextSchedContributionDate = $nextSchedContributionDate;
-    return $this;
-  }
-
-  /**
-   * Get nextSchedContributionDate
-   *
-   * @return datetime
-   */
-  public function getNextSchedContributionDate() {
-    return $this->nextSchedContributionDate;
-  }
-  
-  /**
-   * Set failureCount
-   *
-   * @param integer $failureCount
-   * @return ContributionRecur
-   */
-  public function setFailureCount($failureCount) {
-    $this->failureCount = $failureCount;
-    return $this;
-  }
-
-  /**
-   * Get failureCount
-   *
-   * @return integer
-   */
-  public function getFailureCount() {
-    return $this->failureCount;
-  }
-  
-  /**
-   * Set failureRetryDate
-   *
-   * @param datetime $failureRetryDate
-   * @return ContributionRecur
-   */
-  public function setFailureRetryDate($failureRetryDate) {
-    $this->failureRetryDate = $failureRetryDate;
-    return $this;
-  }
-
-  /**
-   * Get failureRetryDate
-   *
-   * @return datetime
-   */
-  public function getFailureRetryDate() {
-    return $this->failureRetryDate;
-  }
-  
-  /**
-   * Set autoRenew
-   *
-   * @param boolean $autoRenew
-   * @return ContributionRecur
-   */
-  public function setAutoRenew($autoRenew) {
-    $this->autoRenew = $autoRenew;
-    return $this;
-  }
-
-  /**
-   * Get autoRenew
-   *
-   * @return boolean
-   */
-  public function getAutoRenew() {
-    return $this->autoRenew;
-  }
-  
-  /**
-   * Set paymentProcessor
-   *
-   * @param \Civi\Financial\PaymentProcessor $paymentProcessor
-   * @return ContributionRecur
-   */
-  public function setPaymentProcessor(\Civi\Financial\PaymentProcessor $paymentProcessor = null) {
-    $this->paymentProcessor = $paymentProcessor;
-    return $this;
-  }
-
-  /**
-   * Get paymentProcessor
-   *
-   * @return \Civi\Financial\PaymentProcessor
-   */
-  public function getPaymentProcessor() {
-    return $this->paymentProcessor;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return ContributionRecur
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set paymentInstrumentId
-   *
-   * @param integer $paymentInstrumentId
-   * @return ContributionRecur
-   */
-  public function setPaymentInstrumentId($paymentInstrumentId) {
-    $this->paymentInstrumentId = $paymentInstrumentId;
-    return $this;
-  }
-
-  /**
-   * Get paymentInstrumentId
-   *
-   * @return integer
-   */
-  public function getPaymentInstrumentId() {
-    return $this->paymentInstrumentId;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return ContributionRecur
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set isEmailReceipt
-   *
-   * @param boolean $isEmailReceipt
-   * @return ContributionRecur
-   */
-  public function setIsEmailReceipt($isEmailReceipt) {
-    $this->isEmailReceipt = $isEmailReceipt;
-    return $this;
-  }
-
-  /**
-   * Get isEmailReceipt
-   *
-   * @return boolean
-   */
-  public function getIsEmailReceipt() {
-    return $this->isEmailReceipt;
-  }
-
-}
-
diff --git a/Civi/Contribute/ContributionSoft.php b/Civi/Contribute/ContributionSoft.php
deleted file mode 100644 (file)
index 78345c9..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ContributionSoft
- *
- * @ORM\Table(name="civicrm_contribution_soft", indexes={@ORM\Index(name="index_id", columns={"pcp_id"}),@ORM\Index(name="FK_civicrm_contribution_soft_contribution_id", columns={"contribution_id"}),@ORM\Index(name="FK_civicrm_contribution_soft_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_contribution_soft_pcp_id", columns={"pcp_id"})})
- * @ORM\Entity
- */
-class ContributionSoft extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contribute\Contribution
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\Contribution")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contribution;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount", type="float", nullable=true)
-   * 
-   */
-  private $amount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var \Civi\PCP\PCP
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\PCP\PCP")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="pcp_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $pcp = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="pcp_display_in_roll", type="boolean", nullable=false)
-   * 
-   */
-  private $pcpDisplayInRoll = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="pcp_roll_nickname", type="string", length=255, nullable=false)
-   * 
-   */
-  private $pcpRollNickname = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="pcp_personal_note", type="string", length=255, nullable=false)
-   * 
-   */
-  private $pcpPersonalNote = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="soft_credit_type_id", type="integer", nullable=false)
-   * 
-   */
-  private $softCreditTypeId = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contribution
-   *
-   * @param \Civi\Contribute\Contribution $contribution
-   * @return ContributionSoft
-   */
-  public function setContribution(\Civi\Contribute\Contribution $contribution = null) {
-    $this->contribution = $contribution;
-    return $this;
-  }
-
-  /**
-   * Get contribution
-   *
-   * @return \Civi\Contribute\Contribution
-   */
-  public function getContribution() {
-    return $this->contribution;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return ContributionSoft
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set amount
-   *
-   * @param float $amount
-   * @return ContributionSoft
-   */
-  public function setAmount($amount) {
-    $this->amount = $amount;
-    return $this;
-  }
-
-  /**
-   * Get amount
-   *
-   * @return float
-   */
-  public function getAmount() {
-    return $this->amount;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return ContributionSoft
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set pcp
-   *
-   * @param \Civi\PCP\PCP $pcp
-   * @return ContributionSoft
-   */
-  public function setPcp(\Civi\PCP\PCP $pcp = null) {
-    $this->pcp = $pcp;
-    return $this;
-  }
-
-  /**
-   * Get pcp
-   *
-   * @return \Civi\PCP\PCP
-   */
-  public function getPcp() {
-    return $this->pcp;
-  }
-  
-  /**
-   * Set pcpDisplayInRoll
-   *
-   * @param boolean $pcpDisplayInRoll
-   * @return ContributionSoft
-   */
-  public function setPcpDisplayInRoll($pcpDisplayInRoll) {
-    $this->pcpDisplayInRoll = $pcpDisplayInRoll;
-    return $this;
-  }
-
-  /**
-   * Get pcpDisplayInRoll
-   *
-   * @return boolean
-   */
-  public function getPcpDisplayInRoll() {
-    return $this->pcpDisplayInRoll;
-  }
-  
-  /**
-   * Set pcpRollNickname
-   *
-   * @param string $pcpRollNickname
-   * @return ContributionSoft
-   */
-  public function setPcpRollNickname($pcpRollNickname) {
-    $this->pcpRollNickname = $pcpRollNickname;
-    return $this;
-  }
-
-  /**
-   * Get pcpRollNickname
-   *
-   * @return string
-   */
-  public function getPcpRollNickname() {
-    return $this->pcpRollNickname;
-  }
-  
-  /**
-   * Set pcpPersonalNote
-   *
-   * @param string $pcpPersonalNote
-   * @return ContributionSoft
-   */
-  public function setPcpPersonalNote($pcpPersonalNote) {
-    $this->pcpPersonalNote = $pcpPersonalNote;
-    return $this;
-  }
-
-  /**
-   * Get pcpPersonalNote
-   *
-   * @return string
-   */
-  public function getPcpPersonalNote() {
-    return $this->pcpPersonalNote;
-  }
-  
-  /**
-   * Set softCreditTypeId
-   *
-   * @param integer $softCreditTypeId
-   * @return ContributionSoft
-   */
-  public function setSoftCreditTypeId($softCreditTypeId) {
-    $this->softCreditTypeId = $softCreditTypeId;
-    return $this;
-  }
-
-  /**
-   * Get softCreditTypeId
-   *
-   * @return integer
-   */
-  public function getSoftCreditTypeId() {
-    return $this->softCreditTypeId;
-  }
-
-}
-
diff --git a/Civi/Contribute/Premium.php b/Civi/Contribute/Premium.php
deleted file mode 100644 (file)
index d54cd64..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/Premium.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Premium
- *
- * @ORM\Table(name="civicrm_premiums")
- * @ORM\Entity
- */
-class Premium extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="premiums_active", type="boolean", nullable=false)
-   * 
-   */
-  private $premiumsActive = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="premiums_intro_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $premiumsIntroTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="premiums_intro_text", type="text", nullable=true)
-   * 
-   */
-  private $premiumsIntroText;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="premiums_contact_email", type="string", length=100, nullable=true)
-   * 
-   */
-  private $premiumsContactEmail;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="premiums_contact_phone", type="string", length=50, nullable=true)
-   * 
-   */
-  private $premiumsContactPhone;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="premiums_display_min_contribution", type="boolean", nullable=true)
-   * 
-   */
-  private $premiumsDisplayMinContribution;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="premiums_nothankyou_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $premiumsNothankyouLabel;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="premiums_nothankyou_position", type="integer", nullable=false)
-   * 
-   */
-  private $premiumsNothankyouPosition = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return Premium
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return Premium
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set premiumsActive
-   *
-   * @param boolean $premiumsActive
-   * @return Premium
-   */
-  public function setPremiumsActive($premiumsActive) {
-    $this->premiumsActive = $premiumsActive;
-    return $this;
-  }
-
-  /**
-   * Get premiumsActive
-   *
-   * @return boolean
-   */
-  public function getPremiumsActive() {
-    return $this->premiumsActive;
-  }
-  
-  /**
-   * Set premiumsIntroTitle
-   *
-   * @param string $premiumsIntroTitle
-   * @return Premium
-   */
-  public function setPremiumsIntroTitle($premiumsIntroTitle) {
-    $this->premiumsIntroTitle = $premiumsIntroTitle;
-    return $this;
-  }
-
-  /**
-   * Get premiumsIntroTitle
-   *
-   * @return string
-   */
-  public function getPremiumsIntroTitle() {
-    return $this->premiumsIntroTitle;
-  }
-  
-  /**
-   * Set premiumsIntroText
-   *
-   * @param text $premiumsIntroText
-   * @return Premium
-   */
-  public function setPremiumsIntroText($premiumsIntroText) {
-    $this->premiumsIntroText = $premiumsIntroText;
-    return $this;
-  }
-
-  /**
-   * Get premiumsIntroText
-   *
-   * @return text
-   */
-  public function getPremiumsIntroText() {
-    return $this->premiumsIntroText;
-  }
-  
-  /**
-   * Set premiumsContactEmail
-   *
-   * @param string $premiumsContactEmail
-   * @return Premium
-   */
-  public function setPremiumsContactEmail($premiumsContactEmail) {
-    $this->premiumsContactEmail = $premiumsContactEmail;
-    return $this;
-  }
-
-  /**
-   * Get premiumsContactEmail
-   *
-   * @return string
-   */
-  public function getPremiumsContactEmail() {
-    return $this->premiumsContactEmail;
-  }
-  
-  /**
-   * Set premiumsContactPhone
-   *
-   * @param string $premiumsContactPhone
-   * @return Premium
-   */
-  public function setPremiumsContactPhone($premiumsContactPhone) {
-    $this->premiumsContactPhone = $premiumsContactPhone;
-    return $this;
-  }
-
-  /**
-   * Get premiumsContactPhone
-   *
-   * @return string
-   */
-  public function getPremiumsContactPhone() {
-    return $this->premiumsContactPhone;
-  }
-  
-  /**
-   * Set premiumsDisplayMinContribution
-   *
-   * @param boolean $premiumsDisplayMinContribution
-   * @return Premium
-   */
-  public function setPremiumsDisplayMinContribution($premiumsDisplayMinContribution) {
-    $this->premiumsDisplayMinContribution = $premiumsDisplayMinContribution;
-    return $this;
-  }
-
-  /**
-   * Get premiumsDisplayMinContribution
-   *
-   * @return boolean
-   */
-  public function getPremiumsDisplayMinContribution() {
-    return $this->premiumsDisplayMinContribution;
-  }
-  
-  /**
-   * Set premiumsNothankyouLabel
-   *
-   * @param string $premiumsNothankyouLabel
-   * @return Premium
-   */
-  public function setPremiumsNothankyouLabel($premiumsNothankyouLabel) {
-    $this->premiumsNothankyouLabel = $premiumsNothankyouLabel;
-    return $this;
-  }
-
-  /**
-   * Get premiumsNothankyouLabel
-   *
-   * @return string
-   */
-  public function getPremiumsNothankyouLabel() {
-    return $this->premiumsNothankyouLabel;
-  }
-  
-  /**
-   * Set premiumsNothankyouPosition
-   *
-   * @param integer $premiumsNothankyouPosition
-   * @return Premium
-   */
-  public function setPremiumsNothankyouPosition($premiumsNothankyouPosition) {
-    $this->premiumsNothankyouPosition = $premiumsNothankyouPosition;
-    return $this;
-  }
-
-  /**
-   * Get premiumsNothankyouPosition
-   *
-   * @return integer
-   */
-  public function getPremiumsNothankyouPosition() {
-    return $this->premiumsNothankyouPosition;
-  }
-
-}
-
diff --git a/Civi/Contribute/PremiumsProduct.php b/Civi/Contribute/PremiumsProduct.php
deleted file mode 100644 (file)
index 954af69..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PremiumsProduct
- *
- * @ORM\Table(name="civicrm_premiums_product", indexes={@ORM\Index(name="FK_civicrm_premiums_product_premiums_id", columns={"premiums_id"}),@ORM\Index(name="FK_civicrm_premiums_product_product_id", columns={"product_id"}),@ORM\Index(name="FK_civicrm_premiums_product_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class PremiumsProduct extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contribute\Premium
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\Premium")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="premiums_id", referencedColumnName="id")})
-   */
-  private $premiums;
-  
-  /**
-   * @var \Civi\Contribute\Product
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\Product")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="product_id", referencedColumnName="id")})
-   */
-  private $product;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="weight", type="integer", nullable=true)
-   * 
-   */
-  private $weight;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set premiums
-   *
-   * @param \Civi\Contribute\Premium $premiums
-   * @return PremiumsProduct
-   */
-  public function setPremiums(\Civi\Contribute\Premium $premiums = null) {
-    $this->premiums = $premiums;
-    return $this;
-  }
-
-  /**
-   * Get premiums
-   *
-   * @return \Civi\Contribute\Premium
-   */
-  public function getPremiums() {
-    return $this->premiums;
-  }
-  
-  /**
-   * Set product
-   *
-   * @param \Civi\Contribute\Product $product
-   * @return PremiumsProduct
-   */
-  public function setProduct(\Civi\Contribute\Product $product = null) {
-    $this->product = $product;
-    return $this;
-  }
-
-  /**
-   * Get product
-   *
-   * @return \Civi\Contribute\Product
-   */
-  public function getProduct() {
-    return $this->product;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param integer $weight
-   * @return PremiumsProduct
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return integer
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return PremiumsProduct
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-
-}
-
diff --git a/Civi/Contribute/Product.php b/Civi/Contribute/Product.php
deleted file mode 100644 (file)
index 79a2da1..0000000
+++ /dev/null
@@ -1,572 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/Product.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Product
- *
- * @ORM\Table(name="civicrm_product", indexes={@ORM\Index(name="FK_civicrm_product_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class Product extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="sku", type="string", length=50, nullable=true)
-   * 
-   */
-  private $sku;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="options", type="text", nullable=true)
-   * 
-   */
-  private $options;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="image", type="string", length=255, nullable=true)
-   * 
-   */
-  private $image;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="thumbnail", type="string", length=255, nullable=true)
-   * 
-   */
-  private $thumbnail;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="price", type="float", nullable=true)
-   * 
-   */
-  private $price;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType = 'NULL';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="min_contribution", type="float", nullable=true)
-   * 
-   */
-  private $minContribution;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="cost", type="float", nullable=true)
-   * 
-   */
-  private $cost;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="period_type", type="string", length=8, nullable=false)
-   * 
-   */
-  private $periodType = 'rolling';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="fixed_period_start_day", type="int", nullable=false)
-   * 
-   */
-  private $fixedPeriodStartDay = '0101';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="duration_unit", type="string", length=8, nullable=false)
-   * 
-   */
-  private $durationUnit = 'year';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="duration_interval", type="int", nullable=true)
-   * 
-   */
-  private $durationInterval;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="frequency_unit", type="string", length=8, nullable=false)
-   * 
-   */
-  private $frequencyUnit = 'month';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="frequency_interval", type="int", nullable=true)
-   * 
-   */
-  private $frequencyInterval;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Product
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return Product
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set sku
-   *
-   * @param string $sku
-   * @return Product
-   */
-  public function setSku($sku) {
-    $this->sku = $sku;
-    return $this;
-  }
-
-  /**
-   * Get sku
-   *
-   * @return string
-   */
-  public function getSku() {
-    return $this->sku;
-  }
-  
-  /**
-   * Set options
-   *
-   * @param text $options
-   * @return Product
-   */
-  public function setOptions($options) {
-    $this->options = $options;
-    return $this;
-  }
-
-  /**
-   * Get options
-   *
-   * @return text
-   */
-  public function getOptions() {
-    return $this->options;
-  }
-  
-  /**
-   * Set image
-   *
-   * @param string $image
-   * @return Product
-   */
-  public function setImage($image) {
-    $this->image = $image;
-    return $this;
-  }
-
-  /**
-   * Get image
-   *
-   * @return string
-   */
-  public function getImage() {
-    return $this->image;
-  }
-  
-  /**
-   * Set thumbnail
-   *
-   * @param string $thumbnail
-   * @return Product
-   */
-  public function setThumbnail($thumbnail) {
-    $this->thumbnail = $thumbnail;
-    return $this;
-  }
-
-  /**
-   * Get thumbnail
-   *
-   * @return string
-   */
-  public function getThumbnail() {
-    return $this->thumbnail;
-  }
-  
-  /**
-   * Set price
-   *
-   * @param float $price
-   * @return Product
-   */
-  public function setPrice($price) {
-    $this->price = $price;
-    return $this;
-  }
-
-  /**
-   * Get price
-   *
-   * @return float
-   */
-  public function getPrice() {
-    return $this->price;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return Product
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return Product
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set minContribution
-   *
-   * @param float $minContribution
-   * @return Product
-   */
-  public function setMinContribution($minContribution) {
-    $this->minContribution = $minContribution;
-    return $this;
-  }
-
-  /**
-   * Get minContribution
-   *
-   * @return float
-   */
-  public function getMinContribution() {
-    return $this->minContribution;
-  }
-  
-  /**
-   * Set cost
-   *
-   * @param float $cost
-   * @return Product
-   */
-  public function setCost($cost) {
-    $this->cost = $cost;
-    return $this;
-  }
-
-  /**
-   * Get cost
-   *
-   * @return float
-   */
-  public function getCost() {
-    return $this->cost;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Product
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set periodType
-   *
-   * @param string $periodType
-   * @return Product
-   */
-  public function setPeriodType($periodType) {
-    $this->periodType = $periodType;
-    return $this;
-  }
-
-  /**
-   * Get periodType
-   *
-   * @return string
-   */
-  public function getPeriodType() {
-    return $this->periodType;
-  }
-  
-  /**
-   * Set fixedPeriodStartDay
-   *
-   * @param int $fixedPeriodStartDay
-   * @return Product
-   */
-  public function setFixedPeriodStartDay($fixedPeriodStartDay) {
-    $this->fixedPeriodStartDay = $fixedPeriodStartDay;
-    return $this;
-  }
-
-  /**
-   * Get fixedPeriodStartDay
-   *
-   * @return int
-   */
-  public function getFixedPeriodStartDay() {
-    return $this->fixedPeriodStartDay;
-  }
-  
-  /**
-   * Set durationUnit
-   *
-   * @param string $durationUnit
-   * @return Product
-   */
-  public function setDurationUnit($durationUnit) {
-    $this->durationUnit = $durationUnit;
-    return $this;
-  }
-
-  /**
-   * Get durationUnit
-   *
-   * @return string
-   */
-  public function getDurationUnit() {
-    return $this->durationUnit;
-  }
-  
-  /**
-   * Set durationInterval
-   *
-   * @param int $durationInterval
-   * @return Product
-   */
-  public function setDurationInterval($durationInterval) {
-    $this->durationInterval = $durationInterval;
-    return $this;
-  }
-
-  /**
-   * Get durationInterval
-   *
-   * @return int
-   */
-  public function getDurationInterval() {
-    return $this->durationInterval;
-  }
-  
-  /**
-   * Set frequencyUnit
-   *
-   * @param string $frequencyUnit
-   * @return Product
-   */
-  public function setFrequencyUnit($frequencyUnit) {
-    $this->frequencyUnit = $frequencyUnit;
-    return $this;
-  }
-
-  /**
-   * Get frequencyUnit
-   *
-   * @return string
-   */
-  public function getFrequencyUnit() {
-    return $this->frequencyUnit;
-  }
-  
-  /**
-   * Set frequencyInterval
-   *
-   * @param int $frequencyInterval
-   * @return Product
-   */
-  public function setFrequencyInterval($frequencyInterval) {
-    $this->frequencyInterval = $frequencyInterval;
-    return $this;
-  }
-
-  /**
-   * Get frequencyInterval
-   *
-   * @return int
-   */
-  public function getFrequencyInterval() {
-    return $this->frequencyInterval;
-  }
-
-}
-
diff --git a/Civi/Contribute/Widget.php b/Civi/Contribute/Widget.php
deleted file mode 100644 (file)
index 5df8e4f..0000000
+++ /dev/null
@@ -1,516 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Contribute/Widget.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Widget
- *
- * @ORM\Table(name="civicrm_contribution_widget", indexes={@ORM\Index(name="FK_civicrm_contribution_widget_contribution_page_id", columns={"contribution_page_id"})})
- * @ORM\Entity
- */
-class Widget extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contribute\ContributionPage
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\ContributionPage")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_page_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contributionPage;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_logo", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlLogo;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="button_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $buttonTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="about", type="text", nullable=true)
-   * 
-   */
-  private $about;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_homepage", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlHomepage;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_title", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorTitle;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_button", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorButton;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_bar", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorBar;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_main_text", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorMainText;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_main", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorMain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_main_bg", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorMainBg;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_bg", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorBg;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_about_link", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorAboutLink;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="color_homepage_link", type="string", length=10, nullable=true)
-   * 
-   */
-  private $colorHomepageLink;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contributionPage
-   *
-   * @param \Civi\Contribute\ContributionPage $contributionPage
-   * @return Widget
-   */
-  public function setContributionPage(\Civi\Contribute\ContributionPage $contributionPage = null) {
-    $this->contributionPage = $contributionPage;
-    return $this;
-  }
-
-  /**
-   * Get contributionPage
-   *
-   * @return \Civi\Contribute\ContributionPage
-   */
-  public function getContributionPage() {
-    return $this->contributionPage;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Widget
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Widget
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set urlLogo
-   *
-   * @param string $urlLogo
-   * @return Widget
-   */
-  public function setUrlLogo($urlLogo) {
-    $this->urlLogo = $urlLogo;
-    return $this;
-  }
-
-  /**
-   * Get urlLogo
-   *
-   * @return string
-   */
-  public function getUrlLogo() {
-    return $this->urlLogo;
-  }
-  
-  /**
-   * Set buttonTitle
-   *
-   * @param string $buttonTitle
-   * @return Widget
-   */
-  public function setButtonTitle($buttonTitle) {
-    $this->buttonTitle = $buttonTitle;
-    return $this;
-  }
-
-  /**
-   * Get buttonTitle
-   *
-   * @return string
-   */
-  public function getButtonTitle() {
-    return $this->buttonTitle;
-  }
-  
-  /**
-   * Set about
-   *
-   * @param text $about
-   * @return Widget
-   */
-  public function setAbout($about) {
-    $this->about = $about;
-    return $this;
-  }
-
-  /**
-   * Get about
-   *
-   * @return text
-   */
-  public function getAbout() {
-    return $this->about;
-  }
-  
-  /**
-   * Set urlHomepage
-   *
-   * @param string $urlHomepage
-   * @return Widget
-   */
-  public function setUrlHomepage($urlHomepage) {
-    $this->urlHomepage = $urlHomepage;
-    return $this;
-  }
-
-  /**
-   * Get urlHomepage
-   *
-   * @return string
-   */
-  public function getUrlHomepage() {
-    return $this->urlHomepage;
-  }
-  
-  /**
-   * Set colorTitle
-   *
-   * @param string $colorTitle
-   * @return Widget
-   */
-  public function setColorTitle($colorTitle) {
-    $this->colorTitle = $colorTitle;
-    return $this;
-  }
-
-  /**
-   * Get colorTitle
-   *
-   * @return string
-   */
-  public function getColorTitle() {
-    return $this->colorTitle;
-  }
-  
-  /**
-   * Set colorButton
-   *
-   * @param string $colorButton
-   * @return Widget
-   */
-  public function setColorButton($colorButton) {
-    $this->colorButton = $colorButton;
-    return $this;
-  }
-
-  /**
-   * Get colorButton
-   *
-   * @return string
-   */
-  public function getColorButton() {
-    return $this->colorButton;
-  }
-  
-  /**
-   * Set colorBar
-   *
-   * @param string $colorBar
-   * @return Widget
-   */
-  public function setColorBar($colorBar) {
-    $this->colorBar = $colorBar;
-    return $this;
-  }
-
-  /**
-   * Get colorBar
-   *
-   * @return string
-   */
-  public function getColorBar() {
-    return $this->colorBar;
-  }
-  
-  /**
-   * Set colorMainText
-   *
-   * @param string $colorMainText
-   * @return Widget
-   */
-  public function setColorMainText($colorMainText) {
-    $this->colorMainText = $colorMainText;
-    return $this;
-  }
-
-  /**
-   * Get colorMainText
-   *
-   * @return string
-   */
-  public function getColorMainText() {
-    return $this->colorMainText;
-  }
-  
-  /**
-   * Set colorMain
-   *
-   * @param string $colorMain
-   * @return Widget
-   */
-  public function setColorMain($colorMain) {
-    $this->colorMain = $colorMain;
-    return $this;
-  }
-
-  /**
-   * Get colorMain
-   *
-   * @return string
-   */
-  public function getColorMain() {
-    return $this->colorMain;
-  }
-  
-  /**
-   * Set colorMainBg
-   *
-   * @param string $colorMainBg
-   * @return Widget
-   */
-  public function setColorMainBg($colorMainBg) {
-    $this->colorMainBg = $colorMainBg;
-    return $this;
-  }
-
-  /**
-   * Get colorMainBg
-   *
-   * @return string
-   */
-  public function getColorMainBg() {
-    return $this->colorMainBg;
-  }
-  
-  /**
-   * Set colorBg
-   *
-   * @param string $colorBg
-   * @return Widget
-   */
-  public function setColorBg($colorBg) {
-    $this->colorBg = $colorBg;
-    return $this;
-  }
-
-  /**
-   * Get colorBg
-   *
-   * @return string
-   */
-  public function getColorBg() {
-    return $this->colorBg;
-  }
-  
-  /**
-   * Set colorAboutLink
-   *
-   * @param string $colorAboutLink
-   * @return Widget
-   */
-  public function setColorAboutLink($colorAboutLink) {
-    $this->colorAboutLink = $colorAboutLink;
-    return $this;
-  }
-
-  /**
-   * Get colorAboutLink
-   *
-   * @return string
-   */
-  public function getColorAboutLink() {
-    return $this->colorAboutLink;
-  }
-  
-  /**
-   * Set colorHomepageLink
-   *
-   * @param string $colorHomepageLink
-   * @return Widget
-   */
-  public function setColorHomepageLink($colorHomepageLink) {
-    $this->colorHomepageLink = $colorHomepageLink;
-    return $this;
-  }
-
-  /**
-   * Get colorHomepageLink
-   *
-   * @return string
-   */
-  public function getColorHomepageLink() {
-    return $this->colorHomepageLink;
-  }
-
-}
-
diff --git a/Civi/Core/ActionLog.php b/Civi/Core/ActionLog.php
deleted file mode 100644 (file)
index 791aa32..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/ActionLog.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ActionLog
- *
- * @ORM\Table(name="civicrm_action_log", indexes={@ORM\Index(name="FK_civicrm_action_log_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_action_log_action_schedule_id", columns={"action_schedule_id"})})
- * @ORM\Entity
- */
-class ActionLog extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=255, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var \Civi\Core\ActionSchedule
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\ActionSchedule")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="action_schedule_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $actionSchedule;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="action_date_time", type="datetime", nullable=true)
-   * 
-   */
-  private $actionDateTime;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_error", type="boolean", nullable=false)
-   * 
-   */
-  private $isError = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="message", type="text", nullable=true)
-   * 
-   */
-  private $message;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="repetition_number", type="integer", nullable=true)
-   * 
-   */
-  private $repetitionNumber;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return ActionLog
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return ActionLog
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return ActionLog
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set actionSchedule
-   *
-   * @param \Civi\Core\ActionSchedule $actionSchedule
-   * @return ActionLog
-   */
-  public function setActionSchedule(\Civi\Core\ActionSchedule $actionSchedule = null) {
-    $this->actionSchedule = $actionSchedule;
-    return $this;
-  }
-
-  /**
-   * Get actionSchedule
-   *
-   * @return \Civi\Core\ActionSchedule
-   */
-  public function getActionSchedule() {
-    return $this->actionSchedule;
-  }
-  
-  /**
-   * Set actionDateTime
-   *
-   * @param datetime $actionDateTime
-   * @return ActionLog
-   */
-  public function setActionDateTime($actionDateTime) {
-    $this->actionDateTime = $actionDateTime;
-    return $this;
-  }
-
-  /**
-   * Get actionDateTime
-   *
-   * @return datetime
-   */
-  public function getActionDateTime() {
-    return $this->actionDateTime;
-  }
-  
-  /**
-   * Set isError
-   *
-   * @param boolean $isError
-   * @return ActionLog
-   */
-  public function setIsError($isError) {
-    $this->isError = $isError;
-    return $this;
-  }
-
-  /**
-   * Get isError
-   *
-   * @return boolean
-   */
-  public function getIsError() {
-    return $this->isError;
-  }
-  
-  /**
-   * Set message
-   *
-   * @param text $message
-   * @return ActionLog
-   */
-  public function setMessage($message) {
-    $this->message = $message;
-    return $this;
-  }
-
-  /**
-   * Get message
-   *
-   * @return text
-   */
-  public function getMessage() {
-    return $this->message;
-  }
-  
-  /**
-   * Set repetitionNumber
-   *
-   * @param integer $repetitionNumber
-   * @return ActionLog
-   */
-  public function setRepetitionNumber($repetitionNumber) {
-    $this->repetitionNumber = $repetitionNumber;
-    return $this;
-  }
-
-  /**
-   * Get repetitionNumber
-   *
-   * @return integer
-   */
-  public function getRepetitionNumber() {
-    return $this->repetitionNumber;
-  }
-
-}
-
diff --git a/Civi/Core/ActionMapping.php b/Civi/Core/ActionMapping.php
deleted file mode 100644 (file)
index 25e9de3..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/ActionMapping.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ActionMapping
- *
- * @ORM\Table(name="civicrm_action_mapping")
- * @ORM\Entity
- */
-class ActionMapping extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entity;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_value", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityValue;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_value_label", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityValueLabel;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_status", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityStatus;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_status_label", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityStatusLabel;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_date_start", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityDateStart;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_date_end", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityDateEnd;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_recipient", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityRecipient;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entity
-   *
-   * @param string $entity
-   * @return ActionMapping
-   */
-  public function setEntity($entity) {
-    $this->entity = $entity;
-    return $this;
-  }
-
-  /**
-   * Get entity
-   *
-   * @return string
-   */
-  public function getEntity() {
-    return $this->entity;
-  }
-  
-  /**
-   * Set entityValue
-   *
-   * @param string $entityValue
-   * @return ActionMapping
-   */
-  public function setEntityValue($entityValue) {
-    $this->entityValue = $entityValue;
-    return $this;
-  }
-
-  /**
-   * Get entityValue
-   *
-   * @return string
-   */
-  public function getEntityValue() {
-    return $this->entityValue;
-  }
-  
-  /**
-   * Set entityValueLabel
-   *
-   * @param string $entityValueLabel
-   * @return ActionMapping
-   */
-  public function setEntityValueLabel($entityValueLabel) {
-    $this->entityValueLabel = $entityValueLabel;
-    return $this;
-  }
-
-  /**
-   * Get entityValueLabel
-   *
-   * @return string
-   */
-  public function getEntityValueLabel() {
-    return $this->entityValueLabel;
-  }
-  
-  /**
-   * Set entityStatus
-   *
-   * @param string $entityStatus
-   * @return ActionMapping
-   */
-  public function setEntityStatus($entityStatus) {
-    $this->entityStatus = $entityStatus;
-    return $this;
-  }
-
-  /**
-   * Get entityStatus
-   *
-   * @return string
-   */
-  public function getEntityStatus() {
-    return $this->entityStatus;
-  }
-  
-  /**
-   * Set entityStatusLabel
-   *
-   * @param string $entityStatusLabel
-   * @return ActionMapping
-   */
-  public function setEntityStatusLabel($entityStatusLabel) {
-    $this->entityStatusLabel = $entityStatusLabel;
-    return $this;
-  }
-
-  /**
-   * Get entityStatusLabel
-   *
-   * @return string
-   */
-  public function getEntityStatusLabel() {
-    return $this->entityStatusLabel;
-  }
-  
-  /**
-   * Set entityDateStart
-   *
-   * @param string $entityDateStart
-   * @return ActionMapping
-   */
-  public function setEntityDateStart($entityDateStart) {
-    $this->entityDateStart = $entityDateStart;
-    return $this;
-  }
-
-  /**
-   * Get entityDateStart
-   *
-   * @return string
-   */
-  public function getEntityDateStart() {
-    return $this->entityDateStart;
-  }
-  
-  /**
-   * Set entityDateEnd
-   *
-   * @param string $entityDateEnd
-   * @return ActionMapping
-   */
-  public function setEntityDateEnd($entityDateEnd) {
-    $this->entityDateEnd = $entityDateEnd;
-    return $this;
-  }
-
-  /**
-   * Get entityDateEnd
-   *
-   * @return string
-   */
-  public function getEntityDateEnd() {
-    return $this->entityDateEnd;
-  }
-  
-  /**
-   * Set entityRecipient
-   *
-   * @param string $entityRecipient
-   * @return ActionMapping
-   */
-  public function setEntityRecipient($entityRecipient) {
-    $this->entityRecipient = $entityRecipient;
-    return $this;
-  }
-
-  /**
-   * Get entityRecipient
-   *
-   * @return string
-   */
-  public function getEntityRecipient() {
-    return $this->entityRecipient;
-  }
-
-}
-
diff --git a/Civi/Core/ActionSchedule.php b/Civi/Core/ActionSchedule.php
deleted file mode 100644 (file)
index fa70953..0000000
+++ /dev/null
@@ -1,908 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/ActionSchedule.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ActionSchedule
- *
- * @ORM\Table(name="civicrm_action_schedule", indexes={@ORM\Index(name="FK_civicrm_action_schedule_mapping_id", columns={"mapping_id"}),@ORM\Index(name="FK_civicrm_action_schedule_group_id", columns={"group_id"}),@ORM\Index(name="FK_civicrm_action_schedule_msg_template_id", columns={"msg_template_id"}),@ORM\Index(name="FK_civicrm_action_schedule_sms_provider_id", columns={"sms_provider_id"})})
- * @ORM\Entity
- */
-class ActionSchedule extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=64, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="recipient", type="string", length=64, nullable=true)
-   * 
-   */
-  private $recipient;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="limit_to", type="boolean", nullable=false)
-   * 
-   */
-  private $limitTo = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_value", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityValue;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_status", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityStatus;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="start_action_offset", type="integer", nullable=true)
-   * 
-   */
-  private $startActionOffset;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="start_action_unit", type="string", length=8, nullable=true)
-   * 
-   */
-  private $startActionUnit;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="start_action_condition", type="string", length=32, nullable=true)
-   * 
-   */
-  private $startActionCondition;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="start_action_date", type="string", length=64, nullable=true)
-   * 
-   */
-  private $startActionDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_repeat", type="boolean", nullable=false)
-   * 
-   */
-  private $isRepeat = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="repetition_frequency_unit", type="string", length=8, nullable=true)
-   * 
-   */
-  private $repetitionFrequencyUnit;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="repetition_frequency_interval", type="integer", nullable=true)
-   * 
-   */
-  private $repetitionFrequencyInterval;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="end_frequency_unit", type="string", length=8, nullable=true)
-   * 
-   */
-  private $endFrequencyUnit;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="end_frequency_interval", type="integer", nullable=true)
-   * 
-   */
-  private $endFrequencyInterval;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="end_action", type="string", length=32, nullable=true)
-   * 
-   */
-  private $endAction;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="end_date", type="string", length=64, nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="recipient_manual", type="string", length=128, nullable=true)
-   * 
-   */
-  private $recipientManual;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="recipient_listing", type="string", length=128, nullable=true)
-   * 
-   */
-  private $recipientListing;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="body_text", type="longtext", nullable=true)
-   * 
-   */
-  private $bodyText;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="body_html", type="longtext", nullable=true)
-   * 
-   */
-  private $bodyHtml;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=128, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="record_activity", type="boolean", nullable=false)
-   * 
-   */
-  private $recordActivity = 'NULL';
-  
-  /**
-   * @var \Civi\Core\ActionMapping
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\ActionMapping")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="mapping_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $mapping;
-  
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="group_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $group;
-  
-  /**
-   * @var \Civi\Core\MessageTemplate
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\MessageTemplate")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="msg_template_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $msgTemplate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="absolute_date", type="date", nullable=true)
-   * 
-   */
-  private $absoluteDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="mode", type="string", length=128, nullable=false)
-   * 
-   */
-  private $mode = '"Email"';
-  
-  /**
-   * @var \Civi\SMS\Provider
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\SMS\Provider")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="sms_provider_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $smsProvider;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return ActionSchedule
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return ActionSchedule
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set recipient
-   *
-   * @param string $recipient
-   * @return ActionSchedule
-   */
-  public function setRecipient($recipient) {
-    $this->recipient = $recipient;
-    return $this;
-  }
-
-  /**
-   * Get recipient
-   *
-   * @return string
-   */
-  public function getRecipient() {
-    return $this->recipient;
-  }
-  
-  /**
-   * Set limitTo
-   *
-   * @param boolean $limitTo
-   * @return ActionSchedule
-   */
-  public function setLimitTo($limitTo) {
-    $this->limitTo = $limitTo;
-    return $this;
-  }
-
-  /**
-   * Get limitTo
-   *
-   * @return boolean
-   */
-  public function getLimitTo() {
-    return $this->limitTo;
-  }
-  
-  /**
-   * Set entityValue
-   *
-   * @param string $entityValue
-   * @return ActionSchedule
-   */
-  public function setEntityValue($entityValue) {
-    $this->entityValue = $entityValue;
-    return $this;
-  }
-
-  /**
-   * Get entityValue
-   *
-   * @return string
-   */
-  public function getEntityValue() {
-    return $this->entityValue;
-  }
-  
-  /**
-   * Set entityStatus
-   *
-   * @param string $entityStatus
-   * @return ActionSchedule
-   */
-  public function setEntityStatus($entityStatus) {
-    $this->entityStatus = $entityStatus;
-    return $this;
-  }
-
-  /**
-   * Get entityStatus
-   *
-   * @return string
-   */
-  public function getEntityStatus() {
-    return $this->entityStatus;
-  }
-  
-  /**
-   * Set startActionOffset
-   *
-   * @param integer $startActionOffset
-   * @return ActionSchedule
-   */
-  public function setStartActionOffset($startActionOffset) {
-    $this->startActionOffset = $startActionOffset;
-    return $this;
-  }
-
-  /**
-   * Get startActionOffset
-   *
-   * @return integer
-   */
-  public function getStartActionOffset() {
-    return $this->startActionOffset;
-  }
-  
-  /**
-   * Set startActionUnit
-   *
-   * @param string $startActionUnit
-   * @return ActionSchedule
-   */
-  public function setStartActionUnit($startActionUnit) {
-    $this->startActionUnit = $startActionUnit;
-    return $this;
-  }
-
-  /**
-   * Get startActionUnit
-   *
-   * @return string
-   */
-  public function getStartActionUnit() {
-    return $this->startActionUnit;
-  }
-  
-  /**
-   * Set startActionCondition
-   *
-   * @param string $startActionCondition
-   * @return ActionSchedule
-   */
-  public function setStartActionCondition($startActionCondition) {
-    $this->startActionCondition = $startActionCondition;
-    return $this;
-  }
-
-  /**
-   * Get startActionCondition
-   *
-   * @return string
-   */
-  public function getStartActionCondition() {
-    return $this->startActionCondition;
-  }
-  
-  /**
-   * Set startActionDate
-   *
-   * @param string $startActionDate
-   * @return ActionSchedule
-   */
-  public function setStartActionDate($startActionDate) {
-    $this->startActionDate = $startActionDate;
-    return $this;
-  }
-
-  /**
-   * Get startActionDate
-   *
-   * @return string
-   */
-  public function getStartActionDate() {
-    return $this->startActionDate;
-  }
-  
-  /**
-   * Set isRepeat
-   *
-   * @param boolean $isRepeat
-   * @return ActionSchedule
-   */
-  public function setIsRepeat($isRepeat) {
-    $this->isRepeat = $isRepeat;
-    return $this;
-  }
-
-  /**
-   * Get isRepeat
-   *
-   * @return boolean
-   */
-  public function getIsRepeat() {
-    return $this->isRepeat;
-  }
-  
-  /**
-   * Set repetitionFrequencyUnit
-   *
-   * @param string $repetitionFrequencyUnit
-   * @return ActionSchedule
-   */
-  public function setRepetitionFrequencyUnit($repetitionFrequencyUnit) {
-    $this->repetitionFrequencyUnit = $repetitionFrequencyUnit;
-    return $this;
-  }
-
-  /**
-   * Get repetitionFrequencyUnit
-   *
-   * @return string
-   */
-  public function getRepetitionFrequencyUnit() {
-    return $this->repetitionFrequencyUnit;
-  }
-  
-  /**
-   * Set repetitionFrequencyInterval
-   *
-   * @param integer $repetitionFrequencyInterval
-   * @return ActionSchedule
-   */
-  public function setRepetitionFrequencyInterval($repetitionFrequencyInterval) {
-    $this->repetitionFrequencyInterval = $repetitionFrequencyInterval;
-    return $this;
-  }
-
-  /**
-   * Get repetitionFrequencyInterval
-   *
-   * @return integer
-   */
-  public function getRepetitionFrequencyInterval() {
-    return $this->repetitionFrequencyInterval;
-  }
-  
-  /**
-   * Set endFrequencyUnit
-   *
-   * @param string $endFrequencyUnit
-   * @return ActionSchedule
-   */
-  public function setEndFrequencyUnit($endFrequencyUnit) {
-    $this->endFrequencyUnit = $endFrequencyUnit;
-    return $this;
-  }
-
-  /**
-   * Get endFrequencyUnit
-   *
-   * @return string
-   */
-  public function getEndFrequencyUnit() {
-    return $this->endFrequencyUnit;
-  }
-  
-  /**
-   * Set endFrequencyInterval
-   *
-   * @param integer $endFrequencyInterval
-   * @return ActionSchedule
-   */
-  public function setEndFrequencyInterval($endFrequencyInterval) {
-    $this->endFrequencyInterval = $endFrequencyInterval;
-    return $this;
-  }
-
-  /**
-   * Get endFrequencyInterval
-   *
-   * @return integer
-   */
-  public function getEndFrequencyInterval() {
-    return $this->endFrequencyInterval;
-  }
-  
-  /**
-   * Set endAction
-   *
-   * @param string $endAction
-   * @return ActionSchedule
-   */
-  public function setEndAction($endAction) {
-    $this->endAction = $endAction;
-    return $this;
-  }
-
-  /**
-   * Get endAction
-   *
-   * @return string
-   */
-  public function getEndAction() {
-    return $this->endAction;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param string $endDate
-   * @return ActionSchedule
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return string
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return ActionSchedule
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set recipientManual
-   *
-   * @param string $recipientManual
-   * @return ActionSchedule
-   */
-  public function setRecipientManual($recipientManual) {
-    $this->recipientManual = $recipientManual;
-    return $this;
-  }
-
-  /**
-   * Get recipientManual
-   *
-   * @return string
-   */
-  public function getRecipientManual() {
-    return $this->recipientManual;
-  }
-  
-  /**
-   * Set recipientListing
-   *
-   * @param string $recipientListing
-   * @return ActionSchedule
-   */
-  public function setRecipientListing($recipientListing) {
-    $this->recipientListing = $recipientListing;
-    return $this;
-  }
-
-  /**
-   * Get recipientListing
-   *
-   * @return string
-   */
-  public function getRecipientListing() {
-    return $this->recipientListing;
-  }
-  
-  /**
-   * Set bodyText
-   *
-   * @param longtext $bodyText
-   * @return ActionSchedule
-   */
-  public function setBodyText($bodyText) {
-    $this->bodyText = $bodyText;
-    return $this;
-  }
-
-  /**
-   * Get bodyText
-   *
-   * @return longtext
-   */
-  public function getBodyText() {
-    return $this->bodyText;
-  }
-  
-  /**
-   * Set bodyHtml
-   *
-   * @param longtext $bodyHtml
-   * @return ActionSchedule
-   */
-  public function setBodyHtml($bodyHtml) {
-    $this->bodyHtml = $bodyHtml;
-    return $this;
-  }
-
-  /**
-   * Get bodyHtml
-   *
-   * @return longtext
-   */
-  public function getBodyHtml() {
-    return $this->bodyHtml;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return ActionSchedule
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set recordActivity
-   *
-   * @param boolean $recordActivity
-   * @return ActionSchedule
-   */
-  public function setRecordActivity($recordActivity) {
-    $this->recordActivity = $recordActivity;
-    return $this;
-  }
-
-  /**
-   * Get recordActivity
-   *
-   * @return boolean
-   */
-  public function getRecordActivity() {
-    return $this->recordActivity;
-  }
-  
-  /**
-   * Set mapping
-   *
-   * @param \Civi\Core\ActionMapping $mapping
-   * @return ActionSchedule
-   */
-  public function setMapping(\Civi\Core\ActionMapping $mapping = null) {
-    $this->mapping = $mapping;
-    return $this;
-  }
-
-  /**
-   * Get mapping
-   *
-   * @return \Civi\Core\ActionMapping
-   */
-  public function getMapping() {
-    return $this->mapping;
-  }
-  
-  /**
-   * Set group
-   *
-   * @param \Civi\Contact\Group $group
-   * @return ActionSchedule
-   */
-  public function setGroup(\Civi\Contact\Group $group = null) {
-    $this->group = $group;
-    return $this;
-  }
-
-  /**
-   * Get group
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getGroup() {
-    return $this->group;
-  }
-  
-  /**
-   * Set msgTemplate
-   *
-   * @param \Civi\Core\MessageTemplate $msgTemplate
-   * @return ActionSchedule
-   */
-  public function setMsgTemplate(\Civi\Core\MessageTemplate $msgTemplate = null) {
-    $this->msgTemplate = $msgTemplate;
-    return $this;
-  }
-
-  /**
-   * Get msgTemplate
-   *
-   * @return \Civi\Core\MessageTemplate
-   */
-  public function getMsgTemplate() {
-    return $this->msgTemplate;
-  }
-  
-  /**
-   * Set absoluteDate
-   *
-   * @param date $absoluteDate
-   * @return ActionSchedule
-   */
-  public function setAbsoluteDate($absoluteDate) {
-    $this->absoluteDate = $absoluteDate;
-    return $this;
-  }
-
-  /**
-   * Get absoluteDate
-   *
-   * @return date
-   */
-  public function getAbsoluteDate() {
-    return $this->absoluteDate;
-  }
-  
-  /**
-   * Set mode
-   *
-   * @param string $mode
-   * @return ActionSchedule
-   */
-  public function setMode($mode) {
-    $this->mode = $mode;
-    return $this;
-  }
-
-  /**
-   * Get mode
-   *
-   * @return string
-   */
-  public function getMode() {
-    return $this->mode;
-  }
-  
-  /**
-   * Set smsProvider
-   *
-   * @param \Civi\SMS\Provider $smsProvider
-   * @return ActionSchedule
-   */
-  public function setSmsProvider(\Civi\SMS\Provider $smsProvider = null) {
-    $this->smsProvider = $smsProvider;
-    return $this;
-  }
-
-  /**
-   * Get smsProvider
-   *
-   * @return \Civi\SMS\Provider
-   */
-  public function getSmsProvider() {
-    return $this->smsProvider;
-  }
-
-}
-
diff --git a/Civi/Core/Address.php b/Civi/Core/Address.php
deleted file mode 100644 (file)
index cf1d554..0000000
+++ /dev/null
@@ -1,852 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Address.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Address
- *
- * @ORM\Table(name="civicrm_address", indexes={@ORM\Index(name="index_location_type", columns={"location_type_id"}),@ORM\Index(name="index_is_primary", columns={"is_primary"}),@ORM\Index(name="index_is_billing", columns={"is_billing"}),@ORM\Index(name="index_street_name", columns={"street_name"}),@ORM\Index(name="index_city", columns={"city"}),@ORM\Index(name="FK_civicrm_address_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_address_county_id", columns={"county_id"}),@ORM\Index(name="FK_civicrm_address_state_province_id", columns={"state_province_id"}),@ORM\Index(name="FK_civicrm_address_country_id", columns={"country_id"}),@ORM\Index(name="FK_civicrm_address_master_id", columns={"master_id"})})
- * @ORM\Entity
- */
-class Address extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="location_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $locationTypeId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_primary", type="boolean", nullable=false)
-   * 
-   */
-  private $isPrimary = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_billing", type="boolean", nullable=false)
-   * 
-   */
-  private $isBilling = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="street_address", type="string", length=96, nullable=true)
-   * 
-   */
-  private $streetAddress;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="street_number", type="int", nullable=true)
-   * 
-   */
-  private $streetNumber;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="street_number_suffix", type="string", length=8, nullable=true)
-   * 
-   */
-  private $streetNumberSuffix;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="street_number_predirectional", type="string", length=8, nullable=true)
-   * 
-   */
-  private $streetNumberPredirectional;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="street_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $streetName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="street_type", type="string", length=8, nullable=true)
-   * 
-   */
-  private $streetType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="street_number_postdirectional", type="string", length=8, nullable=true)
-   * 
-   */
-  private $streetNumberPostdirectional;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="street_unit", type="string", length=16, nullable=true)
-   * 
-   */
-  private $streetUnit;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="supplemental_address_1", type="string", length=96, nullable=true)
-   * 
-   */
-  private $supplementalAddress1;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="supplemental_address_2", type="string", length=96, nullable=true)
-   * 
-   */
-  private $supplementalAddress2;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="supplemental_address_3", type="string", length=96, nullable=true)
-   * 
-   */
-  private $supplementalAddress3;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="city", type="string", length=64, nullable=true)
-   * 
-   */
-  private $city;
-  
-  /**
-   * @var \Civi\Core\County
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\County")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="county_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $county;
-  
-  /**
-   * @var \Civi\Core\StateProvince
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\StateProvince")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="state_province_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $stateProvince;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="postal_code_suffix", type="string", length=12, nullable=true)
-   * 
-   */
-  private $postalCodeSuffix;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="postal_code", type="string", length=12, nullable=true)
-   * 
-   */
-  private $postalCode;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="usps_adc", type="string", length=32, nullable=true)
-   * 
-   */
-  private $uspsAdc;
-  
-  /**
-   * @var \Civi\Core\Country
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Country")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="country_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $country;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="geo_code_1", type="float", nullable=true)
-   * 
-   */
-  private $geoCode1;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="geo_code_2", type="float", nullable=true)
-   * 
-   */
-  private $geoCode2;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="manual_geo_code", type="boolean", nullable=false)
-   * 
-   */
-  private $manualGeoCode = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="timezone", type="string", length=8, nullable=true)
-   * 
-   */
-  private $timezone;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var \Civi\Core\Address
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Address")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="master_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $master;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Address
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set locationTypeId
-   *
-   * @param integer $locationTypeId
-   * @return Address
-   */
-  public function setLocationTypeId($locationTypeId) {
-    $this->locationTypeId = $locationTypeId;
-    return $this;
-  }
-
-  /**
-   * Get locationTypeId
-   *
-   * @return integer
-   */
-  public function getLocationTypeId() {
-    return $this->locationTypeId;
-  }
-  
-  /**
-   * Set isPrimary
-   *
-   * @param boolean $isPrimary
-   * @return Address
-   */
-  public function setIsPrimary($isPrimary) {
-    $this->isPrimary = $isPrimary;
-    return $this;
-  }
-
-  /**
-   * Get isPrimary
-   *
-   * @return boolean
-   */
-  public function getIsPrimary() {
-    return $this->isPrimary;
-  }
-  
-  /**
-   * Set isBilling
-   *
-   * @param boolean $isBilling
-   * @return Address
-   */
-  public function setIsBilling($isBilling) {
-    $this->isBilling = $isBilling;
-    return $this;
-  }
-
-  /**
-   * Get isBilling
-   *
-   * @return boolean
-   */
-  public function getIsBilling() {
-    return $this->isBilling;
-  }
-  
-  /**
-   * Set streetAddress
-   *
-   * @param string $streetAddress
-   * @return Address
-   */
-  public function setStreetAddress($streetAddress) {
-    $this->streetAddress = $streetAddress;
-    return $this;
-  }
-
-  /**
-   * Get streetAddress
-   *
-   * @return string
-   */
-  public function getStreetAddress() {
-    return $this->streetAddress;
-  }
-  
-  /**
-   * Set streetNumber
-   *
-   * @param int $streetNumber
-   * @return Address
-   */
-  public function setStreetNumber($streetNumber) {
-    $this->streetNumber = $streetNumber;
-    return $this;
-  }
-
-  /**
-   * Get streetNumber
-   *
-   * @return int
-   */
-  public function getStreetNumber() {
-    return $this->streetNumber;
-  }
-  
-  /**
-   * Set streetNumberSuffix
-   *
-   * @param string $streetNumberSuffix
-   * @return Address
-   */
-  public function setStreetNumberSuffix($streetNumberSuffix) {
-    $this->streetNumberSuffix = $streetNumberSuffix;
-    return $this;
-  }
-
-  /**
-   * Get streetNumberSuffix
-   *
-   * @return string
-   */
-  public function getStreetNumberSuffix() {
-    return $this->streetNumberSuffix;
-  }
-  
-  /**
-   * Set streetNumberPredirectional
-   *
-   * @param string $streetNumberPredirectional
-   * @return Address
-   */
-  public function setStreetNumberPredirectional($streetNumberPredirectional) {
-    $this->streetNumberPredirectional = $streetNumberPredirectional;
-    return $this;
-  }
-
-  /**
-   * Get streetNumberPredirectional
-   *
-   * @return string
-   */
-  public function getStreetNumberPredirectional() {
-    return $this->streetNumberPredirectional;
-  }
-  
-  /**
-   * Set streetName
-   *
-   * @param string $streetName
-   * @return Address
-   */
-  public function setStreetName($streetName) {
-    $this->streetName = $streetName;
-    return $this;
-  }
-
-  /**
-   * Get streetName
-   *
-   * @return string
-   */
-  public function getStreetName() {
-    return $this->streetName;
-  }
-  
-  /**
-   * Set streetType
-   *
-   * @param string $streetType
-   * @return Address
-   */
-  public function setStreetType($streetType) {
-    $this->streetType = $streetType;
-    return $this;
-  }
-
-  /**
-   * Get streetType
-   *
-   * @return string
-   */
-  public function getStreetType() {
-    return $this->streetType;
-  }
-  
-  /**
-   * Set streetNumberPostdirectional
-   *
-   * @param string $streetNumberPostdirectional
-   * @return Address
-   */
-  public function setStreetNumberPostdirectional($streetNumberPostdirectional) {
-    $this->streetNumberPostdirectional = $streetNumberPostdirectional;
-    return $this;
-  }
-
-  /**
-   * Get streetNumberPostdirectional
-   *
-   * @return string
-   */
-  public function getStreetNumberPostdirectional() {
-    return $this->streetNumberPostdirectional;
-  }
-  
-  /**
-   * Set streetUnit
-   *
-   * @param string $streetUnit
-   * @return Address
-   */
-  public function setStreetUnit($streetUnit) {
-    $this->streetUnit = $streetUnit;
-    return $this;
-  }
-
-  /**
-   * Get streetUnit
-   *
-   * @return string
-   */
-  public function getStreetUnit() {
-    return $this->streetUnit;
-  }
-  
-  /**
-   * Set supplementalAddress1
-   *
-   * @param string $supplementalAddress1
-   * @return Address
-   */
-  public function setSupplementalAddress1($supplementalAddress1) {
-    $this->supplementalAddress1 = $supplementalAddress1;
-    return $this;
-  }
-
-  /**
-   * Get supplementalAddress1
-   *
-   * @return string
-   */
-  public function getSupplementalAddress1() {
-    return $this->supplementalAddress1;
-  }
-  
-  /**
-   * Set supplementalAddress2
-   *
-   * @param string $supplementalAddress2
-   * @return Address
-   */
-  public function setSupplementalAddress2($supplementalAddress2) {
-    $this->supplementalAddress2 = $supplementalAddress2;
-    return $this;
-  }
-
-  /**
-   * Get supplementalAddress2
-   *
-   * @return string
-   */
-  public function getSupplementalAddress2() {
-    return $this->supplementalAddress2;
-  }
-  
-  /**
-   * Set supplementalAddress3
-   *
-   * @param string $supplementalAddress3
-   * @return Address
-   */
-  public function setSupplementalAddress3($supplementalAddress3) {
-    $this->supplementalAddress3 = $supplementalAddress3;
-    return $this;
-  }
-
-  /**
-   * Get supplementalAddress3
-   *
-   * @return string
-   */
-  public function getSupplementalAddress3() {
-    return $this->supplementalAddress3;
-  }
-  
-  /**
-   * Set city
-   *
-   * @param string $city
-   * @return Address
-   */
-  public function setCity($city) {
-    $this->city = $city;
-    return $this;
-  }
-
-  /**
-   * Get city
-   *
-   * @return string
-   */
-  public function getCity() {
-    return $this->city;
-  }
-  
-  /**
-   * Set county
-   *
-   * @param \Civi\Core\County $county
-   * @return Address
-   */
-  public function setCounty(\Civi\Core\County $county = null) {
-    $this->county = $county;
-    return $this;
-  }
-
-  /**
-   * Get county
-   *
-   * @return \Civi\Core\County
-   */
-  public function getCounty() {
-    return $this->county;
-  }
-  
-  /**
-   * Set stateProvince
-   *
-   * @param \Civi\Core\StateProvince $stateProvince
-   * @return Address
-   */
-  public function setStateProvince(\Civi\Core\StateProvince $stateProvince = null) {
-    $this->stateProvince = $stateProvince;
-    return $this;
-  }
-
-  /**
-   * Get stateProvince
-   *
-   * @return \Civi\Core\StateProvince
-   */
-  public function getStateProvince() {
-    return $this->stateProvince;
-  }
-  
-  /**
-   * Set postalCodeSuffix
-   *
-   * @param string $postalCodeSuffix
-   * @return Address
-   */
-  public function setPostalCodeSuffix($postalCodeSuffix) {
-    $this->postalCodeSuffix = $postalCodeSuffix;
-    return $this;
-  }
-
-  /**
-   * Get postalCodeSuffix
-   *
-   * @return string
-   */
-  public function getPostalCodeSuffix() {
-    return $this->postalCodeSuffix;
-  }
-  
-  /**
-   * Set postalCode
-   *
-   * @param string $postalCode
-   * @return Address
-   */
-  public function setPostalCode($postalCode) {
-    $this->postalCode = $postalCode;
-    return $this;
-  }
-
-  /**
-   * Get postalCode
-   *
-   * @return string
-   */
-  public function getPostalCode() {
-    return $this->postalCode;
-  }
-  
-  /**
-   * Set uspsAdc
-   *
-   * @param string $uspsAdc
-   * @return Address
-   */
-  public function setUspsAdc($uspsAdc) {
-    $this->uspsAdc = $uspsAdc;
-    return $this;
-  }
-
-  /**
-   * Get uspsAdc
-   *
-   * @return string
-   */
-  public function getUspsAdc() {
-    return $this->uspsAdc;
-  }
-  
-  /**
-   * Set country
-   *
-   * @param \Civi\Core\Country $country
-   * @return Address
-   */
-  public function setCountry(\Civi\Core\Country $country = null) {
-    $this->country = $country;
-    return $this;
-  }
-
-  /**
-   * Get country
-   *
-   * @return \Civi\Core\Country
-   */
-  public function getCountry() {
-    return $this->country;
-  }
-  
-  /**
-   * Set geoCode1
-   *
-   * @param float $geoCode1
-   * @return Address
-   */
-  public function setGeoCode1($geoCode1) {
-    $this->geoCode1 = $geoCode1;
-    return $this;
-  }
-
-  /**
-   * Get geoCode1
-   *
-   * @return float
-   */
-  public function getGeoCode1() {
-    return $this->geoCode1;
-  }
-  
-  /**
-   * Set geoCode2
-   *
-   * @param float $geoCode2
-   * @return Address
-   */
-  public function setGeoCode2($geoCode2) {
-    $this->geoCode2 = $geoCode2;
-    return $this;
-  }
-
-  /**
-   * Get geoCode2
-   *
-   * @return float
-   */
-  public function getGeoCode2() {
-    return $this->geoCode2;
-  }
-  
-  /**
-   * Set manualGeoCode
-   *
-   * @param boolean $manualGeoCode
-   * @return Address
-   */
-  public function setManualGeoCode($manualGeoCode) {
-    $this->manualGeoCode = $manualGeoCode;
-    return $this;
-  }
-
-  /**
-   * Get manualGeoCode
-   *
-   * @return boolean
-   */
-  public function getManualGeoCode() {
-    return $this->manualGeoCode;
-  }
-  
-  /**
-   * Set timezone
-   *
-   * @param string $timezone
-   * @return Address
-   */
-  public function setTimezone($timezone) {
-    $this->timezone = $timezone;
-    return $this;
-  }
-
-  /**
-   * Get timezone
-   *
-   * @return string
-   */
-  public function getTimezone() {
-    return $this->timezone;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Address
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set master
-   *
-   * @param \Civi\Core\Address $master
-   * @return Address
-   */
-  public function setMaster(\Civi\Core\Address $master = null) {
-    $this->master = $master;
-    return $this;
-  }
-
-  /**
-   * Get master
-   *
-   * @return \Civi\Core\Address
-   */
-  public function getMaster() {
-    return $this->master;
-  }
-
-}
-
diff --git a/Civi/Core/AddressFormat.php b/Civi/Core/AddressFormat.php
deleted file mode 100644 (file)
index 88021d5..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/AddressFormat.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * AddressFormat
- *
- * @ORM\Table(name="civicrm_address_format")
- * @ORM\Entity
- */
-class AddressFormat extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="format", type="text", nullable=true)
-   * 
-   */
-  private $format;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set format
-   *
-   * @param text $format
-   * @return AddressFormat
-   */
-  public function setFormat($format) {
-    $this->format = $format;
-    return $this;
-  }
-
-  /**
-   * Get format
-   *
-   * @return text
-   */
-  public function getFormat() {
-    return $this->format;
-  }
-
-}
-
diff --git a/Civi/Core/Cache.php b/Civi/Core/Cache.php
deleted file mode 100644 (file)
index 85e2b3b..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Cache.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Cache
- *
- * @ORM\Table(name="civicrm_cache", uniqueConstraints={@ORM\UniqueConstraint(name="UI_group_path_date", columns={"group_name,path,created_date"})}, indexes={@ORM\Index(name="FK_civicrm_cache_component_id", columns={"component_id"})})
- * @ORM\Entity
- */
-class Cache extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="group_name", type="string", length=32, nullable=true)
-   * 
-   */
-  private $groupName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="path", type="string", length=255, nullable=true)
-   * 
-   */
-  private $path;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="data", type="longtext", nullable=true)
-   * 
-   */
-  private $data;
-  
-  /**
-   * @var \Civi\Core\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="component_id", referencedColumnName="id")})
-   */
-  private $component;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="expired_date", type="datetime", nullable=true)
-   * 
-   */
-  private $expiredDate;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set groupName
-   *
-   * @param string $groupName
-   * @return Cache
-   */
-  public function setGroupName($groupName) {
-    $this->groupName = $groupName;
-    return $this;
-  }
-
-  /**
-   * Get groupName
-   *
-   * @return string
-   */
-  public function getGroupName() {
-    return $this->groupName;
-  }
-  
-  /**
-   * Set path
-   *
-   * @param string $path
-   * @return Cache
-   */
-  public function setPath($path) {
-    $this->path = $path;
-    return $this;
-  }
-
-  /**
-   * Get path
-   *
-   * @return string
-   */
-  public function getPath() {
-    return $this->path;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param longtext $data
-   * @return Cache
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return longtext
-   */
-  public function getData() {
-    return $this->data;
-  }
-  
-  /**
-   * Set component
-   *
-   * @param \Civi\Core\Component $component
-   * @return Cache
-   */
-  public function setComponent(\Civi\Core\Component $component = null) {
-    $this->component = $component;
-    return $this;
-  }
-
-  /**
-   * Get component
-   *
-   * @return \Civi\Core\Component
-   */
-  public function getComponent() {
-    return $this->component;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Cache
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set expiredDate
-   *
-   * @param datetime $expiredDate
-   * @return Cache
-   */
-  public function setExpiredDate($expiredDate) {
-    $this->expiredDate = $expiredDate;
-    return $this;
-  }
-
-  /**
-   * Get expiredDate
-   *
-   * @return datetime
-   */
-  public function getExpiredDate() {
-    return $this->expiredDate;
-  }
-
-}
-
diff --git a/Civi/Core/Component.php b/Civi/Core/Component.php
deleted file mode 100644 (file)
index 9d5296b..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Component.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Component
- *
- * @ORM\Table(name="civicrm_component")
- * @ORM\Entity
- */
-class Component extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="namespace", type="string", length=128, nullable=true)
-   * 
-   */
-  private $namespace;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Component
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set namespace
-   *
-   * @param string $namespace
-   * @return Component
-   */
-  public function setNamespace($namespace) {
-    $this->namespace = $namespace;
-    return $this;
-  }
-
-  /**
-   * Get namespace
-   *
-   * @return string
-   */
-  public function getNamespace() {
-    return $this->namespace;
-  }
-
-}
-
diff --git a/Civi/Core/Country.php b/Civi/Core/Country.php
deleted file mode 100644 (file)
index 82201c5..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Country.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Country
- *
- * @ORM\Table(name="civicrm_country", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name_iso_code", columns={"name,iso_code"})}, indexes={@ORM\Index(name="FK_civicrm_country_address_format_id", columns={"address_format_id"}),@ORM\Index(name="FK_civicrm_country_region_id", columns={"region_id"})})
- * @ORM\Entity
- */
-class Country extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="iso_code", type="string", length=2, nullable=true)
-   * 
-   */
-  private $isoCode;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="country_code", type="string", length=4, nullable=true)
-   * 
-   */
-  private $countryCode;
-  
-  /**
-   * @var \Civi\Core\AddressFormat
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\AddressFormat")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="address_format_id", referencedColumnName="id")})
-   */
-  private $addressFormat;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="idd_prefix", type="string", length=4, nullable=true)
-   * 
-   */
-  private $iddPrefix;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="ndd_prefix", type="string", length=4, nullable=true)
-   * 
-   */
-  private $nddPrefix;
-  
-  /**
-   * @var \Civi\Core\Worldregion
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Worldregion")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="region_id", referencedColumnName="id")})
-   */
-  private $region;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_province_abbreviated", type="boolean", nullable=false)
-   * 
-   */
-  private $isProvinceAbbreviated = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Country
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set isoCode
-   *
-   * @param string $isoCode
-   * @return Country
-   */
-  public function setIsoCode($isoCode) {
-    $this->isoCode = $isoCode;
-    return $this;
-  }
-
-  /**
-   * Get isoCode
-   *
-   * @return string
-   */
-  public function getIsoCode() {
-    return $this->isoCode;
-  }
-  
-  /**
-   * Set countryCode
-   *
-   * @param string $countryCode
-   * @return Country
-   */
-  public function setCountryCode($countryCode) {
-    $this->countryCode = $countryCode;
-    return $this;
-  }
-
-  /**
-   * Get countryCode
-   *
-   * @return string
-   */
-  public function getCountryCode() {
-    return $this->countryCode;
-  }
-  
-  /**
-   * Set addressFormat
-   *
-   * @param \Civi\Core\AddressFormat $addressFormat
-   * @return Country
-   */
-  public function setAddressFormat(\Civi\Core\AddressFormat $addressFormat = null) {
-    $this->addressFormat = $addressFormat;
-    return $this;
-  }
-
-  /**
-   * Get addressFormat
-   *
-   * @return \Civi\Core\AddressFormat
-   */
-  public function getAddressFormat() {
-    return $this->addressFormat;
-  }
-  
-  /**
-   * Set iddPrefix
-   *
-   * @param string $iddPrefix
-   * @return Country
-   */
-  public function setIddPrefix($iddPrefix) {
-    $this->iddPrefix = $iddPrefix;
-    return $this;
-  }
-
-  /**
-   * Get iddPrefix
-   *
-   * @return string
-   */
-  public function getIddPrefix() {
-    return $this->iddPrefix;
-  }
-  
-  /**
-   * Set nddPrefix
-   *
-   * @param string $nddPrefix
-   * @return Country
-   */
-  public function setNddPrefix($nddPrefix) {
-    $this->nddPrefix = $nddPrefix;
-    return $this;
-  }
-
-  /**
-   * Get nddPrefix
-   *
-   * @return string
-   */
-  public function getNddPrefix() {
-    return $this->nddPrefix;
-  }
-  
-  /**
-   * Set region
-   *
-   * @param \Civi\Core\Worldregion $region
-   * @return Country
-   */
-  public function setRegion(\Civi\Core\Worldregion $region = null) {
-    $this->region = $region;
-    return $this;
-  }
-
-  /**
-   * Get region
-   *
-   * @return \Civi\Core\Worldregion
-   */
-  public function getRegion() {
-    return $this->region;
-  }
-  
-  /**
-   * Set isProvinceAbbreviated
-   *
-   * @param boolean $isProvinceAbbreviated
-   * @return Country
-   */
-  public function setIsProvinceAbbreviated($isProvinceAbbreviated) {
-    $this->isProvinceAbbreviated = $isProvinceAbbreviated;
-    return $this;
-  }
-
-  /**
-   * Get isProvinceAbbreviated
-   *
-   * @return boolean
-   */
-  public function getIsProvinceAbbreviated() {
-    return $this->isProvinceAbbreviated;
-  }
-
-}
-
diff --git a/Civi/Core/County.php b/Civi/Core/County.php
deleted file mode 100644 (file)
index ca20cd2..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/County.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * County
- *
- * @ORM\Table(name="civicrm_county", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name_state_id", columns={"name,state_province_id"})}, indexes={@ORM\Index(name="FK_civicrm_county_state_province_id", columns={"state_province_id"})})
- * @ORM\Entity
- */
-class County extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="abbreviation", type="string", length=4, nullable=true)
-   * 
-   */
-  private $abbreviation;
-  
-  /**
-   * @var \Civi\Core\StateProvince
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\StateProvince")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="state_province_id", referencedColumnName="id")})
-   */
-  private $stateProvince;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return County
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set abbreviation
-   *
-   * @param string $abbreviation
-   * @return County
-   */
-  public function setAbbreviation($abbreviation) {
-    $this->abbreviation = $abbreviation;
-    return $this;
-  }
-
-  /**
-   * Get abbreviation
-   *
-   * @return string
-   */
-  public function getAbbreviation() {
-    return $this->abbreviation;
-  }
-  
-  /**
-   * Set stateProvince
-   *
-   * @param \Civi\Core\StateProvince $stateProvince
-   * @return County
-   */
-  public function setStateProvince(\Civi\Core\StateProvince $stateProvince = null) {
-    $this->stateProvince = $stateProvince;
-    return $this;
-  }
-
-  /**
-   * Get stateProvince
-   *
-   * @return \Civi\Core\StateProvince
-   */
-  public function getStateProvince() {
-    return $this->stateProvince;
-  }
-
-}
-
diff --git a/Civi/Core/CustomField.php b/Civi/Core/CustomField.php
deleted file mode 100644 (file)
index 0f2f158..0000000
+++ /dev/null
@@ -1,852 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/CustomField.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * CustomField
- *
- * @ORM\Table(name="civicrm_custom_field", uniqueConstraints={@ORM\UniqueConstraint(name="UI_label_custom_group_id", columns={"label,custom_group_id"}),@ORM\UniqueConstraint(name="UI_name_custom_group_id", columns={"name,custom_group_id"})}, indexes={@ORM\Index(name="FK_civicrm_custom_field_custom_group_id", columns={"custom_group_id"})})
- * @ORM\Entity
- */
-class CustomField extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\CustomGroup
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\CustomGroup")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="custom_group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $customGroup;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="data_type", type="string", length=16, nullable=true)
-   * 
-   */
-  private $dataType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="html_type", type="string", length=32, nullable=true)
-   * 
-   */
-  private $htmlType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="default_value", type="string", length=255, nullable=true)
-   * 
-   */
-  private $defaultValue;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_required", type="boolean", nullable=true)
-   * 
-   */
-  private $isRequired;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_searchable", type="boolean", nullable=true)
-   * 
-   */
-  private $isSearchable;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_search_range", type="boolean", nullable=false)
-   * 
-   */
-  private $isSearchRange = '0';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '1';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_pre", type="text", nullable=true)
-   * 
-   */
-  private $helpPre;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_post", type="text", nullable=true)
-   * 
-   */
-  private $helpPost;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="mask", type="string", length=64, nullable=true)
-   * 
-   */
-  private $mask;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="attributes", type="string", length=255, nullable=true)
-   * 
-   */
-  private $attributes;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="javascript", type="string", length=255, nullable=true)
-   * 
-   */
-  private $javascript;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_view", type="boolean", nullable=true)
-   * 
-   */
-  private $isView;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="options_per_line", type="integer", nullable=true)
-   * 
-   */
-  private $optionsPerLine;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="text_length", type="integer", nullable=true)
-   * 
-   */
-  private $textLength;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="start_date_years", type="int", nullable=true)
-   * 
-   */
-  private $startDateYears;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="end_date_years", type="int", nullable=true)
-   * 
-   */
-  private $endDateYears;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="date_format", type="string", length=64, nullable=true)
-   * 
-   */
-  private $dateFormat;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="time_format", type="integer", nullable=true)
-   * 
-   */
-  private $timeFormat;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="note_columns", type="integer", nullable=true)
-   * 
-   */
-  private $noteColumns;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="note_rows", type="integer", nullable=true)
-   * 
-   */
-  private $noteRows;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="column_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $columnName;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="option_group_id", type="integer", nullable=true)
-   * 
-   */
-  private $optionGroupId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="filter", type="string", length=255, nullable=true)
-   * 
-   */
-  private $filter;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set customGroup
-   *
-   * @param \Civi\Core\CustomGroup $customGroup
-   * @return CustomField
-   */
-  public function setCustomGroup(\Civi\Core\CustomGroup $customGroup = null) {
-    $this->customGroup = $customGroup;
-    return $this;
-  }
-
-  /**
-   * Get customGroup
-   *
-   * @return \Civi\Core\CustomGroup
-   */
-  public function getCustomGroup() {
-    return $this->customGroup;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return CustomField
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return CustomField
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set dataType
-   *
-   * @param string $dataType
-   * @return CustomField
-   */
-  public function setDataType($dataType) {
-    $this->dataType = $dataType;
-    return $this;
-  }
-
-  /**
-   * Get dataType
-   *
-   * @return string
-   */
-  public function getDataType() {
-    return $this->dataType;
-  }
-  
-  /**
-   * Set htmlType
-   *
-   * @param string $htmlType
-   * @return CustomField
-   */
-  public function setHtmlType($htmlType) {
-    $this->htmlType = $htmlType;
-    return $this;
-  }
-
-  /**
-   * Get htmlType
-   *
-   * @return string
-   */
-  public function getHtmlType() {
-    return $this->htmlType;
-  }
-  
-  /**
-   * Set defaultValue
-   *
-   * @param string $defaultValue
-   * @return CustomField
-   */
-  public function setDefaultValue($defaultValue) {
-    $this->defaultValue = $defaultValue;
-    return $this;
-  }
-
-  /**
-   * Get defaultValue
-   *
-   * @return string
-   */
-  public function getDefaultValue() {
-    return $this->defaultValue;
-  }
-  
-  /**
-   * Set isRequired
-   *
-   * @param boolean $isRequired
-   * @return CustomField
-   */
-  public function setIsRequired($isRequired) {
-    $this->isRequired = $isRequired;
-    return $this;
-  }
-
-  /**
-   * Get isRequired
-   *
-   * @return boolean
-   */
-  public function getIsRequired() {
-    return $this->isRequired;
-  }
-  
-  /**
-   * Set isSearchable
-   *
-   * @param boolean $isSearchable
-   * @return CustomField
-   */
-  public function setIsSearchable($isSearchable) {
-    $this->isSearchable = $isSearchable;
-    return $this;
-  }
-
-  /**
-   * Get isSearchable
-   *
-   * @return boolean
-   */
-  public function getIsSearchable() {
-    return $this->isSearchable;
-  }
-  
-  /**
-   * Set isSearchRange
-   *
-   * @param boolean $isSearchRange
-   * @return CustomField
-   */
-  public function setIsSearchRange($isSearchRange) {
-    $this->isSearchRange = $isSearchRange;
-    return $this;
-  }
-
-  /**
-   * Get isSearchRange
-   *
-   * @return boolean
-   */
-  public function getIsSearchRange() {
-    return $this->isSearchRange;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return CustomField
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set helpPre
-   *
-   * @param text $helpPre
-   * @return CustomField
-   */
-  public function setHelpPre($helpPre) {
-    $this->helpPre = $helpPre;
-    return $this;
-  }
-
-  /**
-   * Get helpPre
-   *
-   * @return text
-   */
-  public function getHelpPre() {
-    return $this->helpPre;
-  }
-  
-  /**
-   * Set helpPost
-   *
-   * @param text $helpPost
-   * @return CustomField
-   */
-  public function setHelpPost($helpPost) {
-    $this->helpPost = $helpPost;
-    return $this;
-  }
-
-  /**
-   * Get helpPost
-   *
-   * @return text
-   */
-  public function getHelpPost() {
-    return $this->helpPost;
-  }
-  
-  /**
-   * Set mask
-   *
-   * @param string $mask
-   * @return CustomField
-   */
-  public function setMask($mask) {
-    $this->mask = $mask;
-    return $this;
-  }
-
-  /**
-   * Get mask
-   *
-   * @return string
-   */
-  public function getMask() {
-    return $this->mask;
-  }
-  
-  /**
-   * Set attributes
-   *
-   * @param string $attributes
-   * @return CustomField
-   */
-  public function setAttributes($attributes) {
-    $this->attributes = $attributes;
-    return $this;
-  }
-
-  /**
-   * Get attributes
-   *
-   * @return string
-   */
-  public function getAttributes() {
-    return $this->attributes;
-  }
-  
-  /**
-   * Set javascript
-   *
-   * @param string $javascript
-   * @return CustomField
-   */
-  public function setJavascript($javascript) {
-    $this->javascript = $javascript;
-    return $this;
-  }
-
-  /**
-   * Get javascript
-   *
-   * @return string
-   */
-  public function getJavascript() {
-    return $this->javascript;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return CustomField
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isView
-   *
-   * @param boolean $isView
-   * @return CustomField
-   */
-  public function setIsView($isView) {
-    $this->isView = $isView;
-    return $this;
-  }
-
-  /**
-   * Get isView
-   *
-   * @return boolean
-   */
-  public function getIsView() {
-    return $this->isView;
-  }
-  
-  /**
-   * Set optionsPerLine
-   *
-   * @param integer $optionsPerLine
-   * @return CustomField
-   */
-  public function setOptionsPerLine($optionsPerLine) {
-    $this->optionsPerLine = $optionsPerLine;
-    return $this;
-  }
-
-  /**
-   * Get optionsPerLine
-   *
-   * @return integer
-   */
-  public function getOptionsPerLine() {
-    return $this->optionsPerLine;
-  }
-  
-  /**
-   * Set textLength
-   *
-   * @param integer $textLength
-   * @return CustomField
-   */
-  public function setTextLength($textLength) {
-    $this->textLength = $textLength;
-    return $this;
-  }
-
-  /**
-   * Get textLength
-   *
-   * @return integer
-   */
-  public function getTextLength() {
-    return $this->textLength;
-  }
-  
-  /**
-   * Set startDateYears
-   *
-   * @param int $startDateYears
-   * @return CustomField
-   */
-  public function setStartDateYears($startDateYears) {
-    $this->startDateYears = $startDateYears;
-    return $this;
-  }
-
-  /**
-   * Get startDateYears
-   *
-   * @return int
-   */
-  public function getStartDateYears() {
-    return $this->startDateYears;
-  }
-  
-  /**
-   * Set endDateYears
-   *
-   * @param int $endDateYears
-   * @return CustomField
-   */
-  public function setEndDateYears($endDateYears) {
-    $this->endDateYears = $endDateYears;
-    return $this;
-  }
-
-  /**
-   * Get endDateYears
-   *
-   * @return int
-   */
-  public function getEndDateYears() {
-    return $this->endDateYears;
-  }
-  
-  /**
-   * Set dateFormat
-   *
-   * @param string $dateFormat
-   * @return CustomField
-   */
-  public function setDateFormat($dateFormat) {
-    $this->dateFormat = $dateFormat;
-    return $this;
-  }
-
-  /**
-   * Get dateFormat
-   *
-   * @return string
-   */
-  public function getDateFormat() {
-    return $this->dateFormat;
-  }
-  
-  /**
-   * Set timeFormat
-   *
-   * @param integer $timeFormat
-   * @return CustomField
-   */
-  public function setTimeFormat($timeFormat) {
-    $this->timeFormat = $timeFormat;
-    return $this;
-  }
-
-  /**
-   * Get timeFormat
-   *
-   * @return integer
-   */
-  public function getTimeFormat() {
-    return $this->timeFormat;
-  }
-  
-  /**
-   * Set noteColumns
-   *
-   * @param integer $noteColumns
-   * @return CustomField
-   */
-  public function setNoteColumns($noteColumns) {
-    $this->noteColumns = $noteColumns;
-    return $this;
-  }
-
-  /**
-   * Get noteColumns
-   *
-   * @return integer
-   */
-  public function getNoteColumns() {
-    return $this->noteColumns;
-  }
-  
-  /**
-   * Set noteRows
-   *
-   * @param integer $noteRows
-   * @return CustomField
-   */
-  public function setNoteRows($noteRows) {
-    $this->noteRows = $noteRows;
-    return $this;
-  }
-
-  /**
-   * Get noteRows
-   *
-   * @return integer
-   */
-  public function getNoteRows() {
-    return $this->noteRows;
-  }
-  
-  /**
-   * Set columnName
-   *
-   * @param string $columnName
-   * @return CustomField
-   */
-  public function setColumnName($columnName) {
-    $this->columnName = $columnName;
-    return $this;
-  }
-
-  /**
-   * Get columnName
-   *
-   * @return string
-   */
-  public function getColumnName() {
-    return $this->columnName;
-  }
-  
-  /**
-   * Set optionGroupId
-   *
-   * @param integer $optionGroupId
-   * @return CustomField
-   */
-  public function setOptionGroupId($optionGroupId) {
-    $this->optionGroupId = $optionGroupId;
-    return $this;
-  }
-
-  /**
-   * Get optionGroupId
-   *
-   * @return integer
-   */
-  public function getOptionGroupId() {
-    return $this->optionGroupId;
-  }
-  
-  /**
-   * Set filter
-   *
-   * @param string $filter
-   * @return CustomField
-   */
-  public function setFilter($filter) {
-    $this->filter = $filter;
-    return $this;
-  }
-
-  /**
-   * Get filter
-   *
-   * @return string
-   */
-  public function getFilter() {
-    return $this->filter;
-  }
-
-}
-
diff --git a/Civi/Core/CustomGroup.php b/Civi/Core/CustomGroup.php
deleted file mode 100644 (file)
index b5f890c..0000000
+++ /dev/null
@@ -1,600 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/CustomGroup.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * CustomGroup
- *
- * @ORM\Table(name="civicrm_custom_group", uniqueConstraints={@ORM\UniqueConstraint(name="UI_title_extends", columns={"title,extends"}),@ORM\UniqueConstraint(name="UI_name_extends", columns={"name,extends"})}, indexes={@ORM\Index(name="FK_civicrm_custom_group_created_id", columns={"created_id"})})
- * @ORM\Entity
- */
-class CustomGroup extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=64, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="extends", type="string", length=255, nullable=false)
-   * 
-   */
-  private $extends = 'Contact';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="extends_entity_column_id", type="integer", nullable=false)
-   * 
-   */
-  private $extendsEntityColumnId = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="extends_entity_column_value", type="string", length=255, nullable=true)
-   * 
-   */
-  private $extendsEntityColumnValue;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="style", type="string", length=8, nullable=true)
-   * 
-   */
-  private $style;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="collapse_display", type="integer", nullable=false)
-   * 
-   */
-  private $collapseDisplay = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_pre", type="text", nullable=true)
-   * 
-   */
-  private $helpPre;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_post", type="text", nullable=true)
-   * 
-   */
-  private $helpPost;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="table_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $tableName;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_multiple", type="boolean", nullable=true)
-   * 
-   */
-  private $isMultiple;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="min_multiple", type="integer", nullable=true)
-   * 
-   */
-  private $minMultiple;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="max_multiple", type="integer", nullable=true)
-   * 
-   */
-  private $maxMultiple;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="collapse_adv_display", type="integer", nullable=false)
-   * 
-   */
-  private $collapseAdvDisplay = '0';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return CustomGroup
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return CustomGroup
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set extends
-   *
-   * @param string $extends
-   * @return CustomGroup
-   */
-  public function setExtends($extends) {
-    $this->extends = $extends;
-    return $this;
-  }
-
-  /**
-   * Get extends
-   *
-   * @return string
-   */
-  public function getExtends() {
-    return $this->extends;
-  }
-  
-  /**
-   * Set extendsEntityColumnId
-   *
-   * @param integer $extendsEntityColumnId
-   * @return CustomGroup
-   */
-  public function setExtendsEntityColumnId($extendsEntityColumnId) {
-    $this->extendsEntityColumnId = $extendsEntityColumnId;
-    return $this;
-  }
-
-  /**
-   * Get extendsEntityColumnId
-   *
-   * @return integer
-   */
-  public function getExtendsEntityColumnId() {
-    return $this->extendsEntityColumnId;
-  }
-  
-  /**
-   * Set extendsEntityColumnValue
-   *
-   * @param string $extendsEntityColumnValue
-   * @return CustomGroup
-   */
-  public function setExtendsEntityColumnValue($extendsEntityColumnValue) {
-    $this->extendsEntityColumnValue = $extendsEntityColumnValue;
-    return $this;
-  }
-
-  /**
-   * Get extendsEntityColumnValue
-   *
-   * @return string
-   */
-  public function getExtendsEntityColumnValue() {
-    return $this->extendsEntityColumnValue;
-  }
-  
-  /**
-   * Set style
-   *
-   * @param string $style
-   * @return CustomGroup
-   */
-  public function setStyle($style) {
-    $this->style = $style;
-    return $this;
-  }
-
-  /**
-   * Get style
-   *
-   * @return string
-   */
-  public function getStyle() {
-    return $this->style;
-  }
-  
-  /**
-   * Set collapseDisplay
-   *
-   * @param integer $collapseDisplay
-   * @return CustomGroup
-   */
-  public function setCollapseDisplay($collapseDisplay) {
-    $this->collapseDisplay = $collapseDisplay;
-    return $this;
-  }
-
-  /**
-   * Get collapseDisplay
-   *
-   * @return integer
-   */
-  public function getCollapseDisplay() {
-    return $this->collapseDisplay;
-  }
-  
-  /**
-   * Set helpPre
-   *
-   * @param text $helpPre
-   * @return CustomGroup
-   */
-  public function setHelpPre($helpPre) {
-    $this->helpPre = $helpPre;
-    return $this;
-  }
-
-  /**
-   * Get helpPre
-   *
-   * @return text
-   */
-  public function getHelpPre() {
-    return $this->helpPre;
-  }
-  
-  /**
-   * Set helpPost
-   *
-   * @param text $helpPost
-   * @return CustomGroup
-   */
-  public function setHelpPost($helpPost) {
-    $this->helpPost = $helpPost;
-    return $this;
-  }
-
-  /**
-   * Get helpPost
-   *
-   * @return text
-   */
-  public function getHelpPost() {
-    return $this->helpPost;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return CustomGroup
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return CustomGroup
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set tableName
-   *
-   * @param string $tableName
-   * @return CustomGroup
-   */
-  public function setTableName($tableName) {
-    $this->tableName = $tableName;
-    return $this;
-  }
-
-  /**
-   * Get tableName
-   *
-   * @return string
-   */
-  public function getTableName() {
-    return $this->tableName;
-  }
-  
-  /**
-   * Set isMultiple
-   *
-   * @param boolean $isMultiple
-   * @return CustomGroup
-   */
-  public function setIsMultiple($isMultiple) {
-    $this->isMultiple = $isMultiple;
-    return $this;
-  }
-
-  /**
-   * Get isMultiple
-   *
-   * @return boolean
-   */
-  public function getIsMultiple() {
-    return $this->isMultiple;
-  }
-  
-  /**
-   * Set minMultiple
-   *
-   * @param integer $minMultiple
-   * @return CustomGroup
-   */
-  public function setMinMultiple($minMultiple) {
-    $this->minMultiple = $minMultiple;
-    return $this;
-  }
-
-  /**
-   * Get minMultiple
-   *
-   * @return integer
-   */
-  public function getMinMultiple() {
-    return $this->minMultiple;
-  }
-  
-  /**
-   * Set maxMultiple
-   *
-   * @param integer $maxMultiple
-   * @return CustomGroup
-   */
-  public function setMaxMultiple($maxMultiple) {
-    $this->maxMultiple = $maxMultiple;
-    return $this;
-  }
-
-  /**
-   * Get maxMultiple
-   *
-   * @return integer
-   */
-  public function getMaxMultiple() {
-    return $this->maxMultiple;
-  }
-  
-  /**
-   * Set collapseAdvDisplay
-   *
-   * @param integer $collapseAdvDisplay
-   * @return CustomGroup
-   */
-  public function setCollapseAdvDisplay($collapseAdvDisplay) {
-    $this->collapseAdvDisplay = $collapseAdvDisplay;
-    return $this;
-  }
-
-  /**
-   * Get collapseAdvDisplay
-   *
-   * @return integer
-   */
-  public function getCollapseAdvDisplay() {
-    return $this->collapseAdvDisplay;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return CustomGroup
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return CustomGroup
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return CustomGroup
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-
-}
-
diff --git a/Civi/Core/Dashboard.php b/Civi/Core/Dashboard.php
deleted file mode 100644 (file)
index d3c6e90..0000000
+++ /dev/null
@@ -1,432 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Dashboard.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Dashboard
- *
- * @ORM\Table(name="civicrm_dashboard", indexes={@ORM\Index(name="FK_civicrm_dashboard_domain_id", columns={"domain_id"})})
- * @ORM\Entity
- */
-class Dashboard extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url", type="string", length=255, nullable=true)
-   * 
-   */
-  private $url;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="permission", type="string", length=255, nullable=true)
-   * 
-   */
-  private $permission;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="permission_operator", type="string", length=3, nullable=true)
-   * 
-   */
-  private $permissionOperator;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="column_no", type="boolean", nullable=false)
-   * 
-   */
-  private $columnNo = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_minimized", type="boolean", nullable=false)
-   * 
-   */
-  private $isMinimized = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="fullscreen_url", type="string", length=255, nullable=true)
-   * 
-   */
-  private $fullscreenUrl;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_fullscreen", type="boolean", nullable=false)
-   * 
-   */
-  private $isFullscreen = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return Dashboard
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Dashboard
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return Dashboard
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set url
-   *
-   * @param string $url
-   * @return Dashboard
-   */
-  public function setUrl($url) {
-    $this->url = $url;
-    return $this;
-  }
-
-  /**
-   * Get url
-   *
-   * @return string
-   */
-  public function getUrl() {
-    return $this->url;
-  }
-  
-  /**
-   * Set permission
-   *
-   * @param string $permission
-   * @return Dashboard
-   */
-  public function setPermission($permission) {
-    $this->permission = $permission;
-    return $this;
-  }
-
-  /**
-   * Get permission
-   *
-   * @return string
-   */
-  public function getPermission() {
-    return $this->permission;
-  }
-  
-  /**
-   * Set permissionOperator
-   *
-   * @param string $permissionOperator
-   * @return Dashboard
-   */
-  public function setPermissionOperator($permissionOperator) {
-    $this->permissionOperator = $permissionOperator;
-    return $this;
-  }
-
-  /**
-   * Get permissionOperator
-   *
-   * @return string
-   */
-  public function getPermissionOperator() {
-    return $this->permissionOperator;
-  }
-  
-  /**
-   * Set columnNo
-   *
-   * @param boolean $columnNo
-   * @return Dashboard
-   */
-  public function setColumnNo($columnNo) {
-    $this->columnNo = $columnNo;
-    return $this;
-  }
-
-  /**
-   * Get columnNo
-   *
-   * @return boolean
-   */
-  public function getColumnNo() {
-    return $this->columnNo;
-  }
-  
-  /**
-   * Set isMinimized
-   *
-   * @param boolean $isMinimized
-   * @return Dashboard
-   */
-  public function setIsMinimized($isMinimized) {
-    $this->isMinimized = $isMinimized;
-    return $this;
-  }
-
-  /**
-   * Get isMinimized
-   *
-   * @return boolean
-   */
-  public function getIsMinimized() {
-    return $this->isMinimized;
-  }
-  
-  /**
-   * Set fullscreenUrl
-   *
-   * @param string $fullscreenUrl
-   * @return Dashboard
-   */
-  public function setFullscreenUrl($fullscreenUrl) {
-    $this->fullscreenUrl = $fullscreenUrl;
-    return $this;
-  }
-
-  /**
-   * Get fullscreenUrl
-   *
-   * @return string
-   */
-  public function getFullscreenUrl() {
-    return $this->fullscreenUrl;
-  }
-  
-  /**
-   * Set isFullscreen
-   *
-   * @param boolean $isFullscreen
-   * @return Dashboard
-   */
-  public function setIsFullscreen($isFullscreen) {
-    $this->isFullscreen = $isFullscreen;
-    return $this;
-  }
-
-  /**
-   * Get isFullscreen
-   *
-   * @return boolean
-   */
-  public function getIsFullscreen() {
-    return $this->isFullscreen;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Dashboard
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return Dashboard
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return Dashboard
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-
-}
-
diff --git a/Civi/Core/Discount.php b/Civi/Core/Discount.php
deleted file mode 100644 (file)
index 4b48eea..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Discount.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Discount
- *
- * @ORM\Table(name="civicrm_discount", indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="index_entity_option_id", columns={"entity_table,entity_id,price_set_id"}),@ORM\Index(name="FK_civicrm_discount_price_set_id", columns={"price_set_id"})})
- * @ORM\Entity
- */
-class Discount extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var \Civi\Price\PriceSet
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Price\PriceSet")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="price_set_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $priceSet;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="start_date", type="date", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="end_date", type="date", nullable=true)
-   * 
-   */
-  private $endDate;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return Discount
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return Discount
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set priceSet
-   *
-   * @param \Civi\Price\PriceSet $priceSet
-   * @return Discount
-   */
-  public function setPriceSet(\Civi\Price\PriceSet $priceSet = null) {
-    $this->priceSet = $priceSet;
-    return $this;
-  }
-
-  /**
-   * Get priceSet
-   *
-   * @return \Civi\Price\PriceSet
-   */
-  public function getPriceSet() {
-    return $this->priceSet;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param date $startDate
-   * @return Discount
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return date
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param date $endDate
-   * @return Discount
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return date
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-
-}
-
diff --git a/Civi/Core/Domain.php b/Civi/Core/Domain.php
deleted file mode 100644 (file)
index 84ab739..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Domain.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Domain
- *
- * @ORM\Table(name="civicrm_domain", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})}, indexes={@ORM\Index(name="FK_civicrm_domain_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class Domain extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="config_backend", type="text", nullable=true)
-   * 
-   */
-  private $configBackend;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="version", type="string", length=32, nullable=true)
-   * 
-   */
-  private $version;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id")})
-   */
-  private $contact;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="locales", type="text", nullable=true)
-   * 
-   */
-  private $locales;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="locale_custom_strings", type="text", nullable=true)
-   * 
-   */
-  private $localeCustomStrings;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Domain
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return Domain
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set configBackend
-   *
-   * @param text $configBackend
-   * @return Domain
-   */
-  public function setConfigBackend($configBackend) {
-    $this->configBackend = $configBackend;
-    return $this;
-  }
-
-  /**
-   * Get configBackend
-   *
-   * @return text
-   */
-  public function getConfigBackend() {
-    return $this->configBackend;
-  }
-  
-  /**
-   * Set version
-   *
-   * @param string $version
-   * @return Domain
-   */
-  public function setVersion($version) {
-    $this->version = $version;
-    return $this;
-  }
-
-  /**
-   * Get version
-   *
-   * @return string
-   */
-  public function getVersion() {
-    return $this->version;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Domain
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set locales
-   *
-   * @param text $locales
-   * @return Domain
-   */
-  public function setLocales($locales) {
-    $this->locales = $locales;
-    return $this;
-  }
-
-  /**
-   * Get locales
-   *
-   * @return text
-   */
-  public function getLocales() {
-    return $this->locales;
-  }
-  
-  /**
-   * Set localeCustomStrings
-   *
-   * @param text $localeCustomStrings
-   * @return Domain
-   */
-  public function setLocaleCustomStrings($localeCustomStrings) {
-    $this->localeCustomStrings = $localeCustomStrings;
-    return $this;
-  }
-
-  /**
-   * Get localeCustomStrings
-   *
-   * @return text
-   */
-  public function getLocaleCustomStrings() {
-    return $this->localeCustomStrings;
-  }
-
-}
-
diff --git a/Civi/Core/Email.php b/Civi/Core/Email.php
deleted file mode 100644 (file)
index 0487f98..0000000
+++ /dev/null
@@ -1,376 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Email.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Email
- *
- * @ORM\Table(name="civicrm_email", indexes={@ORM\Index(name="index_location_type", columns={"location_type_id"}),@ORM\Index(name="UI_email", columns={"email"}),@ORM\Index(name="index_is_primary", columns={"is_primary"}),@ORM\Index(name="index_is_billing", columns={"is_billing"}),@ORM\Index(name="FK_civicrm_email_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class Email extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="location_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $locationTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="email", type="string", length=254, nullable=true)
-   * 
-   */
-  private $email;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_primary", type="boolean", nullable=false)
-   * 
-   */
-  private $isPrimary = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_billing", type="boolean", nullable=false)
-   * 
-   */
-  private $isBilling = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="on_hold", type="boolean", nullable=false)
-   * 
-   */
-  private $onHold = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_bulkmail", type="boolean", nullable=false)
-   * 
-   */
-  private $isBulkmail = '0';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="hold_date", type="datetime", nullable=true)
-   * 
-   */
-  private $holdDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="reset_date", type="datetime", nullable=true)
-   * 
-   */
-  private $resetDate;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="signature_text", type="text", nullable=false)
-   * 
-   */
-  private $signatureText = 'NULL';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="signature_html", type="text", nullable=false)
-   * 
-   */
-  private $signatureHtml = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Email
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set locationTypeId
-   *
-   * @param integer $locationTypeId
-   * @return Email
-   */
-  public function setLocationTypeId($locationTypeId) {
-    $this->locationTypeId = $locationTypeId;
-    return $this;
-  }
-
-  /**
-   * Get locationTypeId
-   *
-   * @return integer
-   */
-  public function getLocationTypeId() {
-    return $this->locationTypeId;
-  }
-  
-  /**
-   * Set email
-   *
-   * @param string $email
-   * @return Email
-   */
-  public function setEmail($email) {
-    $this->email = $email;
-    return $this;
-  }
-
-  /**
-   * Get email
-   *
-   * @return string
-   */
-  public function getEmail() {
-    return $this->email;
-  }
-  
-  /**
-   * Set isPrimary
-   *
-   * @param boolean $isPrimary
-   * @return Email
-   */
-  public function setIsPrimary($isPrimary) {
-    $this->isPrimary = $isPrimary;
-    return $this;
-  }
-
-  /**
-   * Get isPrimary
-   *
-   * @return boolean
-   */
-  public function getIsPrimary() {
-    return $this->isPrimary;
-  }
-  
-  /**
-   * Set isBilling
-   *
-   * @param boolean $isBilling
-   * @return Email
-   */
-  public function setIsBilling($isBilling) {
-    $this->isBilling = $isBilling;
-    return $this;
-  }
-
-  /**
-   * Get isBilling
-   *
-   * @return boolean
-   */
-  public function getIsBilling() {
-    return $this->isBilling;
-  }
-  
-  /**
-   * Set onHold
-   *
-   * @param boolean $onHold
-   * @return Email
-   */
-  public function setOnHold($onHold) {
-    $this->onHold = $onHold;
-    return $this;
-  }
-
-  /**
-   * Get onHold
-   *
-   * @return boolean
-   */
-  public function getOnHold() {
-    return $this->onHold;
-  }
-  
-  /**
-   * Set isBulkmail
-   *
-   * @param boolean $isBulkmail
-   * @return Email
-   */
-  public function setIsBulkmail($isBulkmail) {
-    $this->isBulkmail = $isBulkmail;
-    return $this;
-  }
-
-  /**
-   * Get isBulkmail
-   *
-   * @return boolean
-   */
-  public function getIsBulkmail() {
-    return $this->isBulkmail;
-  }
-  
-  /**
-   * Set holdDate
-   *
-   * @param datetime $holdDate
-   * @return Email
-   */
-  public function setHoldDate($holdDate) {
-    $this->holdDate = $holdDate;
-    return $this;
-  }
-
-  /**
-   * Get holdDate
-   *
-   * @return datetime
-   */
-  public function getHoldDate() {
-    return $this->holdDate;
-  }
-  
-  /**
-   * Set resetDate
-   *
-   * @param datetime $resetDate
-   * @return Email
-   */
-  public function setResetDate($resetDate) {
-    $this->resetDate = $resetDate;
-    return $this;
-  }
-
-  /**
-   * Get resetDate
-   *
-   * @return datetime
-   */
-  public function getResetDate() {
-    return $this->resetDate;
-  }
-  
-  /**
-   * Set signatureText
-   *
-   * @param text $signatureText
-   * @return Email
-   */
-  public function setSignatureText($signatureText) {
-    $this->signatureText = $signatureText;
-    return $this;
-  }
-
-  /**
-   * Get signatureText
-   *
-   * @return text
-   */
-  public function getSignatureText() {
-    return $this->signatureText;
-  }
-  
-  /**
-   * Set signatureHtml
-   *
-   * @param text $signatureHtml
-   * @return Email
-   */
-  public function setSignatureHtml($signatureHtml) {
-    $this->signatureHtml = $signatureHtml;
-    return $this;
-  }
-
-  /**
-   * Get signatureHtml
-   *
-   * @return text
-   */
-  public function getSignatureHtml() {
-    return $this->signatureHtml;
-  }
-
-}
-
diff --git a/Civi/Core/EntityFile.php b/Civi/Core/EntityFile.php
deleted file mode 100644 (file)
index a24f77b..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/EntityFile.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityFile
- *
- * @ORM\Table(name="civicrm_entity_file", indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="index_entity_file_id", columns={"entity_table,entity_id,file_id"}),@ORM\Index(name="FK_civicrm_entity_file_file_id", columns={"file_id"})})
- * @ORM\Entity
- */
-class EntityFile extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var \Civi\Core\File
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\File")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="file_id", referencedColumnName="id")})
-   */
-  private $file;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return EntityFile
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return EntityFile
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set file
-   *
-   * @param \Civi\Core\File $file
-   * @return EntityFile
-   */
-  public function setFile(\Civi\Core\File $file = null) {
-    $this->file = $file;
-    return $this;
-  }
-
-  /**
-   * Get file
-   *
-   * @return \Civi\Core\File
-   */
-  public function getFile() {
-    return $this->file;
-  }
-
-}
-
diff --git a/Civi/Core/EntityTag.php b/Civi/Core/EntityTag.php
deleted file mode 100644 (file)
index 9a5af36..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/EntityTag.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityTag
- *
- * @ORM\Table(name="civicrm_entity_tag", uniqueConstraints={@ORM\UniqueConstraint(name="UI_entity_id_entity_table_tag_id", columns={"entity_id,entity_table,tag_id"})}, indexes={@ORM\Index(name="FK_civicrm_entity_tag_tag_id", columns={"tag_id"})})
- * @ORM\Entity
- */
-class EntityTag extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var \Civi\Core\Tag
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Tag")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="tag_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $tag;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return EntityTag
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return EntityTag
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set tag
-   *
-   * @param \Civi\Core\Tag $tag
-   * @return EntityTag
-   */
-  public function setTag(\Civi\Core\Tag $tag = null) {
-    $this->tag = $tag;
-    return $this;
-  }
-
-  /**
-   * Get tag
-   *
-   * @return \Civi\Core\Tag
-   */
-  public function getTag() {
-    return $this->tag;
-  }
-
-}
-
diff --git a/Civi/Core/Extension.php b/Civi/Core/Extension.php
deleted file mode 100644 (file)
index 7104a6d..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Extension.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Extension
- *
- * @ORM\Table(name="civicrm_extension", uniqueConstraints={@ORM\UniqueConstraint(name="UI_extension_full_name", columns={"full_name"})}, indexes={@ORM\Index(name="UI_extension_name", columns={"name"})})
- * @ORM\Entity
- */
-class Extension extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="type", type="string", length=8, nullable=true)
-   * 
-   */
-  private $type;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="full_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $fullName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="file", type="string", length=255, nullable=true)
-   * 
-   */
-  private $file;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="schema_version", type="string", length=63, nullable=true)
-   * 
-   */
-  private $schemaVersion;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set type
-   *
-   * @param string $type
-   * @return Extension
-   */
-  public function setType($type) {
-    $this->type = $type;
-    return $this;
-  }
-
-  /**
-   * Get type
-   *
-   * @return string
-   */
-  public function getType() {
-    return $this->type;
-  }
-  
-  /**
-   * Set fullName
-   *
-   * @param string $fullName
-   * @return Extension
-   */
-  public function setFullName($fullName) {
-    $this->fullName = $fullName;
-    return $this;
-  }
-
-  /**
-   * Get fullName
-   *
-   * @return string
-   */
-  public function getFullName() {
-    return $this->fullName;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Extension
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return Extension
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set file
-   *
-   * @param string $file
-   * @return Extension
-   */
-  public function setFile($file) {
-    $this->file = $file;
-    return $this;
-  }
-
-  /**
-   * Get file
-   *
-   * @return string
-   */
-  public function getFile() {
-    return $this->file;
-  }
-  
-  /**
-   * Set schemaVersion
-   *
-   * @param string $schemaVersion
-   * @return Extension
-   */
-  public function setSchemaVersion($schemaVersion) {
-    $this->schemaVersion = $schemaVersion;
-    return $this;
-  }
-
-  /**
-   * Get schemaVersion
-   *
-   * @return string
-   */
-  public function getSchemaVersion() {
-    return $this->schemaVersion;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Extension
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Core/File.php b/Civi/Core/File.php
deleted file mode 100644 (file)
index b3fcc19..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/File.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * File
- *
- * @ORM\Table(name="civicrm_file")
- * @ORM\Entity
- */
-class File extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="file_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $fileTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="mime_type", type="string", length=255, nullable=true)
-   * 
-   */
-  private $mimeType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="uri", type="string", length=255, nullable=true)
-   * 
-   */
-  private $uri;
-  
-  /**
-   * @var mediumblob
-   *
-   * @ORM\Column(name="document", type="mediumblob", nullable=true)
-   * 
-   */
-  private $document;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="upload_date", type="datetime", nullable=true)
-   * 
-   */
-  private $uploadDate;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set fileTypeId
-   *
-   * @param integer $fileTypeId
-   * @return File
-   */
-  public function setFileTypeId($fileTypeId) {
-    $this->fileTypeId = $fileTypeId;
-    return $this;
-  }
-
-  /**
-   * Get fileTypeId
-   *
-   * @return integer
-   */
-  public function getFileTypeId() {
-    return $this->fileTypeId;
-  }
-  
-  /**
-   * Set mimeType
-   *
-   * @param string $mimeType
-   * @return File
-   */
-  public function setMimeType($mimeType) {
-    $this->mimeType = $mimeType;
-    return $this;
-  }
-
-  /**
-   * Get mimeType
-   *
-   * @return string
-   */
-  public function getMimeType() {
-    return $this->mimeType;
-  }
-  
-  /**
-   * Set uri
-   *
-   * @param string $uri
-   * @return File
-   */
-  public function setUri($uri) {
-    $this->uri = $uri;
-    return $this;
-  }
-
-  /**
-   * Get uri
-   *
-   * @return string
-   */
-  public function getUri() {
-    return $this->uri;
-  }
-  
-  /**
-   * Set document
-   *
-   * @param mediumblob $document
-   * @return File
-   */
-  public function setDocument($document) {
-    $this->document = $document;
-    return $this;
-  }
-
-  /**
-   * Get document
-   *
-   * @return mediumblob
-   */
-  public function getDocument() {
-    return $this->document;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return File
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set uploadDate
-   *
-   * @param datetime $uploadDate
-   * @return File
-   */
-  public function setUploadDate($uploadDate) {
-    $this->uploadDate = $uploadDate;
-    return $this;
-  }
-
-  /**
-   * Get uploadDate
-   *
-   * @return datetime
-   */
-  public function getUploadDate() {
-    return $this->uploadDate;
-  }
-
-}
-
diff --git a/Civi/Core/IM.php b/Civi/Core/IM.php
deleted file mode 100644 (file)
index 612b28f..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/IM.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * IM
- *
- * @ORM\Table(name="civicrm_im", indexes={@ORM\Index(name="index_location_type", columns={"location_type_id"}),@ORM\Index(name="UI_provider_id", columns={"provider_id"}),@ORM\Index(name="index_is_primary", columns={"is_primary"}),@ORM\Index(name="index_is_billing", columns={"is_billing"}),@ORM\Index(name="FK_civicrm_im_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class IM extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="location_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $locationTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="provider_id", type="integer", nullable=true)
-   * 
-   */
-  private $providerId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_primary", type="boolean", nullable=false)
-   * 
-   */
-  private $isPrimary = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_billing", type="boolean", nullable=false)
-   * 
-   */
-  private $isBilling = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return IM
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set locationTypeId
-   *
-   * @param integer $locationTypeId
-   * @return IM
-   */
-  public function setLocationTypeId($locationTypeId) {
-    $this->locationTypeId = $locationTypeId;
-    return $this;
-  }
-
-  /**
-   * Get locationTypeId
-   *
-   * @return integer
-   */
-  public function getLocationTypeId() {
-    return $this->locationTypeId;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return IM
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set providerId
-   *
-   * @param integer $providerId
-   * @return IM
-   */
-  public function setProviderId($providerId) {
-    $this->providerId = $providerId;
-    return $this;
-  }
-
-  /**
-   * Get providerId
-   *
-   * @return integer
-   */
-  public function getProviderId() {
-    return $this->providerId;
-  }
-  
-  /**
-   * Set isPrimary
-   *
-   * @param boolean $isPrimary
-   * @return IM
-   */
-  public function setIsPrimary($isPrimary) {
-    $this->isPrimary = $isPrimary;
-    return $this;
-  }
-
-  /**
-   * Get isPrimary
-   *
-   * @return boolean
-   */
-  public function getIsPrimary() {
-    return $this->isPrimary;
-  }
-  
-  /**
-   * Set isBilling
-   *
-   * @param boolean $isBilling
-   * @return IM
-   */
-  public function setIsBilling($isBilling) {
-    $this->isBilling = $isBilling;
-    return $this;
-  }
-
-  /**
-   * Get isBilling
-   *
-   * @return boolean
-   */
-  public function getIsBilling() {
-    return $this->isBilling;
-  }
-
-}
-
diff --git a/Civi/Core/Job.php b/Civi/Core/Job.php
deleted file mode 100644 (file)
index 6420e5b..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Job.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Job
- *
- * @ORM\Table(name="civicrm_job", indexes={@ORM\Index(name="FK_civicrm_job_domain_id", columns={"domain_id"})})
- * @ORM\Entity
- */
-class Job extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="run_frequency", type="string", length=8, nullable=false)
-   * 
-   */
-  private $runFrequency = '"Daily"';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="last_run", type="datetime", nullable=false)
-   * 
-   */
-  private $lastRun = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="api_entity", type="string", length=255, nullable=true)
-   * 
-   */
-  private $apiEntity;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="api_action", type="string", length=255, nullable=true)
-   * 
-   */
-  private $apiAction;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="parameters", type="text", nullable=true)
-   * 
-   */
-  private $parameters;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return Job
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set runFrequency
-   *
-   * @param string $runFrequency
-   * @return Job
-   */
-  public function setRunFrequency($runFrequency) {
-    $this->runFrequency = $runFrequency;
-    return $this;
-  }
-
-  /**
-   * Get runFrequency
-   *
-   * @return string
-   */
-  public function getRunFrequency() {
-    return $this->runFrequency;
-  }
-  
-  /**
-   * Set lastRun
-   *
-   * @param datetime $lastRun
-   * @return Job
-   */
-  public function setLastRun($lastRun) {
-    $this->lastRun = $lastRun;
-    return $this;
-  }
-
-  /**
-   * Get lastRun
-   *
-   * @return datetime
-   */
-  public function getLastRun() {
-    return $this->lastRun;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Job
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return Job
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set apiEntity
-   *
-   * @param string $apiEntity
-   * @return Job
-   */
-  public function setApiEntity($apiEntity) {
-    $this->apiEntity = $apiEntity;
-    return $this;
-  }
-
-  /**
-   * Get apiEntity
-   *
-   * @return string
-   */
-  public function getApiEntity() {
-    return $this->apiEntity;
-  }
-  
-  /**
-   * Set apiAction
-   *
-   * @param string $apiAction
-   * @return Job
-   */
-  public function setApiAction($apiAction) {
-    $this->apiAction = $apiAction;
-    return $this;
-  }
-
-  /**
-   * Get apiAction
-   *
-   * @return string
-   */
-  public function getApiAction() {
-    return $this->apiAction;
-  }
-  
-  /**
-   * Set parameters
-   *
-   * @param text $parameters
-   * @return Job
-   */
-  public function setParameters($parameters) {
-    $this->parameters = $parameters;
-    return $this;
-  }
-
-  /**
-   * Get parameters
-   *
-   * @return text
-   */
-  public function getParameters() {
-    return $this->parameters;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Job
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Core/JobLog.php b/Civi/Core/JobLog.php
deleted file mode 100644 (file)
index 9405450..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/JobLog.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * JobLog
- *
- * @ORM\Table(name="civicrm_job_log", indexes={@ORM\Index(name="FK_civicrm_job_log_domain_id", columns={"domain_id"})})
- * @ORM\Entity
- */
-class JobLog extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var timestamp
-   *
-   * @ORM\Column(name="run_time", type="timestamp", nullable=true)
-   * 
-   */
-  private $runTime;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="job_id", type="integer", nullable=true)
-   * 
-   */
-  private $jobId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="command", type="string", length=255, nullable=true)
-   * 
-   */
-  private $command;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="data", type="text", nullable=true)
-   * 
-   */
-  private $data;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return JobLog
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set runTime
-   *
-   * @param timestamp $runTime
-   * @return JobLog
-   */
-  public function setRunTime($runTime) {
-    $this->runTime = $runTime;
-    return $this;
-  }
-
-  /**
-   * Get runTime
-   *
-   * @return timestamp
-   */
-  public function getRunTime() {
-    return $this->runTime;
-  }
-  
-  /**
-   * Set jobId
-   *
-   * @param integer $jobId
-   * @return JobLog
-   */
-  public function setJobId($jobId) {
-    $this->jobId = $jobId;
-    return $this;
-  }
-
-  /**
-   * Get jobId
-   *
-   * @return integer
-   */
-  public function getJobId() {
-    return $this->jobId;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return JobLog
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set command
-   *
-   * @param string $command
-   * @return JobLog
-   */
-  public function setCommand($command) {
-    $this->command = $command;
-    return $this;
-  }
-
-  /**
-   * Get command
-   *
-   * @return string
-   */
-  public function getCommand() {
-    return $this->command;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return JobLog
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param text $data
-   * @return JobLog
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return text
-   */
-  public function getData() {
-    return $this->data;
-  }
-
-}
-
diff --git a/Civi/Core/LocBlock.php b/Civi/Core/LocBlock.php
deleted file mode 100644 (file)
index cdbd9c4..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/LocBlock.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * LocBlock
- *
- * @ORM\Table(name="civicrm_loc_block", indexes={@ORM\Index(name="FK_civicrm_loc_block_address_id", columns={"address_id"}),@ORM\Index(name="FK_civicrm_loc_block_email_id", columns={"email_id"}),@ORM\Index(name="FK_civicrm_loc_block_phone_id", columns={"phone_id"}),@ORM\Index(name="FK_civicrm_loc_block_im_id", columns={"im_id"}),@ORM\Index(name="FK_civicrm_loc_block_address_2_id", columns={"address_2_id"}),@ORM\Index(name="FK_civicrm_loc_block_email_2_id", columns={"email_2_id"}),@ORM\Index(name="FK_civicrm_loc_block_phone_2_id", columns={"phone_2_id"}),@ORM\Index(name="FK_civicrm_loc_block_im_2_id", columns={"im_2_id"})})
- * @ORM\Entity
- */
-class LocBlock extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Address
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Address")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="address_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $address;
-  
-  /**
-   * @var \Civi\Core\Email
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Email")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="email_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $email;
-  
-  /**
-   * @var \Civi\Core\Phone
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Phone")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="phone_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $phone;
-  
-  /**
-   * @var \Civi\Core\IM
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\IM")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="im_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $im;
-  
-  /**
-   * @var \Civi\Core\Address
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Address")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="address_2_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $address2;
-  
-  /**
-   * @var \Civi\Core\Email
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Email")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="email_2_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $email2;
-  
-  /**
-   * @var \Civi\Core\Phone
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Phone")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="phone_2_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $phone2;
-  
-  /**
-   * @var \Civi\Core\IM
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\IM")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="im_2_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $im2;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set address
-   *
-   * @param \Civi\Core\Address $address
-   * @return LocBlock
-   */
-  public function setAddress(\Civi\Core\Address $address = null) {
-    $this->address = $address;
-    return $this;
-  }
-
-  /**
-   * Get address
-   *
-   * @return \Civi\Core\Address
-   */
-  public function getAddress() {
-    return $this->address;
-  }
-  
-  /**
-   * Set email
-   *
-   * @param \Civi\Core\Email $email
-   * @return LocBlock
-   */
-  public function setEmail(\Civi\Core\Email $email = null) {
-    $this->email = $email;
-    return $this;
-  }
-
-  /**
-   * Get email
-   *
-   * @return \Civi\Core\Email
-   */
-  public function getEmail() {
-    return $this->email;
-  }
-  
-  /**
-   * Set phone
-   *
-   * @param \Civi\Core\Phone $phone
-   * @return LocBlock
-   */
-  public function setPhone(\Civi\Core\Phone $phone = null) {
-    $this->phone = $phone;
-    return $this;
-  }
-
-  /**
-   * Get phone
-   *
-   * @return \Civi\Core\Phone
-   */
-  public function getPhone() {
-    return $this->phone;
-  }
-  
-  /**
-   * Set im
-   *
-   * @param \Civi\Core\IM $im
-   * @return LocBlock
-   */
-  public function setIm(\Civi\Core\IM $im = null) {
-    $this->im = $im;
-    return $this;
-  }
-
-  /**
-   * Get im
-   *
-   * @return \Civi\Core\IM
-   */
-  public function getIm() {
-    return $this->im;
-  }
-  
-  /**
-   * Set address2
-   *
-   * @param \Civi\Core\Address $address2
-   * @return LocBlock
-   */
-  public function setAddress2(\Civi\Core\Address $address2 = null) {
-    $this->address2 = $address2;
-    return $this;
-  }
-
-  /**
-   * Get address2
-   *
-   * @return \Civi\Core\Address
-   */
-  public function getAddress2() {
-    return $this->address2;
-  }
-  
-  /**
-   * Set email2
-   *
-   * @param \Civi\Core\Email $email2
-   * @return LocBlock
-   */
-  public function setEmail2(\Civi\Core\Email $email2 = null) {
-    $this->email2 = $email2;
-    return $this;
-  }
-
-  /**
-   * Get email2
-   *
-   * @return \Civi\Core\Email
-   */
-  public function getEmail2() {
-    return $this->email2;
-  }
-  
-  /**
-   * Set phone2
-   *
-   * @param \Civi\Core\Phone $phone2
-   * @return LocBlock
-   */
-  public function setPhone2(\Civi\Core\Phone $phone2 = null) {
-    $this->phone2 = $phone2;
-    return $this;
-  }
-
-  /**
-   * Get phone2
-   *
-   * @return \Civi\Core\Phone
-   */
-  public function getPhone2() {
-    return $this->phone2;
-  }
-  
-  /**
-   * Set im2
-   *
-   * @param \Civi\Core\IM $im2
-   * @return LocBlock
-   */
-  public function setIm2(\Civi\Core\IM $im2 = null) {
-    $this->im2 = $im2;
-    return $this;
-  }
-
-  /**
-   * Get im2
-   *
-   * @return \Civi\Core\IM
-   */
-  public function getIm2() {
-    return $this->im2;
-  }
-
-}
-
diff --git a/Civi/Core/LocationType.php b/Civi/Core/LocationType.php
deleted file mode 100644 (file)
index 9958a3f..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/LocationType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * LocationType
- *
- * @ORM\Table(name="civicrm_location_type", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})})
- * @ORM\Entity
- */
-class LocationType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="display_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $displayName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="vcard_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $vcardName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=true)
-   * 
-   */
-  private $isDefault;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return LocationType
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set displayName
-   *
-   * @param string $displayName
-   * @return LocationType
-   */
-  public function setDisplayName($displayName) {
-    $this->displayName = $displayName;
-    return $this;
-  }
-
-  /**
-   * Get displayName
-   *
-   * @return string
-   */
-  public function getDisplayName() {
-    return $this->displayName;
-  }
-  
-  /**
-   * Set vcardName
-   *
-   * @param string $vcardName
-   * @return LocationType
-   */
-  public function setVcardName($vcardName) {
-    $this->vcardName = $vcardName;
-    return $this;
-  }
-
-  /**
-   * Get vcardName
-   *
-   * @return string
-   */
-  public function getVcardName() {
-    return $this->vcardName;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return LocationType
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return LocationType
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return LocationType
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return LocationType
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-
-}
-
diff --git a/Civi/Core/Log.php b/Civi/Core/Log.php
deleted file mode 100644 (file)
index 806bce8..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Log.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Log
- *
- * @ORM\Table(name="civicrm_log", indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="FK_civicrm_log_modified_id", columns={"modified_id"})})
- * @ORM\Entity
- */
-class Log extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="data", type="text", nullable=true)
-   * 
-   */
-  private $data;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="modified_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $modified;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="modified_date", type="datetime", nullable=true)
-   * 
-   */
-  private $modifiedDate;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return Log
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return Log
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param text $data
-   * @return Log
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return text
-   */
-  public function getData() {
-    return $this->data;
-  }
-  
-  /**
-   * Set modified
-   *
-   * @param \Civi\Contact\Contact $modified
-   * @return Log
-   */
-  public function setModified(\Civi\Contact\Contact $modified = null) {
-    $this->modified = $modified;
-    return $this;
-  }
-
-  /**
-   * Get modified
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getModified() {
-    return $this->modified;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param datetime $modifiedDate
-   * @return Log
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return datetime
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-
-}
-
diff --git a/Civi/Core/MailSettings.php b/Civi/Core/MailSettings.php
deleted file mode 100644 (file)
index 36c8891..0000000
+++ /dev/null
@@ -1,432 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/MailSettings.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MailSettings
- *
- * @ORM\Table(name="civicrm_mail_settings")
- * @ORM\Entity
- */
-class MailSettings extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="domain_id", type="integer", nullable=true)
-   * 
-   */
-  private $domainId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=true)
-   * 
-   */
-  private $isDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="domain", type="string", length=255, nullable=true)
-   * 
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="localpart", type="string", length=255, nullable=true)
-   * 
-   */
-  private $localpart;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="return_path", type="string", length=255, nullable=true)
-   * 
-   */
-  private $returnPath;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="protocol", type="string", length=255, nullable=true)
-   * 
-   */
-  private $protocol;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="server", type="string", length=255, nullable=true)
-   * 
-   */
-  private $server;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="port", type="integer", nullable=true)
-   * 
-   */
-  private $port;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="username", type="string", length=255, nullable=true)
-   * 
-   */
-  private $username;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="password", type="string", length=255, nullable=true)
-   * 
-   */
-  private $password;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_ssl", type="boolean", nullable=true)
-   * 
-   */
-  private $isSsl;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="source", type="string", length=255, nullable=true)
-   * 
-   */
-  private $source;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domainId
-   *
-   * @param integer $domainId
-   * @return MailSettings
-   */
-  public function setDomainId($domainId) {
-    $this->domainId = $domainId;
-    return $this;
-  }
-
-  /**
-   * Get domainId
-   *
-   * @return integer
-   */
-  public function getDomainId() {
-    return $this->domainId;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return MailSettings
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return MailSettings
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set domain
-   *
-   * @param string $domain
-   * @return MailSettings
-   */
-  public function setDomain($domain) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return string
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set localpart
-   *
-   * @param string $localpart
-   * @return MailSettings
-   */
-  public function setLocalpart($localpart) {
-    $this->localpart = $localpart;
-    return $this;
-  }
-
-  /**
-   * Get localpart
-   *
-   * @return string
-   */
-  public function getLocalpart() {
-    return $this->localpart;
-  }
-  
-  /**
-   * Set returnPath
-   *
-   * @param string $returnPath
-   * @return MailSettings
-   */
-  public function setReturnPath($returnPath) {
-    $this->returnPath = $returnPath;
-    return $this;
-  }
-
-  /**
-   * Get returnPath
-   *
-   * @return string
-   */
-  public function getReturnPath() {
-    return $this->returnPath;
-  }
-  
-  /**
-   * Set protocol
-   *
-   * @param string $protocol
-   * @return MailSettings
-   */
-  public function setProtocol($protocol) {
-    $this->protocol = $protocol;
-    return $this;
-  }
-
-  /**
-   * Get protocol
-   *
-   * @return string
-   */
-  public function getProtocol() {
-    return $this->protocol;
-  }
-  
-  /**
-   * Set server
-   *
-   * @param string $server
-   * @return MailSettings
-   */
-  public function setServer($server) {
-    $this->server = $server;
-    return $this;
-  }
-
-  /**
-   * Get server
-   *
-   * @return string
-   */
-  public function getServer() {
-    return $this->server;
-  }
-  
-  /**
-   * Set port
-   *
-   * @param integer $port
-   * @return MailSettings
-   */
-  public function setPort($port) {
-    $this->port = $port;
-    return $this;
-  }
-
-  /**
-   * Get port
-   *
-   * @return integer
-   */
-  public function getPort() {
-    return $this->port;
-  }
-  
-  /**
-   * Set username
-   *
-   * @param string $username
-   * @return MailSettings
-   */
-  public function setUsername($username) {
-    $this->username = $username;
-    return $this;
-  }
-
-  /**
-   * Get username
-   *
-   * @return string
-   */
-  public function getUsername() {
-    return $this->username;
-  }
-  
-  /**
-   * Set password
-   *
-   * @param string $password
-   * @return MailSettings
-   */
-  public function setPassword($password) {
-    $this->password = $password;
-    return $this;
-  }
-
-  /**
-   * Get password
-   *
-   * @return string
-   */
-  public function getPassword() {
-    return $this->password;
-  }
-  
-  /**
-   * Set isSsl
-   *
-   * @param boolean $isSsl
-   * @return MailSettings
-   */
-  public function setIsSsl($isSsl) {
-    $this->isSsl = $isSsl;
-    return $this;
-  }
-
-  /**
-   * Get isSsl
-   *
-   * @return boolean
-   */
-  public function getIsSsl() {
-    return $this->isSsl;
-  }
-  
-  /**
-   * Set source
-   *
-   * @param string $source
-   * @return MailSettings
-   */
-  public function setSource($source) {
-    $this->source = $source;
-    return $this;
-  }
-
-  /**
-   * Get source
-   *
-   * @return string
-   */
-  public function getSource() {
-    return $this->source;
-  }
-
-}
-
diff --git a/Civi/Core/Managed.php b/Civi/Core/Managed.php
deleted file mode 100644 (file)
index 941159b..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Managed.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Managed
- *
- * @ORM\Table(name="civicrm_managed", indexes={@ORM\Index(name="UI_managed_module_name", columns={"module,name"}),@ORM\Index(name="UI_managed_entity", columns={"entity_type,entity_id"})})
- * @ORM\Entity
- */
-class Managed extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="module", type="string", length=127, nullable=true)
-   * 
-   */
-  private $module;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=127, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_type", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityType;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set module
-   *
-   * @param string $module
-   * @return Managed
-   */
-  public function setModule($module) {
-    $this->module = $module;
-    return $this;
-  }
-
-  /**
-   * Get module
-   *
-   * @return string
-   */
-  public function getModule() {
-    return $this->module;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Managed
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set entityType
-   *
-   * @param string $entityType
-   * @return Managed
-   */
-  public function setEntityType($entityType) {
-    $this->entityType = $entityType;
-    return $this;
-  }
-
-  /**
-   * Get entityType
-   *
-   * @return string
-   */
-  public function getEntityType() {
-    return $this->entityType;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return Managed
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-
-}
-
diff --git a/Civi/Core/Mapping.php b/Civi/Core/Mapping.php
deleted file mode 100644 (file)
index dfe5974..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Mapping.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Mapping
- *
- * @ORM\Table(name="civicrm_mapping", indexes={@ORM\Index(name="UI_name", columns={"name"})})
- * @ORM\Entity
- */
-class Mapping extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="mapping_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $mappingTypeId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Mapping
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return Mapping
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set mappingTypeId
-   *
-   * @param integer $mappingTypeId
-   * @return Mapping
-   */
-  public function setMappingTypeId($mappingTypeId) {
-    $this->mappingTypeId = $mappingTypeId;
-    return $this;
-  }
-
-  /**
-   * Get mappingTypeId
-   *
-   * @return integer
-   */
-  public function getMappingTypeId() {
-    return $this->mappingTypeId;
-  }
-
-}
-
diff --git a/Civi/Core/MappingField.php b/Civi/Core/MappingField.php
deleted file mode 100644 (file)
index 252aa94..0000000
+++ /dev/null
@@ -1,432 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/MappingField.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MappingField
- *
- * @ORM\Table(name="civicrm_mapping_field", indexes={@ORM\Index(name="FK_civicrm_mapping_field_mapping_id", columns={"mapping_id"}),@ORM\Index(name="FK_civicrm_mapping_field_location_type_id", columns={"location_type_id"}),@ORM\Index(name="FK_civicrm_mapping_field_relationship_type_id", columns={"relationship_type_id"})})
- * @ORM\Entity
- */
-class MappingField extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Mapping
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Mapping")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="mapping_id", referencedColumnName="id")})
-   */
-  private $mapping;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_type", type="string", length=64, nullable=true)
-   * 
-   */
-  private $contactType;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="column_number", type="integer", nullable=true)
-   * 
-   */
-  private $columnNumber;
-  
-  /**
-   * @var \Civi\Core\LocationType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\LocationType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="location_type_id", referencedColumnName="id")})
-   */
-  private $locationType;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="phone_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $phoneTypeId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="im_provider_id", type="integer", nullable=true)
-   * 
-   */
-  private $imProviderId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="website_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $websiteTypeId;
-  
-  /**
-   * @var \Civi\Contact\RelationshipType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\RelationshipType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="relationship_type_id", referencedColumnName="id")})
-   */
-  private $relationshipType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="relationship_direction", type="string", length=6, nullable=true)
-   * 
-   */
-  private $relationshipDirection;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="grouping", type="integer", nullable=false)
-   * 
-   */
-  private $grouping = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="operator", type="string", length=16, nullable=true)
-   * 
-   */
-  private $operator;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="value", type="string", length=255, nullable=true)
-   * 
-   */
-  private $value;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set mapping
-   *
-   * @param \Civi\Core\Mapping $mapping
-   * @return MappingField
-   */
-  public function setMapping(\Civi\Core\Mapping $mapping = null) {
-    $this->mapping = $mapping;
-    return $this;
-  }
-
-  /**
-   * Get mapping
-   *
-   * @return \Civi\Core\Mapping
-   */
-  public function getMapping() {
-    return $this->mapping;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return MappingField
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set contactType
-   *
-   * @param string $contactType
-   * @return MappingField
-   */
-  public function setContactType($contactType) {
-    $this->contactType = $contactType;
-    return $this;
-  }
-
-  /**
-   * Get contactType
-   *
-   * @return string
-   */
-  public function getContactType() {
-    return $this->contactType;
-  }
-  
-  /**
-   * Set columnNumber
-   *
-   * @param integer $columnNumber
-   * @return MappingField
-   */
-  public function setColumnNumber($columnNumber) {
-    $this->columnNumber = $columnNumber;
-    return $this;
-  }
-
-  /**
-   * Get columnNumber
-   *
-   * @return integer
-   */
-  public function getColumnNumber() {
-    return $this->columnNumber;
-  }
-  
-  /**
-   * Set locationType
-   *
-   * @param \Civi\Core\LocationType $locationType
-   * @return MappingField
-   */
-  public function setLocationType(\Civi\Core\LocationType $locationType = null) {
-    $this->locationType = $locationType;
-    return $this;
-  }
-
-  /**
-   * Get locationType
-   *
-   * @return \Civi\Core\LocationType
-   */
-  public function getLocationType() {
-    return $this->locationType;
-  }
-  
-  /**
-   * Set phoneTypeId
-   *
-   * @param integer $phoneTypeId
-   * @return MappingField
-   */
-  public function setPhoneTypeId($phoneTypeId) {
-    $this->phoneTypeId = $phoneTypeId;
-    return $this;
-  }
-
-  /**
-   * Get phoneTypeId
-   *
-   * @return integer
-   */
-  public function getPhoneTypeId() {
-    return $this->phoneTypeId;
-  }
-  
-  /**
-   * Set imProviderId
-   *
-   * @param integer $imProviderId
-   * @return MappingField
-   */
-  public function setImProviderId($imProviderId) {
-    $this->imProviderId = $imProviderId;
-    return $this;
-  }
-
-  /**
-   * Get imProviderId
-   *
-   * @return integer
-   */
-  public function getImProviderId() {
-    return $this->imProviderId;
-  }
-  
-  /**
-   * Set websiteTypeId
-   *
-   * @param integer $websiteTypeId
-   * @return MappingField
-   */
-  public function setWebsiteTypeId($websiteTypeId) {
-    $this->websiteTypeId = $websiteTypeId;
-    return $this;
-  }
-
-  /**
-   * Get websiteTypeId
-   *
-   * @return integer
-   */
-  public function getWebsiteTypeId() {
-    return $this->websiteTypeId;
-  }
-  
-  /**
-   * Set relationshipType
-   *
-   * @param \Civi\Contact\RelationshipType $relationshipType
-   * @return MappingField
-   */
-  public function setRelationshipType(\Civi\Contact\RelationshipType $relationshipType = null) {
-    $this->relationshipType = $relationshipType;
-    return $this;
-  }
-
-  /**
-   * Get relationshipType
-   *
-   * @return \Civi\Contact\RelationshipType
-   */
-  public function getRelationshipType() {
-    return $this->relationshipType;
-  }
-  
-  /**
-   * Set relationshipDirection
-   *
-   * @param string $relationshipDirection
-   * @return MappingField
-   */
-  public function setRelationshipDirection($relationshipDirection) {
-    $this->relationshipDirection = $relationshipDirection;
-    return $this;
-  }
-
-  /**
-   * Get relationshipDirection
-   *
-   * @return string
-   */
-  public function getRelationshipDirection() {
-    return $this->relationshipDirection;
-  }
-  
-  /**
-   * Set grouping
-   *
-   * @param integer $grouping
-   * @return MappingField
-   */
-  public function setGrouping($grouping) {
-    $this->grouping = $grouping;
-    return $this;
-  }
-
-  /**
-   * Get grouping
-   *
-   * @return integer
-   */
-  public function getGrouping() {
-    return $this->grouping;
-  }
-  
-  /**
-   * Set operator
-   *
-   * @param string $operator
-   * @return MappingField
-   */
-  public function setOperator($operator) {
-    $this->operator = $operator;
-    return $this;
-  }
-
-  /**
-   * Get operator
-   *
-   * @return string
-   */
-  public function getOperator() {
-    return $this->operator;
-  }
-  
-  /**
-   * Set value
-   *
-   * @param string $value
-   * @return MappingField
-   */
-  public function setValue($value) {
-    $this->value = $value;
-    return $this;
-  }
-
-  /**
-   * Get value
-   *
-   * @return string
-   */
-  public function getValue() {
-    return $this->value;
-  }
-
-}
-
diff --git a/Civi/Core/Menu.php b/Civi/Core/Menu.php
deleted file mode 100644 (file)
index 40d64ac..0000000
+++ /dev/null
@@ -1,628 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Menu.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Menu
- *
- * @ORM\Table(name="civicrm_menu", uniqueConstraints={@ORM\UniqueConstraint(name="UI_path_domain_id", columns={"path,domain_id"})}, indexes={@ORM\Index(name="FK_civicrm_menu_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_menu_component_id", columns={"component_id"})})
- * @ORM\Entity
- */
-class Menu extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="path", type="string", length=255, nullable=true)
-   * 
-   */
-  private $path;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="path_arguments", type="text", nullable=true)
-   * 
-   */
-  private $pathArguments;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="access_callback", type="string", length=255, nullable=true)
-   * 
-   */
-  private $accessCallback;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="access_arguments", type="text", nullable=true)
-   * 
-   */
-  private $accessArguments;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="page_callback", type="string", length=255, nullable=true)
-   * 
-   */
-  private $pageCallback;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="page_arguments", type="text", nullable=true)
-   * 
-   */
-  private $pageArguments;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="breadcrumb", type="text", nullable=true)
-   * 
-   */
-  private $breadcrumb;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="return_url", type="string", length=255, nullable=true)
-   * 
-   */
-  private $returnUrl;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="return_url_args", type="string", length=255, nullable=true)
-   * 
-   */
-  private $returnUrlArgs;
-  
-  /**
-   * @var \Civi\Core\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="component_id", referencedColumnName="id")})
-   */
-  private $component;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_public", type="boolean", nullable=true)
-   * 
-   */
-  private $isPublic;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_exposed", type="boolean", nullable=true)
-   * 
-   */
-  private $isExposed;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_ssl", type="boolean", nullable=true)
-   * 
-   */
-  private $isSsl;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '1';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="type", type="int", nullable=false)
-   * 
-   */
-  private $type = '1';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="page_type", type="int", nullable=false)
-   * 
-   */
-  private $pageType = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="skipBreadcrumb", type="boolean", nullable=true)
-   * 
-   */
-  private $skipBreadcrumb;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return Menu
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set path
-   *
-   * @param string $path
-   * @return Menu
-   */
-  public function setPath($path) {
-    $this->path = $path;
-    return $this;
-  }
-
-  /**
-   * Get path
-   *
-   * @return string
-   */
-  public function getPath() {
-    return $this->path;
-  }
-  
-  /**
-   * Set pathArguments
-   *
-   * @param text $pathArguments
-   * @return Menu
-   */
-  public function setPathArguments($pathArguments) {
-    $this->pathArguments = $pathArguments;
-    return $this;
-  }
-
-  /**
-   * Get pathArguments
-   *
-   * @return text
-   */
-  public function getPathArguments() {
-    return $this->pathArguments;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Menu
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set accessCallback
-   *
-   * @param string $accessCallback
-   * @return Menu
-   */
-  public function setAccessCallback($accessCallback) {
-    $this->accessCallback = $accessCallback;
-    return $this;
-  }
-
-  /**
-   * Get accessCallback
-   *
-   * @return string
-   */
-  public function getAccessCallback() {
-    return $this->accessCallback;
-  }
-  
-  /**
-   * Set accessArguments
-   *
-   * @param text $accessArguments
-   * @return Menu
-   */
-  public function setAccessArguments($accessArguments) {
-    $this->accessArguments = $accessArguments;
-    return $this;
-  }
-
-  /**
-   * Get accessArguments
-   *
-   * @return text
-   */
-  public function getAccessArguments() {
-    return $this->accessArguments;
-  }
-  
-  /**
-   * Set pageCallback
-   *
-   * @param string $pageCallback
-   * @return Menu
-   */
-  public function setPageCallback($pageCallback) {
-    $this->pageCallback = $pageCallback;
-    return $this;
-  }
-
-  /**
-   * Get pageCallback
-   *
-   * @return string
-   */
-  public function getPageCallback() {
-    return $this->pageCallback;
-  }
-  
-  /**
-   * Set pageArguments
-   *
-   * @param text $pageArguments
-   * @return Menu
-   */
-  public function setPageArguments($pageArguments) {
-    $this->pageArguments = $pageArguments;
-    return $this;
-  }
-
-  /**
-   * Get pageArguments
-   *
-   * @return text
-   */
-  public function getPageArguments() {
-    return $this->pageArguments;
-  }
-  
-  /**
-   * Set breadcrumb
-   *
-   * @param text $breadcrumb
-   * @return Menu
-   */
-  public function setBreadcrumb($breadcrumb) {
-    $this->breadcrumb = $breadcrumb;
-    return $this;
-  }
-
-  /**
-   * Get breadcrumb
-   *
-   * @return text
-   */
-  public function getBreadcrumb() {
-    return $this->breadcrumb;
-  }
-  
-  /**
-   * Set returnUrl
-   *
-   * @param string $returnUrl
-   * @return Menu
-   */
-  public function setReturnUrl($returnUrl) {
-    $this->returnUrl = $returnUrl;
-    return $this;
-  }
-
-  /**
-   * Get returnUrl
-   *
-   * @return string
-   */
-  public function getReturnUrl() {
-    return $this->returnUrl;
-  }
-  
-  /**
-   * Set returnUrlArgs
-   *
-   * @param string $returnUrlArgs
-   * @return Menu
-   */
-  public function setReturnUrlArgs($returnUrlArgs) {
-    $this->returnUrlArgs = $returnUrlArgs;
-    return $this;
-  }
-
-  /**
-   * Get returnUrlArgs
-   *
-   * @return string
-   */
-  public function getReturnUrlArgs() {
-    return $this->returnUrlArgs;
-  }
-  
-  /**
-   * Set component
-   *
-   * @param \Civi\Core\Component $component
-   * @return Menu
-   */
-  public function setComponent(\Civi\Core\Component $component = null) {
-    $this->component = $component;
-    return $this;
-  }
-
-  /**
-   * Get component
-   *
-   * @return \Civi\Core\Component
-   */
-  public function getComponent() {
-    return $this->component;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Menu
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isPublic
-   *
-   * @param boolean $isPublic
-   * @return Menu
-   */
-  public function setIsPublic($isPublic) {
-    $this->isPublic = $isPublic;
-    return $this;
-  }
-
-  /**
-   * Get isPublic
-   *
-   * @return boolean
-   */
-  public function getIsPublic() {
-    return $this->isPublic;
-  }
-  
-  /**
-   * Set isExposed
-   *
-   * @param boolean $isExposed
-   * @return Menu
-   */
-  public function setIsExposed($isExposed) {
-    $this->isExposed = $isExposed;
-    return $this;
-  }
-
-  /**
-   * Get isExposed
-   *
-   * @return boolean
-   */
-  public function getIsExposed() {
-    return $this->isExposed;
-  }
-  
-  /**
-   * Set isSsl
-   *
-   * @param boolean $isSsl
-   * @return Menu
-   */
-  public function setIsSsl($isSsl) {
-    $this->isSsl = $isSsl;
-    return $this;
-  }
-
-  /**
-   * Get isSsl
-   *
-   * @return boolean
-   */
-  public function getIsSsl() {
-    return $this->isSsl;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return Menu
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set type
-   *
-   * @param int $type
-   * @return Menu
-   */
-  public function setType($type) {
-    $this->type = $type;
-    return $this;
-  }
-
-  /**
-   * Get type
-   *
-   * @return int
-   */
-  public function getType() {
-    return $this->type;
-  }
-  
-  /**
-   * Set pageType
-   *
-   * @param int $pageType
-   * @return Menu
-   */
-  public function setPageType($pageType) {
-    $this->pageType = $pageType;
-    return $this;
-  }
-
-  /**
-   * Get pageType
-   *
-   * @return int
-   */
-  public function getPageType() {
-    return $this->pageType;
-  }
-  
-  /**
-   * Set skipBreadcrumb
-   *
-   * @param boolean $skipBreadcrumb
-   * @return Menu
-   */
-  public function setSkipBreadcrumb($skipBreadcrumb) {
-    $this->skipBreadcrumb = $skipBreadcrumb;
-    return $this;
-  }
-
-  /**
-   * Get skipBreadcrumb
-   *
-   * @return boolean
-   */
-  public function getSkipBreadcrumb() {
-    return $this->skipBreadcrumb;
-  }
-
-}
-
diff --git a/Civi/Core/MessageTemplate.php b/Civi/Core/MessageTemplate.php
deleted file mode 100644 (file)
index f0898c6..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/MessageTemplate.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MessageTemplate
- *
- * @ORM\Table(name="civicrm_msg_template", indexes={@ORM\Index(name="FK_civicrm_msg_template_pdf_format_id", columns={"pdf_format_id"})})
- * @ORM\Entity
- */
-class MessageTemplate extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="msg_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $msgTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="msg_subject", type="text", nullable=true)
-   * 
-   */
-  private $msgSubject;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="msg_text", type="longtext", nullable=true)
-   * 
-   */
-  private $msgText;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="msg_html", type="longtext", nullable=true)
-   * 
-   */
-  private $msgHtml;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="workflow_id", type="integer", nullable=true)
-   * 
-   */
-  private $workflowId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=false)
-   * 
-   */
-  private $isDefault = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var \Civi\Core\OptionValue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\OptionValue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="pdf_format_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $pdfFormat;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set msgTitle
-   *
-   * @param string $msgTitle
-   * @return MessageTemplate
-   */
-  public function setMsgTitle($msgTitle) {
-    $this->msgTitle = $msgTitle;
-    return $this;
-  }
-
-  /**
-   * Get msgTitle
-   *
-   * @return string
-   */
-  public function getMsgTitle() {
-    return $this->msgTitle;
-  }
-  
-  /**
-   * Set msgSubject
-   *
-   * @param text $msgSubject
-   * @return MessageTemplate
-   */
-  public function setMsgSubject($msgSubject) {
-    $this->msgSubject = $msgSubject;
-    return $this;
-  }
-
-  /**
-   * Get msgSubject
-   *
-   * @return text
-   */
-  public function getMsgSubject() {
-    return $this->msgSubject;
-  }
-  
-  /**
-   * Set msgText
-   *
-   * @param longtext $msgText
-   * @return MessageTemplate
-   */
-  public function setMsgText($msgText) {
-    $this->msgText = $msgText;
-    return $this;
-  }
-
-  /**
-   * Get msgText
-   *
-   * @return longtext
-   */
-  public function getMsgText() {
-    return $this->msgText;
-  }
-  
-  /**
-   * Set msgHtml
-   *
-   * @param longtext $msgHtml
-   * @return MessageTemplate
-   */
-  public function setMsgHtml($msgHtml) {
-    $this->msgHtml = $msgHtml;
-    return $this;
-  }
-
-  /**
-   * Get msgHtml
-   *
-   * @return longtext
-   */
-  public function getMsgHtml() {
-    return $this->msgHtml;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return MessageTemplate
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set workflowId
-   *
-   * @param integer $workflowId
-   * @return MessageTemplate
-   */
-  public function setWorkflowId($workflowId) {
-    $this->workflowId = $workflowId;
-    return $this;
-  }
-
-  /**
-   * Get workflowId
-   *
-   * @return integer
-   */
-  public function getWorkflowId() {
-    return $this->workflowId;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return MessageTemplate
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return MessageTemplate
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set pdfFormat
-   *
-   * @param \Civi\Core\OptionValue $pdfFormat
-   * @return MessageTemplate
-   */
-  public function setPdfFormat(\Civi\Core\OptionValue $pdfFormat = null) {
-    $this->pdfFormat = $pdfFormat;
-    return $this;
-  }
-
-  /**
-   * Get pdfFormat
-   *
-   * @return \Civi\Core\OptionValue
-   */
-  public function getPdfFormat() {
-    return $this->pdfFormat;
-  }
-
-}
-
diff --git a/Civi/Core/Navigation.php b/Civi/Core/Navigation.php
deleted file mode 100644 (file)
index bfd787e..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Navigation.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Navigation
- *
- * @ORM\Table(name="civicrm_navigation", indexes={@ORM\Index(name="FK_civicrm_navigation_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_navigation_parent_id", columns={"parent_id"})})
- * @ORM\Entity
- */
-class Navigation extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url", type="string", length=255, nullable=true)
-   * 
-   */
-  private $url;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="permission", type="string", length=255, nullable=true)
-   * 
-   */
-  private $permission;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="permission_operator", type="string", length=3, nullable=true)
-   * 
-   */
-  private $permissionOperator;
-  
-  /**
-   * @var \Civi\Core\Navigation
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Navigation")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $parent;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="has_separator", type="boolean", nullable=true)
-   * 
-   */
-  private $hasSeparator;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=true)
-   * 
-   */
-  private $weight;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return Navigation
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return Navigation
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Navigation
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set url
-   *
-   * @param string $url
-   * @return Navigation
-   */
-  public function setUrl($url) {
-    $this->url = $url;
-    return $this;
-  }
-
-  /**
-   * Get url
-   *
-   * @return string
-   */
-  public function getUrl() {
-    return $this->url;
-  }
-  
-  /**
-   * Set permission
-   *
-   * @param string $permission
-   * @return Navigation
-   */
-  public function setPermission($permission) {
-    $this->permission = $permission;
-    return $this;
-  }
-
-  /**
-   * Get permission
-   *
-   * @return string
-   */
-  public function getPermission() {
-    return $this->permission;
-  }
-  
-  /**
-   * Set permissionOperator
-   *
-   * @param string $permissionOperator
-   * @return Navigation
-   */
-  public function setPermissionOperator($permissionOperator) {
-    $this->permissionOperator = $permissionOperator;
-    return $this;
-  }
-
-  /**
-   * Get permissionOperator
-   *
-   * @return string
-   */
-  public function getPermissionOperator() {
-    return $this->permissionOperator;
-  }
-  
-  /**
-   * Set parent
-   *
-   * @param \Civi\Core\Navigation $parent
-   * @return Navigation
-   */
-  public function setParent(\Civi\Core\Navigation $parent = null) {
-    $this->parent = $parent;
-    return $this;
-  }
-
-  /**
-   * Get parent
-   *
-   * @return \Civi\Core\Navigation
-   */
-  public function getParent() {
-    return $this->parent;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Navigation
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set hasSeparator
-   *
-   * @param boolean $hasSeparator
-   * @return Navigation
-   */
-  public function setHasSeparator($hasSeparator) {
-    $this->hasSeparator = $hasSeparator;
-    return $this;
-  }
-
-  /**
-   * Get hasSeparator
-   *
-   * @return boolean
-   */
-  public function getHasSeparator() {
-    return $this->hasSeparator;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return Navigation
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-
-}
-
diff --git a/Civi/Core/Note.php b/Civi/Core/Note.php
deleted file mode 100644 (file)
index 97da8ed..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Note.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Note
- *
- * @ORM\Table(name="civicrm_note", indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="FK_civicrm_note_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class Note extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="note", type="text", nullable=true)
-   * 
-   */
-  private $note;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $contact;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="modified_date", type="date", nullable=true)
-   * 
-   */
-  private $modifiedDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=255, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="privacy", type="string", length=255, nullable=true)
-   * 
-   */
-  private $privacy;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return Note
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return Note
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set note
-   *
-   * @param text $note
-   * @return Note
-   */
-  public function setNote($note) {
-    $this->note = $note;
-    return $this;
-  }
-
-  /**
-   * Get note
-   *
-   * @return text
-   */
-  public function getNote() {
-    return $this->note;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Note
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param date $modifiedDate
-   * @return Note
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return date
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return Note
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set privacy
-   *
-   * @param string $privacy
-   * @return Note
-   */
-  public function setPrivacy($privacy) {
-    $this->privacy = $privacy;
-    return $this;
-  }
-
-  /**
-   * Get privacy
-   *
-   * @return string
-   */
-  public function getPrivacy() {
-    return $this->privacy;
-  }
-
-}
-
diff --git a/Civi/Core/OpenID.php b/Civi/Core/OpenID.php
deleted file mode 100644 (file)
index 2fb965b..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/OpenID.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * OpenID
- *
- * @ORM\Table(name="civicrm_openid", uniqueConstraints={@ORM\UniqueConstraint(name="UI_openid", columns={"openid"})}, indexes={@ORM\Index(name="index_location_type", columns={"location_type_id"}),@ORM\Index(name="FK_civicrm_openid_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class OpenID extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="location_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $locationTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="openid", type="string", length=255, nullable=true)
-   * 
-   */
-  private $openid;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="allowed_to_login", type="boolean", nullable=false)
-   * 
-   */
-  private $allowedToLogin = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_primary", type="boolean", nullable=false)
-   * 
-   */
-  private $isPrimary = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return OpenID
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set locationTypeId
-   *
-   * @param integer $locationTypeId
-   * @return OpenID
-   */
-  public function setLocationTypeId($locationTypeId) {
-    $this->locationTypeId = $locationTypeId;
-    return $this;
-  }
-
-  /**
-   * Get locationTypeId
-   *
-   * @return integer
-   */
-  public function getLocationTypeId() {
-    return $this->locationTypeId;
-  }
-  
-  /**
-   * Set openid
-   *
-   * @param string $openid
-   * @return OpenID
-   */
-  public function setOpenid($openid) {
-    $this->openid = $openid;
-    return $this;
-  }
-
-  /**
-   * Get openid
-   *
-   * @return string
-   */
-  public function getOpenid() {
-    return $this->openid;
-  }
-  
-  /**
-   * Set allowedToLogin
-   *
-   * @param boolean $allowedToLogin
-   * @return OpenID
-   */
-  public function setAllowedToLogin($allowedToLogin) {
-    $this->allowedToLogin = $allowedToLogin;
-    return $this;
-  }
-
-  /**
-   * Get allowedToLogin
-   *
-   * @return boolean
-   */
-  public function getAllowedToLogin() {
-    return $this->allowedToLogin;
-  }
-  
-  /**
-   * Set isPrimary
-   *
-   * @param boolean $isPrimary
-   * @return OpenID
-   */
-  public function setIsPrimary($isPrimary) {
-    $this->isPrimary = $isPrimary;
-    return $this;
-  }
-
-  /**
-   * Get isPrimary
-   *
-   * @return boolean
-   */
-  public function getIsPrimary() {
-    return $this->isPrimary;
-  }
-
-}
-
diff --git a/Civi/Core/OptionGroup.php b/Civi/Core/OptionGroup.php
deleted file mode 100644 (file)
index a0d6301..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/OptionGroup.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * OptionGroup
- *
- * @ORM\Table(name="civicrm_option_group", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})})
- * @ORM\Entity
- */
-class OptionGroup extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return OptionGroup
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return OptionGroup
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return OptionGroup
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return OptionGroup
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return OptionGroup
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Core/OptionValue.php b/Civi/Core/OptionValue.php
deleted file mode 100644 (file)
index 272a248..0000000
+++ /dev/null
@@ -1,488 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/OptionValue.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * OptionValue
- *
- * @ORM\Table(name="civicrm_option_value", indexes={@ORM\Index(name="index_option_group_id_value", columns={"value(128),option_group_id"}),@ORM\Index(name="index_option_group_id_name", columns={"name(128),option_group_id"}),@ORM\Index(name="FK_civicrm_option_value_option_group_id", columns={"option_group_id"}),@ORM\Index(name="FK_civicrm_option_value_component_id", columns={"component_id"}),@ORM\Index(name="FK_civicrm_option_value_domain_id", columns={"domain_id"})})
- * @ORM\Entity
- */
-class OptionValue extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\OptionGroup
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\OptionGroup")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="option_group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $optionGroup;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="value", type="string", length=512, nullable=true)
-   * 
-   */
-  private $value;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="grouping", type="string", length=255, nullable=true)
-   * 
-   */
-  private $grouping;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="filter", type="integer", nullable=true)
-   * 
-   */
-  private $filter;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=false)
-   * 
-   */
-  private $isDefault = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="weight", type="integer", nullable=true)
-   * 
-   */
-  private $weight;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_optgroup", type="boolean", nullable=false)
-   * 
-   */
-  private $isOptgroup = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var \Civi\Core\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="component_id", referencedColumnName="id")})
-   */
-  private $component;
-  
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="visibility_id", type="integer", nullable=false)
-   * 
-   */
-  private $visibilityId = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set optionGroup
-   *
-   * @param \Civi\Core\OptionGroup $optionGroup
-   * @return OptionValue
-   */
-  public function setOptionGroup(\Civi\Core\OptionGroup $optionGroup = null) {
-    $this->optionGroup = $optionGroup;
-    return $this;
-  }
-
-  /**
-   * Get optionGroup
-   *
-   * @return \Civi\Core\OptionGroup
-   */
-  public function getOptionGroup() {
-    return $this->optionGroup;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return OptionValue
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set value
-   *
-   * @param string $value
-   * @return OptionValue
-   */
-  public function setValue($value) {
-    $this->value = $value;
-    return $this;
-  }
-
-  /**
-   * Get value
-   *
-   * @return string
-   */
-  public function getValue() {
-    return $this->value;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return OptionValue
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set grouping
-   *
-   * @param string $grouping
-   * @return OptionValue
-   */
-  public function setGrouping($grouping) {
-    $this->grouping = $grouping;
-    return $this;
-  }
-
-  /**
-   * Get grouping
-   *
-   * @return string
-   */
-  public function getGrouping() {
-    return $this->grouping;
-  }
-  
-  /**
-   * Set filter
-   *
-   * @param integer $filter
-   * @return OptionValue
-   */
-  public function setFilter($filter) {
-    $this->filter = $filter;
-    return $this;
-  }
-
-  /**
-   * Get filter
-   *
-   * @return integer
-   */
-  public function getFilter() {
-    return $this->filter;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return OptionValue
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param integer $weight
-   * @return OptionValue
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return integer
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return OptionValue
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set isOptgroup
-   *
-   * @param boolean $isOptgroup
-   * @return OptionValue
-   */
-  public function setIsOptgroup($isOptgroup) {
-    $this->isOptgroup = $isOptgroup;
-    return $this;
-  }
-
-  /**
-   * Get isOptgroup
-   *
-   * @return boolean
-   */
-  public function getIsOptgroup() {
-    return $this->isOptgroup;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return OptionValue
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return OptionValue
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set component
-   *
-   * @param \Civi\Core\Component $component
-   * @return OptionValue
-   */
-  public function setComponent(\Civi\Core\Component $component = null) {
-    $this->component = $component;
-    return $this;
-  }
-
-  /**
-   * Get component
-   *
-   * @return \Civi\Core\Component
-   */
-  public function getComponent() {
-    return $this->component;
-  }
-  
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return OptionValue
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set visibilityId
-   *
-   * @param integer $visibilityId
-   * @return OptionValue
-   */
-  public function setVisibilityId($visibilityId) {
-    $this->visibilityId = $visibilityId;
-    return $this;
-  }
-
-  /**
-   * Get visibilityId
-   *
-   * @return integer
-   */
-  public function getVisibilityId() {
-    return $this->visibilityId;
-  }
-
-}
-
diff --git a/Civi/Core/Persistent.php b/Civi/Core/Persistent.php
deleted file mode 100644 (file)
index 36a9871..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Persistent.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Persistent
- *
- * @ORM\Table(name="civicrm_persistent")
- * @ORM\Entity
- */
-class Persistent extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="context", type="string", length=255, nullable=true)
-   * 
-   */
-  private $context;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="data", type="longtext", nullable=true)
-   * 
-   */
-  private $data;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_config", type="boolean", nullable=false)
-   * 
-   */
-  private $isConfig = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set context
-   *
-   * @param string $context
-   * @return Persistent
-   */
-  public function setContext($context) {
-    $this->context = $context;
-    return $this;
-  }
-
-  /**
-   * Get context
-   *
-   * @return string
-   */
-  public function getContext() {
-    return $this->context;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Persistent
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param longtext $data
-   * @return Persistent
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return longtext
-   */
-  public function getData() {
-    return $this->data;
-  }
-  
-  /**
-   * Set isConfig
-   *
-   * @param boolean $isConfig
-   * @return Persistent
-   */
-  public function setIsConfig($isConfig) {
-    $this->isConfig = $isConfig;
-    return $this;
-  }
-
-  /**
-   * Get isConfig
-   *
-   * @return boolean
-   */
-  public function getIsConfig() {
-    return $this->isConfig;
-  }
-
-}
-
diff --git a/Civi/Core/Phone.php b/Civi/Core/Phone.php
deleted file mode 100644 (file)
index 42232ab..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Phone.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Phone
- *
- * @ORM\Table(name="civicrm_phone", indexes={@ORM\Index(name="index_location_type", columns={"location_type_id"}),@ORM\Index(name="index_is_primary", columns={"is_primary"}),@ORM\Index(name="index_is_billing", columns={"is_billing"}),@ORM\Index(name="UI_mobile_provider_id", columns={"mobile_provider_id"}),@ORM\Index(name="index_phone_numeric", columns={"phone_numeric"}),@ORM\Index(name="FK_civicrm_phone_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class Phone extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="location_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $locationTypeId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_primary", type="boolean", nullable=false)
-   * 
-   */
-  private $isPrimary = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_billing", type="boolean", nullable=false)
-   * 
-   */
-  private $isBilling = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="mobile_provider_id", type="integer", nullable=true)
-   * 
-   */
-  private $mobileProviderId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="phone", type="string", length=32, nullable=true)
-   * 
-   */
-  private $phone;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="phone_ext", type="string", length=16, nullable=true)
-   * 
-   */
-  private $phoneExt;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="phone_numeric", type="string", length=32, nullable=true)
-   * 
-   */
-  private $phoneNumeric;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="phone_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $phoneTypeId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Phone
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set locationTypeId
-   *
-   * @param integer $locationTypeId
-   * @return Phone
-   */
-  public function setLocationTypeId($locationTypeId) {
-    $this->locationTypeId = $locationTypeId;
-    return $this;
-  }
-
-  /**
-   * Get locationTypeId
-   *
-   * @return integer
-   */
-  public function getLocationTypeId() {
-    return $this->locationTypeId;
-  }
-  
-  /**
-   * Set isPrimary
-   *
-   * @param boolean $isPrimary
-   * @return Phone
-   */
-  public function setIsPrimary($isPrimary) {
-    $this->isPrimary = $isPrimary;
-    return $this;
-  }
-
-  /**
-   * Get isPrimary
-   *
-   * @return boolean
-   */
-  public function getIsPrimary() {
-    return $this->isPrimary;
-  }
-  
-  /**
-   * Set isBilling
-   *
-   * @param boolean $isBilling
-   * @return Phone
-   */
-  public function setIsBilling($isBilling) {
-    $this->isBilling = $isBilling;
-    return $this;
-  }
-
-  /**
-   * Get isBilling
-   *
-   * @return boolean
-   */
-  public function getIsBilling() {
-    return $this->isBilling;
-  }
-  
-  /**
-   * Set mobileProviderId
-   *
-   * @param integer $mobileProviderId
-   * @return Phone
-   */
-  public function setMobileProviderId($mobileProviderId) {
-    $this->mobileProviderId = $mobileProviderId;
-    return $this;
-  }
-
-  /**
-   * Get mobileProviderId
-   *
-   * @return integer
-   */
-  public function getMobileProviderId() {
-    return $this->mobileProviderId;
-  }
-  
-  /**
-   * Set phone
-   *
-   * @param string $phone
-   * @return Phone
-   */
-  public function setPhone($phone) {
-    $this->phone = $phone;
-    return $this;
-  }
-
-  /**
-   * Get phone
-   *
-   * @return string
-   */
-  public function getPhone() {
-    return $this->phone;
-  }
-  
-  /**
-   * Set phoneExt
-   *
-   * @param string $phoneExt
-   * @return Phone
-   */
-  public function setPhoneExt($phoneExt) {
-    $this->phoneExt = $phoneExt;
-    return $this;
-  }
-
-  /**
-   * Get phoneExt
-   *
-   * @return string
-   */
-  public function getPhoneExt() {
-    return $this->phoneExt;
-  }
-  
-  /**
-   * Set phoneNumeric
-   *
-   * @param string $phoneNumeric
-   * @return Phone
-   */
-  public function setPhoneNumeric($phoneNumeric) {
-    $this->phoneNumeric = $phoneNumeric;
-    return $this;
-  }
-
-  /**
-   * Get phoneNumeric
-   *
-   * @return string
-   */
-  public function getPhoneNumeric() {
-    return $this->phoneNumeric;
-  }
-  
-  /**
-   * Set phoneTypeId
-   *
-   * @param integer $phoneTypeId
-   * @return Phone
-   */
-  public function setPhoneTypeId($phoneTypeId) {
-    $this->phoneTypeId = $phoneTypeId;
-    return $this;
-  }
-
-  /**
-   * Get phoneTypeId
-   *
-   * @return integer
-   */
-  public function getPhoneTypeId() {
-    return $this->phoneTypeId;
-  }
-
-}
-
diff --git a/Civi/Core/PreferencesDate.php b/Civi/Core/PreferencesDate.php
deleted file mode 100644 (file)
index c799dae..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/PreferencesDate.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PreferencesDate
- *
- * @ORM\Table(name="civicrm_preferences_date", indexes={@ORM\Index(name="index_name", columns={"name"})})
- * @ORM\Entity
- */
-class PreferencesDate extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="start", type="int", nullable=true)
-   * 
-   */
-  private $start;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="end", type="int", nullable=true)
-   * 
-   */
-  private $end;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="date_format", type="string", length=64, nullable=true)
-   * 
-   */
-  private $dateFormat;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="time_format", type="string", length=64, nullable=true)
-   * 
-   */
-  private $timeFormat;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return PreferencesDate
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return PreferencesDate
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set start
-   *
-   * @param int $start
-   * @return PreferencesDate
-   */
-  public function setStart($start) {
-    $this->start = $start;
-    return $this;
-  }
-
-  /**
-   * Get start
-   *
-   * @return int
-   */
-  public function getStart() {
-    return $this->start;
-  }
-  
-  /**
-   * Set end
-   *
-   * @param int $end
-   * @return PreferencesDate
-   */
-  public function setEnd($end) {
-    $this->end = $end;
-    return $this;
-  }
-
-  /**
-   * Get end
-   *
-   * @return int
-   */
-  public function getEnd() {
-    return $this->end;
-  }
-  
-  /**
-   * Set dateFormat
-   *
-   * @param string $dateFormat
-   * @return PreferencesDate
-   */
-  public function setDateFormat($dateFormat) {
-    $this->dateFormat = $dateFormat;
-    return $this;
-  }
-
-  /**
-   * Get dateFormat
-   *
-   * @return string
-   */
-  public function getDateFormat() {
-    return $this->dateFormat;
-  }
-  
-  /**
-   * Set timeFormat
-   *
-   * @param string $timeFormat
-   * @return PreferencesDate
-   */
-  public function setTimeFormat($timeFormat) {
-    $this->timeFormat = $timeFormat;
-    return $this;
-  }
-
-  /**
-   * Get timeFormat
-   *
-   * @return string
-   */
-  public function getTimeFormat() {
-    return $this->timeFormat;
-  }
-
-}
-
diff --git a/Civi/Core/PrevNextCache.php b/Civi/Core/PrevNextCache.php
deleted file mode 100644 (file)
index 2fedbb4..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/PrevNextCache.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PrevNextCache
- *
- * @ORM\Table(name="civicrm_prevnext_cache", indexes={@ORM\Index(name="index_all", columns={"cacheKey,entity_id1,entity_id2,entity_table,is_selected"})})
- * @ORM\Entity
- */
-class PrevNextCache extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id1", type="integer", nullable=true)
-   * 
-   */
-  private $entityId1;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id2", type="integer", nullable=true)
-   * 
-   */
-  private $entityId2;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="cacheKey", type="string", length=255, nullable=true)
-   * 
-   */
-  private $cacheKey;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="data", type="longtext", nullable=true)
-   * 
-   */
-  private $data;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_selected", type="boolean", nullable=false)
-   * 
-   */
-  private $isSelected = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return PrevNextCache
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId1
-   *
-   * @param integer $entityId1
-   * @return PrevNextCache
-   */
-  public function setEntityId1($entityId1) {
-    $this->entityId1 = $entityId1;
-    return $this;
-  }
-
-  /**
-   * Get entityId1
-   *
-   * @return integer
-   */
-  public function getEntityId1() {
-    return $this->entityId1;
-  }
-  
-  /**
-   * Set entityId2
-   *
-   * @param integer $entityId2
-   * @return PrevNextCache
-   */
-  public function setEntityId2($entityId2) {
-    $this->entityId2 = $entityId2;
-    return $this;
-  }
-
-  /**
-   * Get entityId2
-   *
-   * @return integer
-   */
-  public function getEntityId2() {
-    return $this->entityId2;
-  }
-  
-  /**
-   * Set cacheKey
-   *
-   * @param string $cacheKey
-   * @return PrevNextCache
-   */
-  public function setCacheKey($cacheKey) {
-    $this->cacheKey = $cacheKey;
-    return $this;
-  }
-
-  /**
-   * Get cacheKey
-   *
-   * @return string
-   */
-  public function getCacheKey() {
-    return $this->cacheKey;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param longtext $data
-   * @return PrevNextCache
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return longtext
-   */
-  public function getData() {
-    return $this->data;
-  }
-  
-  /**
-   * Set isSelected
-   *
-   * @param boolean $isSelected
-   * @return PrevNextCache
-   */
-  public function setIsSelected($isSelected) {
-    $this->isSelected = $isSelected;
-    return $this;
-  }
-
-  /**
-   * Get isSelected
-   *
-   * @return boolean
-   */
-  public function getIsSelected() {
-    return $this->isSelected;
-  }
-
-}
-
diff --git a/Civi/Core/PrintLabel.php b/Civi/Core/PrintLabel.php
deleted file mode 100644 (file)
index 437741b..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/PrintLabel.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PrintLabel
- *
- * @ORM\Table(name="civicrm_print_label", indexes={@ORM\Index(name="FK_civicrm_print_label_created_id", columns={"created_id"})})
- * @ORM\Entity
- */
-class PrintLabel extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label_format_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $labelFormatName;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="label_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $labelTypeId;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="data", type="longtext", nullable=true)
-   * 
-   */
-  private $data;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=false)
-   * 
-   */
-  private $isDefault = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '1';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return PrintLabel
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return PrintLabel
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return PrintLabel
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set labelFormatName
-   *
-   * @param string $labelFormatName
-   * @return PrintLabel
-   */
-  public function setLabelFormatName($labelFormatName) {
-    $this->labelFormatName = $labelFormatName;
-    return $this;
-  }
-
-  /**
-   * Get labelFormatName
-   *
-   * @return string
-   */
-  public function getLabelFormatName() {
-    return $this->labelFormatName;
-  }
-  
-  /**
-   * Set labelTypeId
-   *
-   * @param integer $labelTypeId
-   * @return PrintLabel
-   */
-  public function setLabelTypeId($labelTypeId) {
-    $this->labelTypeId = $labelTypeId;
-    return $this;
-  }
-
-  /**
-   * Get labelTypeId
-   *
-   * @return integer
-   */
-  public function getLabelTypeId() {
-    return $this->labelTypeId;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param longtext $data
-   * @return PrintLabel
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return longtext
-   */
-  public function getData() {
-    return $this->data;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return PrintLabel
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PrintLabel
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return PrintLabel
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return PrintLabel
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-
-}
-
diff --git a/Civi/Core/Setting.php b/Civi/Core/Setting.php
deleted file mode 100644 (file)
index c75bc8f..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Setting.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Setting
- *
- * @ORM\Table(name="civicrm_setting", indexes={@ORM\Index(name="index_group_name", columns={"group_name,name"}),@ORM\Index(name="FK_civicrm_setting_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_setting_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_setting_component_id", columns={"component_id"}),@ORM\Index(name="FK_civicrm_setting_created_id", columns={"created_id"})})
- * @ORM\Entity
- */
-class Setting extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="group_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $groupName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="value", type="text", nullable=true)
-   * 
-   */
-  private $value;
-  
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $domain;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_domain", type="boolean", nullable=true)
-   * 
-   */
-  private $isDomain;
-  
-  /**
-   * @var \Civi\Core\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="component_id", referencedColumnName="id")})
-   */
-  private $component;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set groupName
-   *
-   * @param string $groupName
-   * @return Setting
-   */
-  public function setGroupName($groupName) {
-    $this->groupName = $groupName;
-    return $this;
-  }
-
-  /**
-   * Get groupName
-   *
-   * @return string
-   */
-  public function getGroupName() {
-    return $this->groupName;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Setting
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set value
-   *
-   * @param text $value
-   * @return Setting
-   */
-  public function setValue($value) {
-    $this->value = $value;
-    return $this;
-  }
-
-  /**
-   * Get value
-   *
-   * @return text
-   */
-  public function getValue() {
-    return $this->value;
-  }
-  
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return Setting
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Setting
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set isDomain
-   *
-   * @param boolean $isDomain
-   * @return Setting
-   */
-  public function setIsDomain($isDomain) {
-    $this->isDomain = $isDomain;
-    return $this;
-  }
-
-  /**
-   * Get isDomain
-   *
-   * @return boolean
-   */
-  public function getIsDomain() {
-    return $this->isDomain;
-  }
-  
-  /**
-   * Set component
-   *
-   * @param \Civi\Core\Component $component
-   * @return Setting
-   */
-  public function setComponent(\Civi\Core\Component $component = null) {
-    $this->component = $component;
-    return $this;
-  }
-
-  /**
-   * Get component
-   *
-   * @return \Civi\Core\Component
-   */
-  public function getComponent() {
-    return $this->component;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Setting
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Setting
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-
-}
-
diff --git a/Civi/Core/StateProvince.php b/Civi/Core/StateProvince.php
deleted file mode 100644 (file)
index a042659..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/StateProvince.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * StateProvince
- *
- * @ORM\Table(name="civicrm_state_province", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name_country_id", columns={"name,country_id"})}, indexes={@ORM\Index(name="FK_civicrm_state_province_country_id", columns={"country_id"})})
- * @ORM\Entity
- */
-class StateProvince extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="abbreviation", type="string", length=4, nullable=true)
-   * 
-   */
-  private $abbreviation;
-  
-  /**
-   * @var \Civi\Core\Country
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Country")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="country_id", referencedColumnName="id")})
-   */
-  private $country;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return StateProvince
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set abbreviation
-   *
-   * @param string $abbreviation
-   * @return StateProvince
-   */
-  public function setAbbreviation($abbreviation) {
-    $this->abbreviation = $abbreviation;
-    return $this;
-  }
-
-  /**
-   * Get abbreviation
-   *
-   * @return string
-   */
-  public function getAbbreviation() {
-    return $this->abbreviation;
-  }
-  
-  /**
-   * Set country
-   *
-   * @param \Civi\Core\Country $country
-   * @return StateProvince
-   */
-  public function setCountry(\Civi\Core\Country $country = null) {
-    $this->country = $country;
-    return $this;
-  }
-
-  /**
-   * Get country
-   *
-   * @return \Civi\Core\Country
-   */
-  public function getCountry() {
-    return $this->country;
-  }
-
-}
-
diff --git a/Civi/Core/Tag.php b/Civi/Core/Tag.php
deleted file mode 100644 (file)
index 4887b57..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Tag.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Tag
- *
- * @ORM\Table(name="civicrm_tag", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})}, indexes={@ORM\Index(name="FK_civicrm_tag_parent_id", columns={"parent_id"}),@ORM\Index(name="FK_civicrm_tag_created_id", columns={"created_id"})})
- * @ORM\Entity
- */
-class Tag extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var \Civi\Core\Tag
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Tag")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_id", referencedColumnName="id")})
-   */
-  private $parent = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_selectable", type="boolean", nullable=false)
-   * 
-   */
-  private $isSelectable = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_tagset", type="boolean", nullable=false)
-   * 
-   */
-  private $isTagset = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="used_for", type="string", length=64, nullable=false)
-   * 
-   */
-  private $usedFor = 'NULL';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Tag
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return Tag
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set parent
-   *
-   * @param \Civi\Core\Tag $parent
-   * @return Tag
-   */
-  public function setParent(\Civi\Core\Tag $parent = null) {
-    $this->parent = $parent;
-    return $this;
-  }
-
-  /**
-   * Get parent
-   *
-   * @return \Civi\Core\Tag
-   */
-  public function getParent() {
-    return $this->parent;
-  }
-  
-  /**
-   * Set isSelectable
-   *
-   * @param boolean $isSelectable
-   * @return Tag
-   */
-  public function setIsSelectable($isSelectable) {
-    $this->isSelectable = $isSelectable;
-    return $this;
-  }
-
-  /**
-   * Get isSelectable
-   *
-   * @return boolean
-   */
-  public function getIsSelectable() {
-    return $this->isSelectable;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return Tag
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isTagset
-   *
-   * @param boolean $isTagset
-   * @return Tag
-   */
-  public function setIsTagset($isTagset) {
-    $this->isTagset = $isTagset;
-    return $this;
-  }
-
-  /**
-   * Get isTagset
-   *
-   * @return boolean
-   */
-  public function getIsTagset() {
-    return $this->isTagset;
-  }
-  
-  /**
-   * Set usedFor
-   *
-   * @param string $usedFor
-   * @return Tag
-   */
-  public function setUsedFor($usedFor) {
-    $this->usedFor = $usedFor;
-    return $this;
-  }
-
-  /**
-   * Get usedFor
-   *
-   * @return string
-   */
-  public function getUsedFor() {
-    return $this->usedFor;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Tag
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Tag
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-
-}
-
diff --git a/Civi/Core/Timezone.php b/Civi/Core/Timezone.php
deleted file mode 100644 (file)
index 527fd82..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Timezone.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Timezone
- *
- * @ORM\Table(name="civicrm_timezone", indexes={@ORM\Index(name="FK_civicrm_timezone_country_id", columns={"country_id"})})
- * @ORM\Entity
- */
-class Timezone extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="abbreviation", type="string", length=3, nullable=true)
-   * 
-   */
-  private $abbreviation;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="gmt", type="string", length=64, nullable=true)
-   * 
-   */
-  private $gmt;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="offset", type="int", nullable=true)
-   * 
-   */
-  private $offset;
-  
-  /**
-   * @var \Civi\Core\Country
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Country")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="country_id", referencedColumnName="id")})
-   */
-  private $country;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Timezone
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set abbreviation
-   *
-   * @param string $abbreviation
-   * @return Timezone
-   */
-  public function setAbbreviation($abbreviation) {
-    $this->abbreviation = $abbreviation;
-    return $this;
-  }
-
-  /**
-   * Get abbreviation
-   *
-   * @return string
-   */
-  public function getAbbreviation() {
-    return $this->abbreviation;
-  }
-  
-  /**
-   * Set gmt
-   *
-   * @param string $gmt
-   * @return Timezone
-   */
-  public function setGmt($gmt) {
-    $this->gmt = $gmt;
-    return $this;
-  }
-
-  /**
-   * Get gmt
-   *
-   * @return string
-   */
-  public function getGmt() {
-    return $this->gmt;
-  }
-  
-  /**
-   * Set offset
-   *
-   * @param int $offset
-   * @return Timezone
-   */
-  public function setOffset($offset) {
-    $this->offset = $offset;
-    return $this;
-  }
-
-  /**
-   * Get offset
-   *
-   * @return int
-   */
-  public function getOffset() {
-    return $this->offset;
-  }
-  
-  /**
-   * Set country
-   *
-   * @param \Civi\Core\Country $country
-   * @return Timezone
-   */
-  public function setCountry(\Civi\Core\Country $country = null) {
-    $this->country = $country;
-    return $this;
-  }
-
-  /**
-   * Get country
-   *
-   * @return \Civi\Core\Country
-   */
-  public function getCountry() {
-    return $this->country;
-  }
-
-}
-
diff --git a/Civi/Core/UFField.php b/Civi/Core/UFField.php
deleted file mode 100644 (file)
index 366c2cd..0000000
+++ /dev/null
@@ -1,544 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/UFField.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * UFField
- *
- * @ORM\Table(name="civicrm_uf_field", indexes={@ORM\Index(name="FK_civicrm_uf_field_uf_group_id", columns={"uf_group_id"}),@ORM\Index(name="FK_civicrm_uf_field_location_type_id", columns={"location_type_id"})})
- * @ORM\Entity
- */
-class UFField extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\UFGroup
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\UFGroup")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="uf_group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $ufGroup;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="field_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $fieldName;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_view", type="boolean", nullable=false)
-   * 
-   */
-  private $isView = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_required", type="boolean", nullable=false)
-   * 
-   */
-  private $isRequired = '0';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '1';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_post", type="text", nullable=true)
-   * 
-   */
-  private $helpPost;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_pre", type="text", nullable=true)
-   * 
-   */
-  private $helpPre;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="visibility", type="string", length=32, nullable=false)
-   * 
-   */
-  private $visibility = 'User and User Admin Only';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="in_selector", type="boolean", nullable=false)
-   * 
-   */
-  private $inSelector = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_searchable", type="boolean", nullable=false)
-   * 
-   */
-  private $isSearchable = '0';
-  
-  /**
-   * @var \Civi\Core\LocationType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\LocationType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="location_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $locationType;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="phone_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $phoneTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="field_type", type="string", length=255, nullable=true)
-   * 
-   */
-  private $fieldType;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_multi_summary", type="boolean", nullable=false)
-   * 
-   */
-  private $isMultiSummary = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set ufGroup
-   *
-   * @param \Civi\Core\UFGroup $ufGroup
-   * @return UFField
-   */
-  public function setUfGroup(\Civi\Core\UFGroup $ufGroup = null) {
-    $this->ufGroup = $ufGroup;
-    return $this;
-  }
-
-  /**
-   * Get ufGroup
-   *
-   * @return \Civi\Core\UFGroup
-   */
-  public function getUfGroup() {
-    return $this->ufGroup;
-  }
-  
-  /**
-   * Set fieldName
-   *
-   * @param string $fieldName
-   * @return UFField
-   */
-  public function setFieldName($fieldName) {
-    $this->fieldName = $fieldName;
-    return $this;
-  }
-
-  /**
-   * Get fieldName
-   *
-   * @return string
-   */
-  public function getFieldName() {
-    return $this->fieldName;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return UFField
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isView
-   *
-   * @param boolean $isView
-   * @return UFField
-   */
-  public function setIsView($isView) {
-    $this->isView = $isView;
-    return $this;
-  }
-
-  /**
-   * Get isView
-   *
-   * @return boolean
-   */
-  public function getIsView() {
-    return $this->isView;
-  }
-  
-  /**
-   * Set isRequired
-   *
-   * @param boolean $isRequired
-   * @return UFField
-   */
-  public function setIsRequired($isRequired) {
-    $this->isRequired = $isRequired;
-    return $this;
-  }
-
-  /**
-   * Get isRequired
-   *
-   * @return boolean
-   */
-  public function getIsRequired() {
-    return $this->isRequired;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return UFField
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set helpPost
-   *
-   * @param text $helpPost
-   * @return UFField
-   */
-  public function setHelpPost($helpPost) {
-    $this->helpPost = $helpPost;
-    return $this;
-  }
-
-  /**
-   * Get helpPost
-   *
-   * @return text
-   */
-  public function getHelpPost() {
-    return $this->helpPost;
-  }
-  
-  /**
-   * Set helpPre
-   *
-   * @param text $helpPre
-   * @return UFField
-   */
-  public function setHelpPre($helpPre) {
-    $this->helpPre = $helpPre;
-    return $this;
-  }
-
-  /**
-   * Get helpPre
-   *
-   * @return text
-   */
-  public function getHelpPre() {
-    return $this->helpPre;
-  }
-  
-  /**
-   * Set visibility
-   *
-   * @param string $visibility
-   * @return UFField
-   */
-  public function setVisibility($visibility) {
-    $this->visibility = $visibility;
-    return $this;
-  }
-
-  /**
-   * Get visibility
-   *
-   * @return string
-   */
-  public function getVisibility() {
-    return $this->visibility;
-  }
-  
-  /**
-   * Set inSelector
-   *
-   * @param boolean $inSelector
-   * @return UFField
-   */
-  public function setInSelector($inSelector) {
-    $this->inSelector = $inSelector;
-    return $this;
-  }
-
-  /**
-   * Get inSelector
-   *
-   * @return boolean
-   */
-  public function getInSelector() {
-    return $this->inSelector;
-  }
-  
-  /**
-   * Set isSearchable
-   *
-   * @param boolean $isSearchable
-   * @return UFField
-   */
-  public function setIsSearchable($isSearchable) {
-    $this->isSearchable = $isSearchable;
-    return $this;
-  }
-
-  /**
-   * Get isSearchable
-   *
-   * @return boolean
-   */
-  public function getIsSearchable() {
-    return $this->isSearchable;
-  }
-  
-  /**
-   * Set locationType
-   *
-   * @param \Civi\Core\LocationType $locationType
-   * @return UFField
-   */
-  public function setLocationType(\Civi\Core\LocationType $locationType = null) {
-    $this->locationType = $locationType;
-    return $this;
-  }
-
-  /**
-   * Get locationType
-   *
-   * @return \Civi\Core\LocationType
-   */
-  public function getLocationType() {
-    return $this->locationType;
-  }
-  
-  /**
-   * Set phoneTypeId
-   *
-   * @param integer $phoneTypeId
-   * @return UFField
-   */
-  public function setPhoneTypeId($phoneTypeId) {
-    $this->phoneTypeId = $phoneTypeId;
-    return $this;
-  }
-
-  /**
-   * Get phoneTypeId
-   *
-   * @return integer
-   */
-  public function getPhoneTypeId() {
-    return $this->phoneTypeId;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return UFField
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set fieldType
-   *
-   * @param string $fieldType
-   * @return UFField
-   */
-  public function setFieldType($fieldType) {
-    $this->fieldType = $fieldType;
-    return $this;
-  }
-
-  /**
-   * Get fieldType
-   *
-   * @return string
-   */
-  public function getFieldType() {
-    return $this->fieldType;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return UFField
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isMultiSummary
-   *
-   * @param boolean $isMultiSummary
-   * @return UFField
-   */
-  public function setIsMultiSummary($isMultiSummary) {
-    $this->isMultiSummary = $isMultiSummary;
-    return $this;
-  }
-
-  /**
-   * Get isMultiSummary
-   *
-   * @return boolean
-   */
-  public function getIsMultiSummary() {
-    return $this->isMultiSummary;
-  }
-
-}
-
diff --git a/Civi/Core/UFGroup.php b/Civi/Core/UFGroup.php
deleted file mode 100644 (file)
index 9a1dc56..0000000
+++ /dev/null
@@ -1,684 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/UFGroup.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * UFGroup
- *
- * @ORM\Table(name="civicrm_uf_group", indexes={@ORM\Index(name="FK_civicrm_uf_group_limit_listings_group_id", columns={"limit_listings_group_id"}),@ORM\Index(name="FK_civicrm_uf_group_add_to_group_id", columns={"add_to_group_id"}),@ORM\Index(name="FK_civicrm_uf_group_created_id", columns={"created_id"})})
- * @ORM\Entity
- */
-class UFGroup extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="group_type", type="string", length=255, nullable=true)
-   * 
-   */
-  private $groupType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=64, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_pre", type="text", nullable=true)
-   * 
-   */
-  private $helpPre;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_post", type="text", nullable=true)
-   * 
-   */
-  private $helpPost;
-  
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="limit_listings_group_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $limitListingsGroup;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="post_URL", type="string", length=255, nullable=true)
-   * 
-   */
-  private $postURL;
-  
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="add_to_group_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $addToGroup;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="add_captcha", type="boolean", nullable=false)
-   * 
-   */
-  private $addCaptcha = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_map", type="boolean", nullable=false)
-   * 
-   */
-  private $isMap = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_edit_link", type="boolean", nullable=false)
-   * 
-   */
-  private $isEditLink = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_uf_link", type="boolean", nullable=false)
-   * 
-   */
-  private $isUfLink = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_update_dupe", type="boolean", nullable=false)
-   * 
-   */
-  private $isUpdateDupe = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="cancel_URL", type="string", length=255, nullable=true)
-   * 
-   */
-  private $cancelURL;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_cms_user", type="boolean", nullable=false)
-   * 
-   */
-  private $isCmsUser = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="notify", type="text", nullable=true)
-   * 
-   */
-  private $notify;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_proximity_search", type="boolean", nullable=false)
-   * 
-   */
-  private $isProximitySearch = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return UFGroup
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set groupType
-   *
-   * @param string $groupType
-   * @return UFGroup
-   */
-  public function setGroupType($groupType) {
-    $this->groupType = $groupType;
-    return $this;
-  }
-
-  /**
-   * Get groupType
-   *
-   * @return string
-   */
-  public function getGroupType() {
-    return $this->groupType;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return UFGroup
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return UFGroup
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set helpPre
-   *
-   * @param text $helpPre
-   * @return UFGroup
-   */
-  public function setHelpPre($helpPre) {
-    $this->helpPre = $helpPre;
-    return $this;
-  }
-
-  /**
-   * Get helpPre
-   *
-   * @return text
-   */
-  public function getHelpPre() {
-    return $this->helpPre;
-  }
-  
-  /**
-   * Set helpPost
-   *
-   * @param text $helpPost
-   * @return UFGroup
-   */
-  public function setHelpPost($helpPost) {
-    $this->helpPost = $helpPost;
-    return $this;
-  }
-
-  /**
-   * Get helpPost
-   *
-   * @return text
-   */
-  public function getHelpPost() {
-    return $this->helpPost;
-  }
-  
-  /**
-   * Set limitListingsGroup
-   *
-   * @param \Civi\Contact\Group $limitListingsGroup
-   * @return UFGroup
-   */
-  public function setLimitListingsGroup(\Civi\Contact\Group $limitListingsGroup = null) {
-    $this->limitListingsGroup = $limitListingsGroup;
-    return $this;
-  }
-
-  /**
-   * Get limitListingsGroup
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getLimitListingsGroup() {
-    return $this->limitListingsGroup;
-  }
-  
-  /**
-   * Set postURL
-   *
-   * @param string $postURL
-   * @return UFGroup
-   */
-  public function setPostURL($postURL) {
-    $this->postURL = $postURL;
-    return $this;
-  }
-
-  /**
-   * Get postURL
-   *
-   * @return string
-   */
-  public function getPostURL() {
-    return $this->postURL;
-  }
-  
-  /**
-   * Set addToGroup
-   *
-   * @param \Civi\Contact\Group $addToGroup
-   * @return UFGroup
-   */
-  public function setAddToGroup(\Civi\Contact\Group $addToGroup = null) {
-    $this->addToGroup = $addToGroup;
-    return $this;
-  }
-
-  /**
-   * Get addToGroup
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getAddToGroup() {
-    return $this->addToGroup;
-  }
-  
-  /**
-   * Set addCaptcha
-   *
-   * @param boolean $addCaptcha
-   * @return UFGroup
-   */
-  public function setAddCaptcha($addCaptcha) {
-    $this->addCaptcha = $addCaptcha;
-    return $this;
-  }
-
-  /**
-   * Get addCaptcha
-   *
-   * @return boolean
-   */
-  public function getAddCaptcha() {
-    return $this->addCaptcha;
-  }
-  
-  /**
-   * Set isMap
-   *
-   * @param boolean $isMap
-   * @return UFGroup
-   */
-  public function setIsMap($isMap) {
-    $this->isMap = $isMap;
-    return $this;
-  }
-
-  /**
-   * Get isMap
-   *
-   * @return boolean
-   */
-  public function getIsMap() {
-    return $this->isMap;
-  }
-  
-  /**
-   * Set isEditLink
-   *
-   * @param boolean $isEditLink
-   * @return UFGroup
-   */
-  public function setIsEditLink($isEditLink) {
-    $this->isEditLink = $isEditLink;
-    return $this;
-  }
-
-  /**
-   * Get isEditLink
-   *
-   * @return boolean
-   */
-  public function getIsEditLink() {
-    return $this->isEditLink;
-  }
-  
-  /**
-   * Set isUfLink
-   *
-   * @param boolean $isUfLink
-   * @return UFGroup
-   */
-  public function setIsUfLink($isUfLink) {
-    $this->isUfLink = $isUfLink;
-    return $this;
-  }
-
-  /**
-   * Get isUfLink
-   *
-   * @return boolean
-   */
-  public function getIsUfLink() {
-    return $this->isUfLink;
-  }
-  
-  /**
-   * Set isUpdateDupe
-   *
-   * @param boolean $isUpdateDupe
-   * @return UFGroup
-   */
-  public function setIsUpdateDupe($isUpdateDupe) {
-    $this->isUpdateDupe = $isUpdateDupe;
-    return $this;
-  }
-
-  /**
-   * Get isUpdateDupe
-   *
-   * @return boolean
-   */
-  public function getIsUpdateDupe() {
-    return $this->isUpdateDupe;
-  }
-  
-  /**
-   * Set cancelURL
-   *
-   * @param string $cancelURL
-   * @return UFGroup
-   */
-  public function setCancelURL($cancelURL) {
-    $this->cancelURL = $cancelURL;
-    return $this;
-  }
-
-  /**
-   * Get cancelURL
-   *
-   * @return string
-   */
-  public function getCancelURL() {
-    return $this->cancelURL;
-  }
-  
-  /**
-   * Set isCmsUser
-   *
-   * @param boolean $isCmsUser
-   * @return UFGroup
-   */
-  public function setIsCmsUser($isCmsUser) {
-    $this->isCmsUser = $isCmsUser;
-    return $this;
-  }
-
-  /**
-   * Get isCmsUser
-   *
-   * @return boolean
-   */
-  public function getIsCmsUser() {
-    return $this->isCmsUser;
-  }
-  
-  /**
-   * Set notify
-   *
-   * @param text $notify
-   * @return UFGroup
-   */
-  public function setNotify($notify) {
-    $this->notify = $notify;
-    return $this;
-  }
-
-  /**
-   * Get notify
-   *
-   * @return text
-   */
-  public function getNotify() {
-    return $this->notify;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return UFGroup
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return UFGroup
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return UFGroup
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return UFGroup
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set isProximitySearch
-   *
-   * @param boolean $isProximitySearch
-   * @return UFGroup
-   */
-  public function setIsProximitySearch($isProximitySearch) {
-    $this->isProximitySearch = $isProximitySearch;
-    return $this;
-  }
-
-  /**
-   * Get isProximitySearch
-   *
-   * @return boolean
-   */
-  public function getIsProximitySearch() {
-    return $this->isProximitySearch;
-  }
-
-}
-
diff --git a/Civi/Core/UFJoin.php b/Civi/Core/UFJoin.php
deleted file mode 100644 (file)
index 4415865..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/UFJoin.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * UFJoin
- *
- * @ORM\Table(name="civicrm_uf_join", indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="FK_civicrm_uf_join_uf_group_id", columns={"uf_group_id"})})
- * @ORM\Entity
- */
-class UFJoin extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="module", type="string", length=64, nullable=true)
-   * 
-   */
-  private $module;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '1';
-  
-  /**
-   * @var \Civi\Core\UFGroup
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\UFGroup")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="uf_group_id", referencedColumnName="id")})
-   */
-  private $ufGroup;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="module_data", type="string", length=255, nullable=true)
-   * 
-   */
-  private $moduleData;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return UFJoin
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set module
-   *
-   * @param string $module
-   * @return UFJoin
-   */
-  public function setModule($module) {
-    $this->module = $module;
-    return $this;
-  }
-
-  /**
-   * Get module
-   *
-   * @return string
-   */
-  public function getModule() {
-    return $this->module;
-  }
-  
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return UFJoin
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return UFJoin
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return UFJoin
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set ufGroup
-   *
-   * @param \Civi\Core\UFGroup $ufGroup
-   * @return UFJoin
-   */
-  public function setUfGroup(\Civi\Core\UFGroup $ufGroup = null) {
-    $this->ufGroup = $ufGroup;
-    return $this;
-  }
-
-  /**
-   * Get ufGroup
-   *
-   * @return \Civi\Core\UFGroup
-   */
-  public function getUfGroup() {
-    return $this->ufGroup;
-  }
-  
-  /**
-   * Set moduleData
-   *
-   * @param string $moduleData
-   * @return UFJoin
-   */
-  public function setModuleData($moduleData) {
-    $this->moduleData = $moduleData;
-    return $this;
-  }
-
-  /**
-   * Get moduleData
-   *
-   * @return string
-   */
-  public function getModuleData() {
-    return $this->moduleData;
-  }
-
-}
-
diff --git a/Civi/Core/UFMatch.php b/Civi/Core/UFMatch.php
deleted file mode 100644 (file)
index 505a77c..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/UFMatch.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * UFMatch
- *
- * @ORM\Table(name="civicrm_uf_match", uniqueConstraints={@ORM\UniqueConstraint(name="UI_uf_name_domain_id", columns={"uf_name,domain_id"}),@ORM\UniqueConstraint(name="UI_contact_domain_id", columns={"contact_id,domain_id"})}, indexes={@ORM\Index(name="I_civicrm_uf_match_uf_id", columns={"uf_id"}),@ORM\Index(name="FK_civicrm_uf_match_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_uf_match_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class UFMatch extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="uf_id", type="integer", nullable=true)
-   * 
-   */
-  private $ufId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="uf_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $ufName;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="language", type="string", length=5, nullable=true)
-   * 
-   */
-  private $language;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return UFMatch
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set ufId
-   *
-   * @param integer $ufId
-   * @return UFMatch
-   */
-  public function setUfId($ufId) {
-    $this->ufId = $ufId;
-    return $this;
-  }
-
-  /**
-   * Get ufId
-   *
-   * @return integer
-   */
-  public function getUfId() {
-    return $this->ufId;
-  }
-  
-  /**
-   * Set ufName
-   *
-   * @param string $ufName
-   * @return UFMatch
-   */
-  public function setUfName($ufName) {
-    $this->ufName = $ufName;
-    return $this;
-  }
-
-  /**
-   * Get ufName
-   *
-   * @return string
-   */
-  public function getUfName() {
-    return $this->ufName;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return UFMatch
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set language
-   *
-   * @param string $language
-   * @return UFMatch
-   */
-  public function setLanguage($language) {
-    $this->language = $language;
-    return $this;
-  }
-
-  /**
-   * Get language
-   *
-   * @return string
-   */
-  public function getLanguage() {
-    return $this->language;
-  }
-
-}
-
diff --git a/Civi/Core/Website.php b/Civi/Core/Website.php
deleted file mode 100644 (file)
index 54b6eb2..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Website.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Website
- *
- * @ORM\Table(name="civicrm_website", indexes={@ORM\Index(name="UI_website_type_id", columns={"website_type_id"}),@ORM\Index(name="FK_civicrm_website_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class Website extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url", type="string", length=128, nullable=true)
-   * 
-   */
-  private $url;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="website_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $websiteTypeId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Website
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set url
-   *
-   * @param string $url
-   * @return Website
-   */
-  public function setUrl($url) {
-    $this->url = $url;
-    return $this;
-  }
-
-  /**
-   * Get url
-   *
-   * @return string
-   */
-  public function getUrl() {
-    return $this->url;
-  }
-  
-  /**
-   * Set websiteTypeId
-   *
-   * @param integer $websiteTypeId
-   * @return Website
-   */
-  public function setWebsiteTypeId($websiteTypeId) {
-    $this->websiteTypeId = $websiteTypeId;
-    return $this;
-  }
-
-  /**
-   * Get websiteTypeId
-   *
-   * @return integer
-   */
-  public function getWebsiteTypeId() {
-    return $this->websiteTypeId;
-  }
-
-}
-
diff --git a/Civi/Core/WordReplacement.php b/Civi/Core/WordReplacement.php
deleted file mode 100644 (file)
index 3ae4f75..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/WordReplacement.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * WordReplacement
- *
- * @ORM\Table(name="civicrm_word_replacement", uniqueConstraints={@ORM\UniqueConstraint(name="UI_domain_find", columns={"domain_id,find_word"})}, indexes={@ORM\Index(name="FK_civicrm_word_replacement_domain_id", columns={"domain_id"})})
- * @ORM\Entity
- */
-class WordReplacement extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="find_word", type="string", length=255, nullable=true)
-   * 
-   */
-  private $findWord;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="replace_word", type="string", length=255, nullable=true)
-   * 
-   */
-  private $replaceWord;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="match_type", type="string", length=16, nullable=false)
-   * 
-   */
-  private $matchType = '"wildcardMatch"';
-  
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set findWord
-   *
-   * @param string $findWord
-   * @return WordReplacement
-   */
-  public function setFindWord($findWord) {
-    $this->findWord = $findWord;
-    return $this;
-  }
-
-  /**
-   * Get findWord
-   *
-   * @return string
-   */
-  public function getFindWord() {
-    return $this->findWord;
-  }
-  
-  /**
-   * Set replaceWord
-   *
-   * @param string $replaceWord
-   * @return WordReplacement
-   */
-  public function setReplaceWord($replaceWord) {
-    $this->replaceWord = $replaceWord;
-    return $this;
-  }
-
-  /**
-   * Get replaceWord
-   *
-   * @return string
-   */
-  public function getReplaceWord() {
-    return $this->replaceWord;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return WordReplacement
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set matchType
-   *
-   * @param string $matchType
-   * @return WordReplacement
-   */
-  public function setMatchType($matchType) {
-    $this->matchType = $matchType;
-    return $this;
-  }
-
-  /**
-   * Get matchType
-   *
-   * @return string
-   */
-  public function getMatchType() {
-    return $this->matchType;
-  }
-  
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return WordReplacement
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-
-}
-
diff --git a/Civi/Core/Worldregion.php b/Civi/Core/Worldregion.php
deleted file mode 100644 (file)
index 8d817b3..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Core/Worldregion.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Worldregion
- *
- * @ORM\Table(name="civicrm_worldregion")
- * @ORM\Entity
- */
-class Worldregion extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $name;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Worldregion
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-
-}
-
diff --git a/Civi/Dedupe/Exception.php b/Civi/Dedupe/Exception.php
deleted file mode 100644 (file)
index 5062e83..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Dedupe/Exception.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Exception
- *
- * @ORM\Table(name="civicrm_dedupe_exception", uniqueConstraints={@ORM\UniqueConstraint(name="UI_contact_id1_contact_id2", columns={"contact_id1,contact_id2"})}, indexes={@ORM\Index(name="FK_civicrm_dedupe_exception_contact_id1", columns={"contact_id1"}),@ORM\Index(name="FK_civicrm_dedupe_exception_contact_id2", columns={"contact_id2"})})
- * @ORM\Entity
- */
-class Exception extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id1", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact1;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id2", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact2;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact1
-   *
-   * @param \Civi\Contact\Contact $contact1
-   * @return Exception
-   */
-  public function setContact1(\Civi\Contact\Contact $contact1 = null) {
-    $this->contact1 = $contact1;
-    return $this;
-  }
-
-  /**
-   * Get contact1
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact1() {
-    return $this->contact1;
-  }
-  
-  /**
-   * Set contact2
-   *
-   * @param \Civi\Contact\Contact $contact2
-   * @return Exception
-   */
-  public function setContact2(\Civi\Contact\Contact $contact2 = null) {
-    $this->contact2 = $contact2;
-    return $this;
-  }
-
-  /**
-   * Get contact2
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact2() {
-    return $this->contact2;
-  }
-
-}
-
diff --git a/Civi/Dedupe/Rule.php b/Civi/Dedupe/Rule.php
deleted file mode 100644 (file)
index 66d0c14..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Dedupe/Rule.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Rule
- *
- * @ORM\Table(name="civicrm_dedupe_rule", indexes={@ORM\Index(name="FK_civicrm_dedupe_rule_dedupe_rule_group_id", columns={"dedupe_rule_group_id"})})
- * @ORM\Entity
- */
-class Rule extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Dedupe\RuleGroup
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Dedupe\RuleGroup")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="dedupe_rule_group_id", referencedColumnName="id")})
-   */
-  private $dedupeRuleGroup;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="rule_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $ruleTable;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="rule_field", type="string", length=64, nullable=true)
-   * 
-   */
-  private $ruleField;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="rule_length", type="integer", nullable=true)
-   * 
-   */
-  private $ruleLength;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="rule_weight", type="int", nullable=true)
-   * 
-   */
-  private $ruleWeight;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set dedupeRuleGroup
-   *
-   * @param \Civi\Dedupe\RuleGroup $dedupeRuleGroup
-   * @return Rule
-   */
-  public function setDedupeRuleGroup(\Civi\Dedupe\RuleGroup $dedupeRuleGroup = null) {
-    $this->dedupeRuleGroup = $dedupeRuleGroup;
-    return $this;
-  }
-
-  /**
-   * Get dedupeRuleGroup
-   *
-   * @return \Civi\Dedupe\RuleGroup
-   */
-  public function getDedupeRuleGroup() {
-    return $this->dedupeRuleGroup;
-  }
-  
-  /**
-   * Set ruleTable
-   *
-   * @param string $ruleTable
-   * @return Rule
-   */
-  public function setRuleTable($ruleTable) {
-    $this->ruleTable = $ruleTable;
-    return $this;
-  }
-
-  /**
-   * Get ruleTable
-   *
-   * @return string
-   */
-  public function getRuleTable() {
-    return $this->ruleTable;
-  }
-  
-  /**
-   * Set ruleField
-   *
-   * @param string $ruleField
-   * @return Rule
-   */
-  public function setRuleField($ruleField) {
-    $this->ruleField = $ruleField;
-    return $this;
-  }
-
-  /**
-   * Get ruleField
-   *
-   * @return string
-   */
-  public function getRuleField() {
-    return $this->ruleField;
-  }
-  
-  /**
-   * Set ruleLength
-   *
-   * @param integer $ruleLength
-   * @return Rule
-   */
-  public function setRuleLength($ruleLength) {
-    $this->ruleLength = $ruleLength;
-    return $this;
-  }
-
-  /**
-   * Get ruleLength
-   *
-   * @return integer
-   */
-  public function getRuleLength() {
-    return $this->ruleLength;
-  }
-  
-  /**
-   * Set ruleWeight
-   *
-   * @param int $ruleWeight
-   * @return Rule
-   */
-  public function setRuleWeight($ruleWeight) {
-    $this->ruleWeight = $ruleWeight;
-    return $this;
-  }
-
-  /**
-   * Get ruleWeight
-   *
-   * @return int
-   */
-  public function getRuleWeight() {
-    return $this->ruleWeight;
-  }
-
-}
-
diff --git a/Civi/Dedupe/RuleGroup.php b/Civi/Dedupe/RuleGroup.php
deleted file mode 100644 (file)
index c0ae1c1..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Dedupe/RuleGroup.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * RuleGroup
- *
- * @ORM\Table(name="civicrm_dedupe_rule_group")
- * @ORM\Entity
- */
-class RuleGroup extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="contact_type", type="string", length=12, nullable=true)
-   * 
-   */
-  private $contactType;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="threshold", type="int", nullable=true)
-   * 
-   */
-  private $threshold;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="used", type="string", length=12, nullable=true)
-   * 
-   */
-  private $used;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contactType
-   *
-   * @param string $contactType
-   * @return RuleGroup
-   */
-  public function setContactType($contactType) {
-    $this->contactType = $contactType;
-    return $this;
-  }
-
-  /**
-   * Get contactType
-   *
-   * @return string
-   */
-  public function getContactType() {
-    return $this->contactType;
-  }
-  
-  /**
-   * Set threshold
-   *
-   * @param int $threshold
-   * @return RuleGroup
-   */
-  public function setThreshold($threshold) {
-    $this->threshold = $threshold;
-    return $this;
-  }
-
-  /**
-   * Get threshold
-   *
-   * @return int
-   */
-  public function getThreshold() {
-    return $this->threshold;
-  }
-  
-  /**
-   * Set used
-   *
-   * @param string $used
-   * @return RuleGroup
-   */
-  public function setUsed($used) {
-    $this->used = $used;
-    return $this;
-  }
-
-  /**
-   * Get used
-   *
-   * @return string
-   */
-  public function getUsed() {
-    return $this->used;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return RuleGroup
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return RuleGroup
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return RuleGroup
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-
-}
-
diff --git a/Civi/Event/Cart/Cart.php b/Civi/Event/Cart/Cart.php
deleted file mode 100644 (file)
index 5359e30..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Event/Cart/Cart.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Cart
- *
- * @ORM\Table(name="civicrm_event_carts", indexes={@ORM\Index(name="FK_civicrm_event_carts_user_id", columns={"user_id"})})
- * @ORM\Entity
- */
-class Cart extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="user_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $user;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="completed", type="boolean", nullable=false)
-   * 
-   */
-  private $completed = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set user
-   *
-   * @param \Civi\Contact\Contact $user
-   * @return Cart
-   */
-  public function setUser(\Civi\Contact\Contact $user = null) {
-    $this->user = $user;
-    return $this;
-  }
-
-  /**
-   * Get user
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getUser() {
-    return $this->user;
-  }
-  
-  /**
-   * Set completed
-   *
-   * @param boolean $completed
-   * @return Cart
-   */
-  public function setCompleted($completed) {
-    $this->completed = $completed;
-    return $this;
-  }
-
-  /**
-   * Get completed
-   *
-   * @return boolean
-   */
-  public function getCompleted() {
-    return $this->completed;
-  }
-
-}
-
diff --git a/Civi/Event/Cart/EventInCart.php b/Civi/Event/Cart/EventInCart.php
deleted file mode 100644 (file)
index 67b9a9d..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EventInCart
- *
- * @ORM\Table(name="civicrm_events_in_carts", indexes={@ORM\Index(name="FK_civicrm_events_in_carts_event_id", columns={"event_id"}),@ORM\Index(name="FK_civicrm_events_in_carts_event_cart_id", columns={"event_cart_id"})})
- * @ORM\Entity
- */
-class EventInCart extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Event\Event
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Event\Event")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $event;
-  
-  /**
-   * @var \Civi\Event\Cart\Cart
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Event\Cart\Cart")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_cart_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventCart;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set event
-   *
-   * @param \Civi\Event\Event $event
-   * @return EventInCart
-   */
-  public function setEvent(\Civi\Event\Event $event = null) {
-    $this->event = $event;
-    return $this;
-  }
-
-  /**
-   * Get event
-   *
-   * @return \Civi\Event\Event
-   */
-  public function getEvent() {
-    return $this->event;
-  }
-  
-  /**
-   * Set eventCart
-   *
-   * @param \Civi\Event\Cart\Cart $eventCart
-   * @return EventInCart
-   */
-  public function setEventCart(\Civi\Event\Cart\Cart $eventCart = null) {
-    $this->eventCart = $eventCart;
-    return $this;
-  }
-
-  /**
-   * Get eventCart
-   *
-   * @return \Civi\Event\Cart\Cart
-   */
-  public function getEventCart() {
-    return $this->eventCart;
-  }
-
-}
-
diff --git a/Civi/Event/Event.php b/Civi/Event/Event.php
deleted file mode 100644 (file)
index 9b1ae8e..0000000
+++ /dev/null
@@ -1,1804 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Event/Event.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Event
- *
- * @ORM\Table(name="civicrm_event", indexes={@ORM\Index(name="index_event_type_id", columns={"event_type_id"}),@ORM\Index(name="index_participant_listing_id", columns={"participant_listing_id"}),@ORM\Index(name="index_parent_event_id", columns={"parent_event_id"}),@ORM\Index(name="FK_civicrm_event_loc_block_id", columns={"loc_block_id"}),@ORM\Index(name="FK_civicrm_event_created_id", columns={"created_id"}),@ORM\Index(name="FK_civicrm_event_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class Event extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="summary", type="text", nullable=true)
-   * 
-   */
-  private $summary;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="event_type_id", type="integer", nullable=false)
-   * 
-   */
-  private $eventTypeId = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="participant_listing_id", type="integer", nullable=false)
-   * 
-   */
-  private $participantListingId = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_public", type="boolean", nullable=false)
-   * 
-   */
-  private $isPublic = '1';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="start_date", type="datetime", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="end_date", type="datetime", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_online_registration", type="boolean", nullable=false)
-   * 
-   */
-  private $isOnlineRegistration = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="registration_link_text", type="string", length=255, nullable=true)
-   * 
-   */
-  private $registrationLinkText;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="registration_start_date", type="datetime", nullable=true)
-   * 
-   */
-  private $registrationStartDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="registration_end_date", type="datetime", nullable=true)
-   * 
-   */
-  private $registrationEndDate;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="max_participants", type="integer", nullable=false)
-   * 
-   */
-  private $maxParticipants = 'NULL';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="event_full_text", type="text", nullable=true)
-   * 
-   */
-  private $eventFullText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_monetary", type="boolean", nullable=false)
-   * 
-   */
-  private $isMonetary = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="financial_type_id", type="integer", nullable=false)
-   * 
-   */
-  private $financialTypeId = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="payment_processor", type="string", length=128, nullable=true)
-   * 
-   */
-  private $paymentProcessor;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_map", type="boolean", nullable=false)
-   * 
-   */
-  private $isMap = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="fee_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $feeLabel;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_show_location", type="boolean", nullable=false)
-   * 
-   */
-  private $isShowLocation = '1';
-  
-  /**
-   * @var \Civi\Core\LocBlock
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\LocBlock")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="loc_block_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $locBlock;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="default_role_id", type="integer", nullable=false)
-   * 
-   */
-  private $defaultRoleId = '1';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="intro_text", type="text", nullable=true)
-   * 
-   */
-  private $introText;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="footer_text", type="text", nullable=true)
-   * 
-   */
-  private $footerText;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="confirm_title", type="string", length=255, nullable=false)
-   * 
-   */
-  private $confirmTitle = 'NULL';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="confirm_text", type="text", nullable=true)
-   * 
-   */
-  private $confirmText;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="confirm_footer_text", type="text", nullable=true)
-   * 
-   */
-  private $confirmFooterText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_email_confirm", type="boolean", nullable=false)
-   * 
-   */
-  private $isEmailConfirm = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="confirm_email_text", type="text", nullable=true)
-   * 
-   */
-  private $confirmEmailText;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="confirm_from_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $confirmFromName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="confirm_from_email", type="string", length=255, nullable=true)
-   * 
-   */
-  private $confirmFromEmail;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="cc_confirm", type="string", length=255, nullable=true)
-   * 
-   */
-  private $ccConfirm;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="bcc_confirm", type="string", length=255, nullable=true)
-   * 
-   */
-  private $bccConfirm;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="default_fee_id", type="integer", nullable=true)
-   * 
-   */
-  private $defaultFeeId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="default_discount_fee_id", type="integer", nullable=true)
-   * 
-   */
-  private $defaultDiscountFeeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="thankyou_title", type="string", length=255, nullable=false)
-   * 
-   */
-  private $thankyouTitle = 'NULL';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="thankyou_text", type="text", nullable=true)
-   * 
-   */
-  private $thankyouText;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="thankyou_footer_text", type="text", nullable=true)
-   * 
-   */
-  private $thankyouFooterText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_pay_later", type="boolean", nullable=false)
-   * 
-   */
-  private $isPayLater = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="pay_later_text", type="text", nullable=true)
-   * 
-   */
-  private $payLaterText;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="pay_later_receipt", type="text", nullable=true)
-   * 
-   */
-  private $payLaterReceipt;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_partial_payment", type="boolean", nullable=false)
-   * 
-   */
-  private $isPartialPayment = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="initial_amount_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $initialAmountLabel;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="initial_amount_help_text", type="text", nullable=true)
-   * 
-   */
-  private $initialAmountHelpText;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="min_initial_amount", type="float", nullable=true)
-   * 
-   */
-  private $minInitialAmount;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_multiple_registrations", type="boolean", nullable=false)
-   * 
-   */
-  private $isMultipleRegistrations = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="allow_same_participant_emails", type="boolean", nullable=false)
-   * 
-   */
-  private $allowSameParticipantEmails = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="has_waitlist", type="boolean", nullable=true)
-   * 
-   */
-  private $hasWaitlist;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="requires_approval", type="boolean", nullable=true)
-   * 
-   */
-  private $requiresApproval;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="expiration_time", type="integer", nullable=true)
-   * 
-   */
-  private $expirationTime;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="waitlist_text", type="text", nullable=true)
-   * 
-   */
-  private $waitlistText;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="approval_req_text", type="text", nullable=true)
-   * 
-   */
-  private $approvalReqText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_template", type="boolean", nullable=false)
-   * 
-   */
-  private $isTemplate = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="template_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $templateTitle;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=true)
-   * 
-   */
-  private $currency;
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_share", type="boolean", nullable=false)
-   * 
-   */
-  private $isShare = '1';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="parent_event_id", type="integer", nullable=false)
-   * 
-   */
-  private $parentEventId = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="slot_label_id", type="integer", nullable=false)
-   * 
-   */
-  private $slotLabelId = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Event
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set summary
-   *
-   * @param text $summary
-   * @return Event
-   */
-  public function setSummary($summary) {
-    $this->summary = $summary;
-    return $this;
-  }
-
-  /**
-   * Get summary
-   *
-   * @return text
-   */
-  public function getSummary() {
-    return $this->summary;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return Event
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set eventTypeId
-   *
-   * @param integer $eventTypeId
-   * @return Event
-   */
-  public function setEventTypeId($eventTypeId) {
-    $this->eventTypeId = $eventTypeId;
-    return $this;
-  }
-
-  /**
-   * Get eventTypeId
-   *
-   * @return integer
-   */
-  public function getEventTypeId() {
-    return $this->eventTypeId;
-  }
-  
-  /**
-   * Set participantListingId
-   *
-   * @param integer $participantListingId
-   * @return Event
-   */
-  public function setParticipantListingId($participantListingId) {
-    $this->participantListingId = $participantListingId;
-    return $this;
-  }
-
-  /**
-   * Get participantListingId
-   *
-   * @return integer
-   */
-  public function getParticipantListingId() {
-    return $this->participantListingId;
-  }
-  
-  /**
-   * Set isPublic
-   *
-   * @param boolean $isPublic
-   * @return Event
-   */
-  public function setIsPublic($isPublic) {
-    $this->isPublic = $isPublic;
-    return $this;
-  }
-
-  /**
-   * Get isPublic
-   *
-   * @return boolean
-   */
-  public function getIsPublic() {
-    return $this->isPublic;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param datetime $startDate
-   * @return Event
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return datetime
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param datetime $endDate
-   * @return Event
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return datetime
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set isOnlineRegistration
-   *
-   * @param boolean $isOnlineRegistration
-   * @return Event
-   */
-  public function setIsOnlineRegistration($isOnlineRegistration) {
-    $this->isOnlineRegistration = $isOnlineRegistration;
-    return $this;
-  }
-
-  /**
-   * Get isOnlineRegistration
-   *
-   * @return boolean
-   */
-  public function getIsOnlineRegistration() {
-    return $this->isOnlineRegistration;
-  }
-  
-  /**
-   * Set registrationLinkText
-   *
-   * @param string $registrationLinkText
-   * @return Event
-   */
-  public function setRegistrationLinkText($registrationLinkText) {
-    $this->registrationLinkText = $registrationLinkText;
-    return $this;
-  }
-
-  /**
-   * Get registrationLinkText
-   *
-   * @return string
-   */
-  public function getRegistrationLinkText() {
-    return $this->registrationLinkText;
-  }
-  
-  /**
-   * Set registrationStartDate
-   *
-   * @param datetime $registrationStartDate
-   * @return Event
-   */
-  public function setRegistrationStartDate($registrationStartDate) {
-    $this->registrationStartDate = $registrationStartDate;
-    return $this;
-  }
-
-  /**
-   * Get registrationStartDate
-   *
-   * @return datetime
-   */
-  public function getRegistrationStartDate() {
-    return $this->registrationStartDate;
-  }
-  
-  /**
-   * Set registrationEndDate
-   *
-   * @param datetime $registrationEndDate
-   * @return Event
-   */
-  public function setRegistrationEndDate($registrationEndDate) {
-    $this->registrationEndDate = $registrationEndDate;
-    return $this;
-  }
-
-  /**
-   * Get registrationEndDate
-   *
-   * @return datetime
-   */
-  public function getRegistrationEndDate() {
-    return $this->registrationEndDate;
-  }
-  
-  /**
-   * Set maxParticipants
-   *
-   * @param integer $maxParticipants
-   * @return Event
-   */
-  public function setMaxParticipants($maxParticipants) {
-    $this->maxParticipants = $maxParticipants;
-    return $this;
-  }
-
-  /**
-   * Get maxParticipants
-   *
-   * @return integer
-   */
-  public function getMaxParticipants() {
-    return $this->maxParticipants;
-  }
-  
-  /**
-   * Set eventFullText
-   *
-   * @param text $eventFullText
-   * @return Event
-   */
-  public function setEventFullText($eventFullText) {
-    $this->eventFullText = $eventFullText;
-    return $this;
-  }
-
-  /**
-   * Get eventFullText
-   *
-   * @return text
-   */
-  public function getEventFullText() {
-    return $this->eventFullText;
-  }
-  
-  /**
-   * Set isMonetary
-   *
-   * @param boolean $isMonetary
-   * @return Event
-   */
-  public function setIsMonetary($isMonetary) {
-    $this->isMonetary = $isMonetary;
-    return $this;
-  }
-
-  /**
-   * Get isMonetary
-   *
-   * @return boolean
-   */
-  public function getIsMonetary() {
-    return $this->isMonetary;
-  }
-  
-  /**
-   * Set financialTypeId
-   *
-   * @param integer $financialTypeId
-   * @return Event
-   */
-  public function setFinancialTypeId($financialTypeId) {
-    $this->financialTypeId = $financialTypeId;
-    return $this;
-  }
-
-  /**
-   * Get financialTypeId
-   *
-   * @return integer
-   */
-  public function getFinancialTypeId() {
-    return $this->financialTypeId;
-  }
-  
-  /**
-   * Set paymentProcessor
-   *
-   * @param string $paymentProcessor
-   * @return Event
-   */
-  public function setPaymentProcessor($paymentProcessor) {
-    $this->paymentProcessor = $paymentProcessor;
-    return $this;
-  }
-
-  /**
-   * Get paymentProcessor
-   *
-   * @return string
-   */
-  public function getPaymentProcessor() {
-    return $this->paymentProcessor;
-  }
-  
-  /**
-   * Set isMap
-   *
-   * @param boolean $isMap
-   * @return Event
-   */
-  public function setIsMap($isMap) {
-    $this->isMap = $isMap;
-    return $this;
-  }
-
-  /**
-   * Get isMap
-   *
-   * @return boolean
-   */
-  public function getIsMap() {
-    return $this->isMap;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Event
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set feeLabel
-   *
-   * @param string $feeLabel
-   * @return Event
-   */
-  public function setFeeLabel($feeLabel) {
-    $this->feeLabel = $feeLabel;
-    return $this;
-  }
-
-  /**
-   * Get feeLabel
-   *
-   * @return string
-   */
-  public function getFeeLabel() {
-    return $this->feeLabel;
-  }
-  
-  /**
-   * Set isShowLocation
-   *
-   * @param boolean $isShowLocation
-   * @return Event
-   */
-  public function setIsShowLocation($isShowLocation) {
-    $this->isShowLocation = $isShowLocation;
-    return $this;
-  }
-
-  /**
-   * Get isShowLocation
-   *
-   * @return boolean
-   */
-  public function getIsShowLocation() {
-    return $this->isShowLocation;
-  }
-  
-  /**
-   * Set locBlock
-   *
-   * @param \Civi\Core\LocBlock $locBlock
-   * @return Event
-   */
-  public function setLocBlock(\Civi\Core\LocBlock $locBlock = null) {
-    $this->locBlock = $locBlock;
-    return $this;
-  }
-
-  /**
-   * Get locBlock
-   *
-   * @return \Civi\Core\LocBlock
-   */
-  public function getLocBlock() {
-    return $this->locBlock;
-  }
-  
-  /**
-   * Set defaultRoleId
-   *
-   * @param integer $defaultRoleId
-   * @return Event
-   */
-  public function setDefaultRoleId($defaultRoleId) {
-    $this->defaultRoleId = $defaultRoleId;
-    return $this;
-  }
-
-  /**
-   * Get defaultRoleId
-   *
-   * @return integer
-   */
-  public function getDefaultRoleId() {
-    return $this->defaultRoleId;
-  }
-  
-  /**
-   * Set introText
-   *
-   * @param text $introText
-   * @return Event
-   */
-  public function setIntroText($introText) {
-    $this->introText = $introText;
-    return $this;
-  }
-
-  /**
-   * Get introText
-   *
-   * @return text
-   */
-  public function getIntroText() {
-    return $this->introText;
-  }
-  
-  /**
-   * Set footerText
-   *
-   * @param text $footerText
-   * @return Event
-   */
-  public function setFooterText($footerText) {
-    $this->footerText = $footerText;
-    return $this;
-  }
-
-  /**
-   * Get footerText
-   *
-   * @return text
-   */
-  public function getFooterText() {
-    return $this->footerText;
-  }
-  
-  /**
-   * Set confirmTitle
-   *
-   * @param string $confirmTitle
-   * @return Event
-   */
-  public function setConfirmTitle($confirmTitle) {
-    $this->confirmTitle = $confirmTitle;
-    return $this;
-  }
-
-  /**
-   * Get confirmTitle
-   *
-   * @return string
-   */
-  public function getConfirmTitle() {
-    return $this->confirmTitle;
-  }
-  
-  /**
-   * Set confirmText
-   *
-   * @param text $confirmText
-   * @return Event
-   */
-  public function setConfirmText($confirmText) {
-    $this->confirmText = $confirmText;
-    return $this;
-  }
-
-  /**
-   * Get confirmText
-   *
-   * @return text
-   */
-  public function getConfirmText() {
-    return $this->confirmText;
-  }
-  
-  /**
-   * Set confirmFooterText
-   *
-   * @param text $confirmFooterText
-   * @return Event
-   */
-  public function setConfirmFooterText($confirmFooterText) {
-    $this->confirmFooterText = $confirmFooterText;
-    return $this;
-  }
-
-  /**
-   * Get confirmFooterText
-   *
-   * @return text
-   */
-  public function getConfirmFooterText() {
-    return $this->confirmFooterText;
-  }
-  
-  /**
-   * Set isEmailConfirm
-   *
-   * @param boolean $isEmailConfirm
-   * @return Event
-   */
-  public function setIsEmailConfirm($isEmailConfirm) {
-    $this->isEmailConfirm = $isEmailConfirm;
-    return $this;
-  }
-
-  /**
-   * Get isEmailConfirm
-   *
-   * @return boolean
-   */
-  public function getIsEmailConfirm() {
-    return $this->isEmailConfirm;
-  }
-  
-  /**
-   * Set confirmEmailText
-   *
-   * @param text $confirmEmailText
-   * @return Event
-   */
-  public function setConfirmEmailText($confirmEmailText) {
-    $this->confirmEmailText = $confirmEmailText;
-    return $this;
-  }
-
-  /**
-   * Get confirmEmailText
-   *
-   * @return text
-   */
-  public function getConfirmEmailText() {
-    return $this->confirmEmailText;
-  }
-  
-  /**
-   * Set confirmFromName
-   *
-   * @param string $confirmFromName
-   * @return Event
-   */
-  public function setConfirmFromName($confirmFromName) {
-    $this->confirmFromName = $confirmFromName;
-    return $this;
-  }
-
-  /**
-   * Get confirmFromName
-   *
-   * @return string
-   */
-  public function getConfirmFromName() {
-    return $this->confirmFromName;
-  }
-  
-  /**
-   * Set confirmFromEmail
-   *
-   * @param string $confirmFromEmail
-   * @return Event
-   */
-  public function setConfirmFromEmail($confirmFromEmail) {
-    $this->confirmFromEmail = $confirmFromEmail;
-    return $this;
-  }
-
-  /**
-   * Get confirmFromEmail
-   *
-   * @return string
-   */
-  public function getConfirmFromEmail() {
-    return $this->confirmFromEmail;
-  }
-  
-  /**
-   * Set ccConfirm
-   *
-   * @param string $ccConfirm
-   * @return Event
-   */
-  public function setCcConfirm($ccConfirm) {
-    $this->ccConfirm = $ccConfirm;
-    return $this;
-  }
-
-  /**
-   * Get ccConfirm
-   *
-   * @return string
-   */
-  public function getCcConfirm() {
-    return $this->ccConfirm;
-  }
-  
-  /**
-   * Set bccConfirm
-   *
-   * @param string $bccConfirm
-   * @return Event
-   */
-  public function setBccConfirm($bccConfirm) {
-    $this->bccConfirm = $bccConfirm;
-    return $this;
-  }
-
-  /**
-   * Get bccConfirm
-   *
-   * @return string
-   */
-  public function getBccConfirm() {
-    return $this->bccConfirm;
-  }
-  
-  /**
-   * Set defaultFeeId
-   *
-   * @param integer $defaultFeeId
-   * @return Event
-   */
-  public function setDefaultFeeId($defaultFeeId) {
-    $this->defaultFeeId = $defaultFeeId;
-    return $this;
-  }
-
-  /**
-   * Get defaultFeeId
-   *
-   * @return integer
-   */
-  public function getDefaultFeeId() {
-    return $this->defaultFeeId;
-  }
-  
-  /**
-   * Set defaultDiscountFeeId
-   *
-   * @param integer $defaultDiscountFeeId
-   * @return Event
-   */
-  public function setDefaultDiscountFeeId($defaultDiscountFeeId) {
-    $this->defaultDiscountFeeId = $defaultDiscountFeeId;
-    return $this;
-  }
-
-  /**
-   * Get defaultDiscountFeeId
-   *
-   * @return integer
-   */
-  public function getDefaultDiscountFeeId() {
-    return $this->defaultDiscountFeeId;
-  }
-  
-  /**
-   * Set thankyouTitle
-   *
-   * @param string $thankyouTitle
-   * @return Event
-   */
-  public function setThankyouTitle($thankyouTitle) {
-    $this->thankyouTitle = $thankyouTitle;
-    return $this;
-  }
-
-  /**
-   * Get thankyouTitle
-   *
-   * @return string
-   */
-  public function getThankyouTitle() {
-    return $this->thankyouTitle;
-  }
-  
-  /**
-   * Set thankyouText
-   *
-   * @param text $thankyouText
-   * @return Event
-   */
-  public function setThankyouText($thankyouText) {
-    $this->thankyouText = $thankyouText;
-    return $this;
-  }
-
-  /**
-   * Get thankyouText
-   *
-   * @return text
-   */
-  public function getThankyouText() {
-    return $this->thankyouText;
-  }
-  
-  /**
-   * Set thankyouFooterText
-   *
-   * @param text $thankyouFooterText
-   * @return Event
-   */
-  public function setThankyouFooterText($thankyouFooterText) {
-    $this->thankyouFooterText = $thankyouFooterText;
-    return $this;
-  }
-
-  /**
-   * Get thankyouFooterText
-   *
-   * @return text
-   */
-  public function getThankyouFooterText() {
-    return $this->thankyouFooterText;
-  }
-  
-  /**
-   * Set isPayLater
-   *
-   * @param boolean $isPayLater
-   * @return Event
-   */
-  public function setIsPayLater($isPayLater) {
-    $this->isPayLater = $isPayLater;
-    return $this;
-  }
-
-  /**
-   * Get isPayLater
-   *
-   * @return boolean
-   */
-  public function getIsPayLater() {
-    return $this->isPayLater;
-  }
-  
-  /**
-   * Set payLaterText
-   *
-   * @param text $payLaterText
-   * @return Event
-   */
-  public function setPayLaterText($payLaterText) {
-    $this->payLaterText = $payLaterText;
-    return $this;
-  }
-
-  /**
-   * Get payLaterText
-   *
-   * @return text
-   */
-  public function getPayLaterText() {
-    return $this->payLaterText;
-  }
-  
-  /**
-   * Set payLaterReceipt
-   *
-   * @param text $payLaterReceipt
-   * @return Event
-   */
-  public function setPayLaterReceipt($payLaterReceipt) {
-    $this->payLaterReceipt = $payLaterReceipt;
-    return $this;
-  }
-
-  /**
-   * Get payLaterReceipt
-   *
-   * @return text
-   */
-  public function getPayLaterReceipt() {
-    return $this->payLaterReceipt;
-  }
-  
-  /**
-   * Set isPartialPayment
-   *
-   * @param boolean $isPartialPayment
-   * @return Event
-   */
-  public function setIsPartialPayment($isPartialPayment) {
-    $this->isPartialPayment = $isPartialPayment;
-    return $this;
-  }
-
-  /**
-   * Get isPartialPayment
-   *
-   * @return boolean
-   */
-  public function getIsPartialPayment() {
-    return $this->isPartialPayment;
-  }
-  
-  /**
-   * Set initialAmountLabel
-   *
-   * @param string $initialAmountLabel
-   * @return Event
-   */
-  public function setInitialAmountLabel($initialAmountLabel) {
-    $this->initialAmountLabel = $initialAmountLabel;
-    return $this;
-  }
-
-  /**
-   * Get initialAmountLabel
-   *
-   * @return string
-   */
-  public function getInitialAmountLabel() {
-    return $this->initialAmountLabel;
-  }
-  
-  /**
-   * Set initialAmountHelpText
-   *
-   * @param text $initialAmountHelpText
-   * @return Event
-   */
-  public function setInitialAmountHelpText($initialAmountHelpText) {
-    $this->initialAmountHelpText = $initialAmountHelpText;
-    return $this;
-  }
-
-  /**
-   * Get initialAmountHelpText
-   *
-   * @return text
-   */
-  public function getInitialAmountHelpText() {
-    return $this->initialAmountHelpText;
-  }
-  
-  /**
-   * Set minInitialAmount
-   *
-   * @param float $minInitialAmount
-   * @return Event
-   */
-  public function setMinInitialAmount($minInitialAmount) {
-    $this->minInitialAmount = $minInitialAmount;
-    return $this;
-  }
-
-  /**
-   * Get minInitialAmount
-   *
-   * @return float
-   */
-  public function getMinInitialAmount() {
-    return $this->minInitialAmount;
-  }
-  
-  /**
-   * Set isMultipleRegistrations
-   *
-   * @param boolean $isMultipleRegistrations
-   * @return Event
-   */
-  public function setIsMultipleRegistrations($isMultipleRegistrations) {
-    $this->isMultipleRegistrations = $isMultipleRegistrations;
-    return $this;
-  }
-
-  /**
-   * Get isMultipleRegistrations
-   *
-   * @return boolean
-   */
-  public function getIsMultipleRegistrations() {
-    return $this->isMultipleRegistrations;
-  }
-  
-  /**
-   * Set allowSameParticipantEmails
-   *
-   * @param boolean $allowSameParticipantEmails
-   * @return Event
-   */
-  public function setAllowSameParticipantEmails($allowSameParticipantEmails) {
-    $this->allowSameParticipantEmails = $allowSameParticipantEmails;
-    return $this;
-  }
-
-  /**
-   * Get allowSameParticipantEmails
-   *
-   * @return boolean
-   */
-  public function getAllowSameParticipantEmails() {
-    return $this->allowSameParticipantEmails;
-  }
-  
-  /**
-   * Set hasWaitlist
-   *
-   * @param boolean $hasWaitlist
-   * @return Event
-   */
-  public function setHasWaitlist($hasWaitlist) {
-    $this->hasWaitlist = $hasWaitlist;
-    return $this;
-  }
-
-  /**
-   * Get hasWaitlist
-   *
-   * @return boolean
-   */
-  public function getHasWaitlist() {
-    return $this->hasWaitlist;
-  }
-  
-  /**
-   * Set requiresApproval
-   *
-   * @param boolean $requiresApproval
-   * @return Event
-   */
-  public function setRequiresApproval($requiresApproval) {
-    $this->requiresApproval = $requiresApproval;
-    return $this;
-  }
-
-  /**
-   * Get requiresApproval
-   *
-   * @return boolean
-   */
-  public function getRequiresApproval() {
-    return $this->requiresApproval;
-  }
-  
-  /**
-   * Set expirationTime
-   *
-   * @param integer $expirationTime
-   * @return Event
-   */
-  public function setExpirationTime($expirationTime) {
-    $this->expirationTime = $expirationTime;
-    return $this;
-  }
-
-  /**
-   * Get expirationTime
-   *
-   * @return integer
-   */
-  public function getExpirationTime() {
-    return $this->expirationTime;
-  }
-  
-  /**
-   * Set waitlistText
-   *
-   * @param text $waitlistText
-   * @return Event
-   */
-  public function setWaitlistText($waitlistText) {
-    $this->waitlistText = $waitlistText;
-    return $this;
-  }
-
-  /**
-   * Get waitlistText
-   *
-   * @return text
-   */
-  public function getWaitlistText() {
-    return $this->waitlistText;
-  }
-  
-  /**
-   * Set approvalReqText
-   *
-   * @param text $approvalReqText
-   * @return Event
-   */
-  public function setApprovalReqText($approvalReqText) {
-    $this->approvalReqText = $approvalReqText;
-    return $this;
-  }
-
-  /**
-   * Get approvalReqText
-   *
-   * @return text
-   */
-  public function getApprovalReqText() {
-    return $this->approvalReqText;
-  }
-  
-  /**
-   * Set isTemplate
-   *
-   * @param boolean $isTemplate
-   * @return Event
-   */
-  public function setIsTemplate($isTemplate) {
-    $this->isTemplate = $isTemplate;
-    return $this;
-  }
-
-  /**
-   * Get isTemplate
-   *
-   * @return boolean
-   */
-  public function getIsTemplate() {
-    return $this->isTemplate;
-  }
-  
-  /**
-   * Set templateTitle
-   *
-   * @param string $templateTitle
-   * @return Event
-   */
-  public function setTemplateTitle($templateTitle) {
-    $this->templateTitle = $templateTitle;
-    return $this;
-  }
-
-  /**
-   * Get templateTitle
-   *
-   * @return string
-   */
-  public function getTemplateTitle() {
-    return $this->templateTitle;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Event
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Event
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return Event
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Event
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set isShare
-   *
-   * @param boolean $isShare
-   * @return Event
-   */
-  public function setIsShare($isShare) {
-    $this->isShare = $isShare;
-    return $this;
-  }
-
-  /**
-   * Get isShare
-   *
-   * @return boolean
-   */
-  public function getIsShare() {
-    return $this->isShare;
-  }
-  
-  /**
-   * Set parentEventId
-   *
-   * @param integer $parentEventId
-   * @return Event
-   */
-  public function setParentEventId($parentEventId) {
-    $this->parentEventId = $parentEventId;
-    return $this;
-  }
-
-  /**
-   * Get parentEventId
-   *
-   * @return integer
-   */
-  public function getParentEventId() {
-    return $this->parentEventId;
-  }
-  
-  /**
-   * Set slotLabelId
-   *
-   * @param integer $slotLabelId
-   * @return Event
-   */
-  public function setSlotLabelId($slotLabelId) {
-    $this->slotLabelId = $slotLabelId;
-    return $this;
-  }
-
-  /**
-   * Get slotLabelId
-   *
-   * @return integer
-   */
-  public function getSlotLabelId() {
-    return $this->slotLabelId;
-  }
-
-}
-
diff --git a/Civi/Event/Participant.php b/Civi/Event/Participant.php
deleted file mode 100644 (file)
index 56d52f1..0000000
+++ /dev/null
@@ -1,544 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Event/Participant.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Participant
- *
- * @ORM\Table(name="civicrm_participant", indexes={@ORM\Index(name="index_status_id", columns={"status_id"}),@ORM\Index(name="index_role_id", columns={"role_id"}),@ORM\Index(name="FK_civicrm_participant_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_participant_event_id", columns={"event_id"}),@ORM\Index(name="FK_civicrm_participant_status_id", columns={"status_id"}),@ORM\Index(name="FK_civicrm_participant_registered_by_id", columns={"registered_by_id"}),@ORM\Index(name="FK_civicrm_participant_discount_id", columns={"discount_id"}),@ORM\Index(name="FK_civicrm_participant_campaign_id", columns={"campaign_id"}),@ORM\Index(name="FK_civicrm_participant_cart_id", columns={"cart_id"})})
- * @ORM\Entity
- */
-class Participant extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var \Civi\Event\Event
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Event\Event")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $event;
-  
-  /**
-   * @var \Civi\Event\ParticipantStatusType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Event\ParticipantStatusType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="status_id", referencedColumnName="id")})
-   */
-  private $status = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="role_id", type="string", length=128, nullable=false)
-   * 
-   */
-  private $roleId = 'NULL';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="register_date", type="datetime", nullable=true)
-   * 
-   */
-  private $registerDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="source", type="string", length=128, nullable=true)
-   * 
-   */
-  private $source;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="fee_level", type="text", nullable=true)
-   * 
-   */
-  private $feeLevel;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=false)
-   * 
-   */
-  private $isTest = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_pay_later", type="boolean", nullable=false)
-   * 
-   */
-  private $isPayLater = '0';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="fee_amount", type="float", nullable=true)
-   * 
-   */
-  private $feeAmount;
-  
-  /**
-   * @var \Civi\Event\Participant
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Event\Participant")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="registered_by_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $registeredBy = 'NULL';
-  
-  /**
-   * @var \Civi\Core\Discount
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Discount")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="discount_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $discount = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="fee_currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $feeCurrency = 'NULL';
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="discount_amount", type="integer", nullable=true)
-   * 
-   */
-  private $discountAmount;
-  
-  /**
-   * @var \Civi\Event\Cart\Cart
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Event\Cart\Cart")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="cart_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $cart;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="must_wait", type="int", nullable=true)
-   * 
-   */
-  private $mustWait;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Participant
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set event
-   *
-   * @param \Civi\Event\Event $event
-   * @return Participant
-   */
-  public function setEvent(\Civi\Event\Event $event = null) {
-    $this->event = $event;
-    return $this;
-  }
-
-  /**
-   * Get event
-   *
-   * @return \Civi\Event\Event
-   */
-  public function getEvent() {
-    return $this->event;
-  }
-  
-  /**
-   * Set status
-   *
-   * @param \Civi\Event\ParticipantStatusType $status
-   * @return Participant
-   */
-  public function setStatus(\Civi\Event\ParticipantStatusType $status = null) {
-    $this->status = $status;
-    return $this;
-  }
-
-  /**
-   * Get status
-   *
-   * @return \Civi\Event\ParticipantStatusType
-   */
-  public function getStatus() {
-    return $this->status;
-  }
-  
-  /**
-   * Set roleId
-   *
-   * @param string $roleId
-   * @return Participant
-   */
-  public function setRoleId($roleId) {
-    $this->roleId = $roleId;
-    return $this;
-  }
-
-  /**
-   * Get roleId
-   *
-   * @return string
-   */
-  public function getRoleId() {
-    return $this->roleId;
-  }
-  
-  /**
-   * Set registerDate
-   *
-   * @param datetime $registerDate
-   * @return Participant
-   */
-  public function setRegisterDate($registerDate) {
-    $this->registerDate = $registerDate;
-    return $this;
-  }
-
-  /**
-   * Get registerDate
-   *
-   * @return datetime
-   */
-  public function getRegisterDate() {
-    return $this->registerDate;
-  }
-  
-  /**
-   * Set source
-   *
-   * @param string $source
-   * @return Participant
-   */
-  public function setSource($source) {
-    $this->source = $source;
-    return $this;
-  }
-
-  /**
-   * Get source
-   *
-   * @return string
-   */
-  public function getSource() {
-    return $this->source;
-  }
-  
-  /**
-   * Set feeLevel
-   *
-   * @param text $feeLevel
-   * @return Participant
-   */
-  public function setFeeLevel($feeLevel) {
-    $this->feeLevel = $feeLevel;
-    return $this;
-  }
-
-  /**
-   * Get feeLevel
-   *
-   * @return text
-   */
-  public function getFeeLevel() {
-    return $this->feeLevel;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return Participant
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set isPayLater
-   *
-   * @param boolean $isPayLater
-   * @return Participant
-   */
-  public function setIsPayLater($isPayLater) {
-    $this->isPayLater = $isPayLater;
-    return $this;
-  }
-
-  /**
-   * Get isPayLater
-   *
-   * @return boolean
-   */
-  public function getIsPayLater() {
-    return $this->isPayLater;
-  }
-  
-  /**
-   * Set feeAmount
-   *
-   * @param float $feeAmount
-   * @return Participant
-   */
-  public function setFeeAmount($feeAmount) {
-    $this->feeAmount = $feeAmount;
-    return $this;
-  }
-
-  /**
-   * Get feeAmount
-   *
-   * @return float
-   */
-  public function getFeeAmount() {
-    return $this->feeAmount;
-  }
-  
-  /**
-   * Set registeredBy
-   *
-   * @param \Civi\Event\Participant $registeredBy
-   * @return Participant
-   */
-  public function setRegisteredBy(\Civi\Event\Participant $registeredBy = null) {
-    $this->registeredBy = $registeredBy;
-    return $this;
-  }
-
-  /**
-   * Get registeredBy
-   *
-   * @return \Civi\Event\Participant
-   */
-  public function getRegisteredBy() {
-    return $this->registeredBy;
-  }
-  
-  /**
-   * Set discount
-   *
-   * @param \Civi\Core\Discount $discount
-   * @return Participant
-   */
-  public function setDiscount(\Civi\Core\Discount $discount = null) {
-    $this->discount = $discount;
-    return $this;
-  }
-
-  /**
-   * Get discount
-   *
-   * @return \Civi\Core\Discount
-   */
-  public function getDiscount() {
-    return $this->discount;
-  }
-  
-  /**
-   * Set feeCurrency
-   *
-   * @param string $feeCurrency
-   * @return Participant
-   */
-  public function setFeeCurrency($feeCurrency) {
-    $this->feeCurrency = $feeCurrency;
-    return $this;
-  }
-
-  /**
-   * Get feeCurrency
-   *
-   * @return string
-   */
-  public function getFeeCurrency() {
-    return $this->feeCurrency;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Participant
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set discountAmount
-   *
-   * @param integer $discountAmount
-   * @return Participant
-   */
-  public function setDiscountAmount($discountAmount) {
-    $this->discountAmount = $discountAmount;
-    return $this;
-  }
-
-  /**
-   * Get discountAmount
-   *
-   * @return integer
-   */
-  public function getDiscountAmount() {
-    return $this->discountAmount;
-  }
-  
-  /**
-   * Set cart
-   *
-   * @param \Civi\Event\Cart\Cart $cart
-   * @return Participant
-   */
-  public function setCart(\Civi\Event\Cart\Cart $cart = null) {
-    $this->cart = $cart;
-    return $this;
-  }
-
-  /**
-   * Get cart
-   *
-   * @return \Civi\Event\Cart\Cart
-   */
-  public function getCart() {
-    return $this->cart;
-  }
-  
-  /**
-   * Set mustWait
-   *
-   * @param int $mustWait
-   * @return Participant
-   */
-  public function setMustWait($mustWait) {
-    $this->mustWait = $mustWait;
-    return $this;
-  }
-
-  /**
-   * Get mustWait
-   *
-   * @return int
-   */
-  public function getMustWait() {
-    return $this->mustWait;
-  }
-
-}
-
diff --git a/Civi/Event/ParticipantPayment.php b/Civi/Event/ParticipantPayment.php
deleted file mode 100644 (file)
index cd55437..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Event/ParticipantPayment.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ParticipantPayment
- *
- * @ORM\Table(name="civicrm_participant_payment", uniqueConstraints={@ORM\UniqueConstraint(name="UI_contribution_participant", columns={"contribution_id,participant_id"})}, indexes={@ORM\Index(name="FK_civicrm_participant_payment_participant_id", columns={"participant_id"}),@ORM\Index(name="FK_civicrm_participant_payment_contribution_id", columns={"contribution_id"})})
- * @ORM\Entity
- */
-class ParticipantPayment extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Event\Participant
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Event\Participant")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="participant_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $participant;
-  
-  /**
-   * @var \Civi\Contribute\Contribution
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\Contribution")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contribution;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set participant
-   *
-   * @param \Civi\Event\Participant $participant
-   * @return ParticipantPayment
-   */
-  public function setParticipant(\Civi\Event\Participant $participant = null) {
-    $this->participant = $participant;
-    return $this;
-  }
-
-  /**
-   * Get participant
-   *
-   * @return \Civi\Event\Participant
-   */
-  public function getParticipant() {
-    return $this->participant;
-  }
-  
-  /**
-   * Set contribution
-   *
-   * @param \Civi\Contribute\Contribution $contribution
-   * @return ParticipantPayment
-   */
-  public function setContribution(\Civi\Contribute\Contribution $contribution = null) {
-    $this->contribution = $contribution;
-    return $this;
-  }
-
-  /**
-   * Get contribution
-   *
-   * @return \Civi\Contribute\Contribution
-   */
-  public function getContribution() {
-    return $this->contribution;
-  }
-
-}
-
diff --git a/Civi/Event/ParticipantStatusType.php b/Civi/Event/ParticipantStatusType.php
deleted file mode 100644 (file)
index 112f1ef..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ParticipantStatusType
- *
- * @ORM\Table(name="civicrm_participant_status_type")
- * @ORM\Entity
- */
-class ParticipantStatusType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="class", type="string", length=8, nullable=true)
-   * 
-   */
-  private $class;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_counted", type="boolean", nullable=true)
-   * 
-   */
-  private $isCounted;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="weight", type="integer", nullable=true)
-   * 
-   */
-  private $weight;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="visibility_id", type="integer", nullable=true)
-   * 
-   */
-  private $visibilityId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return ParticipantStatusType
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return ParticipantStatusType
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set class
-   *
-   * @param string $class
-   * @return ParticipantStatusType
-   */
-  public function setClass($class) {
-    $this->class = $class;
-    return $this;
-  }
-
-  /**
-   * Get class
-   *
-   * @return string
-   */
-  public function getClass() {
-    return $this->class;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return ParticipantStatusType
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return ParticipantStatusType
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isCounted
-   *
-   * @param boolean $isCounted
-   * @return ParticipantStatusType
-   */
-  public function setIsCounted($isCounted) {
-    $this->isCounted = $isCounted;
-    return $this;
-  }
-
-  /**
-   * Get isCounted
-   *
-   * @return boolean
-   */
-  public function getIsCounted() {
-    return $this->isCounted;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param integer $weight
-   * @return ParticipantStatusType
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return integer
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set visibilityId
-   *
-   * @param integer $visibilityId
-   * @return ParticipantStatusType
-   */
-  public function setVisibilityId($visibilityId) {
-    $this->visibilityId = $visibilityId;
-    return $this;
-  }
-
-  /**
-   * Get visibilityId
-   *
-   * @return integer
-   */
-  public function getVisibilityId() {
-    return $this->visibilityId;
-  }
-
-}
-
diff --git a/Civi/Financial/Currency.php b/Civi/Financial/Currency.php
deleted file mode 100644 (file)
index c4e15cc..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/Currency.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Currency
- *
- * @ORM\Table(name="civicrm_currency")
- * @ORM\Entity
- */
-class Currency extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="symbol", type="string", length=8, nullable=true)
-   * 
-   */
-  private $symbol;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="numeric_code", type="string", length=3, nullable=true)
-   * 
-   */
-  private $numericCode;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="full_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $fullName;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Currency
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set symbol
-   *
-   * @param string $symbol
-   * @return Currency
-   */
-  public function setSymbol($symbol) {
-    $this->symbol = $symbol;
-    return $this;
-  }
-
-  /**
-   * Get symbol
-   *
-   * @return string
-   */
-  public function getSymbol() {
-    return $this->symbol;
-  }
-  
-  /**
-   * Set numericCode
-   *
-   * @param string $numericCode
-   * @return Currency
-   */
-  public function setNumericCode($numericCode) {
-    $this->numericCode = $numericCode;
-    return $this;
-  }
-
-  /**
-   * Get numericCode
-   *
-   * @return string
-   */
-  public function getNumericCode() {
-    return $this->numericCode;
-  }
-  
-  /**
-   * Set fullName
-   *
-   * @param string $fullName
-   * @return Currency
-   */
-  public function setFullName($fullName) {
-    $this->fullName = $fullName;
-    return $this;
-  }
-
-  /**
-   * Get fullName
-   *
-   * @return string
-   */
-  public function getFullName() {
-    return $this->fullName;
-  }
-
-}
-
diff --git a/Civi/Financial/EntityFinancialAccount.php b/Civi/Financial/EntityFinancialAccount.php
deleted file mode 100644 (file)
index 6afcf4b..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityFinancialAccount
- *
- * @ORM\Table(name="civicrm_entity_financial_account", indexes={@ORM\Index(name="FK_civicrm_entity_financial_account_financial_account_id", columns={"financial_account_id"})})
- * @ORM\Entity
- */
-class EntityFinancialAccount extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="account_relationship", type="integer", nullable=true)
-   * 
-   */
-  private $accountRelationship;
-  
-  /**
-   * @var \Civi\Financial\FinancialAccount
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialAccount")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_account_id", referencedColumnName="id", onDelete="RESTRICT")})
-   */
-  private $financialAccount;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return EntityFinancialAccount
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return EntityFinancialAccount
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set accountRelationship
-   *
-   * @param integer $accountRelationship
-   * @return EntityFinancialAccount
-   */
-  public function setAccountRelationship($accountRelationship) {
-    $this->accountRelationship = $accountRelationship;
-    return $this;
-  }
-
-  /**
-   * Get accountRelationship
-   *
-   * @return integer
-   */
-  public function getAccountRelationship() {
-    return $this->accountRelationship;
-  }
-  
-  /**
-   * Set financialAccount
-   *
-   * @param \Civi\Financial\FinancialAccount $financialAccount
-   * @return EntityFinancialAccount
-   */
-  public function setFinancialAccount(\Civi\Financial\FinancialAccount $financialAccount = null) {
-    $this->financialAccount = $financialAccount;
-    return $this;
-  }
-
-  /**
-   * Get financialAccount
-   *
-   * @return \Civi\Financial\FinancialAccount
-   */
-  public function getFinancialAccount() {
-    return $this->financialAccount;
-  }
-
-}
-
diff --git a/Civi/Financial/EntityFinancialTrxn.php b/Civi/Financial/EntityFinancialTrxn.php
deleted file mode 100644 (file)
index f6e6e81..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityFinancialTrxn
- *
- * @ORM\Table(name="civicrm_entity_financial_trxn", indexes={@ORM\Index(name="UI_entity_financial_trxn_entity_table", columns={"entity_table"}),@ORM\Index(name="UI_entity_financial_trxn_entity_id", columns={"entity_id"}),@ORM\Index(name="FK_civicrm_entity_financial_trxn_financial_trxn_id", columns={"financial_trxn_id"})})
- * @ORM\Entity
- */
-class EntityFinancialTrxn extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var \Civi\Financial\FinancialTrxn
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialTrxn")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_trxn_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialTrxn;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount", type="float", nullable=true)
-   * 
-   */
-  private $amount;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return EntityFinancialTrxn
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return EntityFinancialTrxn
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set financialTrxn
-   *
-   * @param \Civi\Financial\FinancialTrxn $financialTrxn
-   * @return EntityFinancialTrxn
-   */
-  public function setFinancialTrxn(\Civi\Financial\FinancialTrxn $financialTrxn = null) {
-    $this->financialTrxn = $financialTrxn;
-    return $this;
-  }
-
-  /**
-   * Get financialTrxn
-   *
-   * @return \Civi\Financial\FinancialTrxn
-   */
-  public function getFinancialTrxn() {
-    return $this->financialTrxn;
-  }
-  
-  /**
-   * Set amount
-   *
-   * @param float $amount
-   * @return EntityFinancialTrxn
-   */
-  public function setAmount($amount) {
-    $this->amount = $amount;
-    return $this;
-  }
-
-  /**
-   * Get amount
-   *
-   * @return float
-   */
-  public function getAmount() {
-    return $this->amount;
-  }
-
-}
-
diff --git a/Civi/Financial/FinancialAccount.php b/Civi/Financial/FinancialAccount.php
deleted file mode 100644 (file)
index 12603d1..0000000
+++ /dev/null
@@ -1,460 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/FinancialAccount.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * FinancialAccount
- *
- * @ORM\Table(name="civicrm_financial_account", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})}, indexes={@ORM\Index(name="FK_civicrm_financial_account_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_financial_account_parent_id", columns={"parent_id"})})
- * @ORM\Entity
- */
-class FinancialAccount extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="financial_account_type_id", type="integer", nullable=false)
-   * 
-   */
-  private $financialAccountTypeId = '3';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="accounting_code", type="string", length=64, nullable=true)
-   * 
-   */
-  private $accountingCode;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="account_type_code", type="string", length=64, nullable=true)
-   * 
-   */
-  private $accountTypeCode;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var \Civi\Financial\FinancialAccount
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialAccount")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_id", referencedColumnName="id")})
-   */
-  private $parent;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_header_account", type="boolean", nullable=false)
-   * 
-   */
-  private $isHeaderAccount = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_deductible", type="boolean", nullable=false)
-   * 
-   */
-  private $isDeductible = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_tax", type="boolean", nullable=false)
-   * 
-   */
-  private $isTax = '0';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="tax_rate", type="float", nullable=true)
-   * 
-   */
-  private $taxRate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=true)
-   * 
-   */
-  private $isDefault;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return FinancialAccount
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return FinancialAccount
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set financialAccountTypeId
-   *
-   * @param integer $financialAccountTypeId
-   * @return FinancialAccount
-   */
-  public function setFinancialAccountTypeId($financialAccountTypeId) {
-    $this->financialAccountTypeId = $financialAccountTypeId;
-    return $this;
-  }
-
-  /**
-   * Get financialAccountTypeId
-   *
-   * @return integer
-   */
-  public function getFinancialAccountTypeId() {
-    return $this->financialAccountTypeId;
-  }
-  
-  /**
-   * Set accountingCode
-   *
-   * @param string $accountingCode
-   * @return FinancialAccount
-   */
-  public function setAccountingCode($accountingCode) {
-    $this->accountingCode = $accountingCode;
-    return $this;
-  }
-
-  /**
-   * Get accountingCode
-   *
-   * @return string
-   */
-  public function getAccountingCode() {
-    return $this->accountingCode;
-  }
-  
-  /**
-   * Set accountTypeCode
-   *
-   * @param string $accountTypeCode
-   * @return FinancialAccount
-   */
-  public function setAccountTypeCode($accountTypeCode) {
-    $this->accountTypeCode = $accountTypeCode;
-    return $this;
-  }
-
-  /**
-   * Get accountTypeCode
-   *
-   * @return string
-   */
-  public function getAccountTypeCode() {
-    return $this->accountTypeCode;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return FinancialAccount
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set parent
-   *
-   * @param \Civi\Financial\FinancialAccount $parent
-   * @return FinancialAccount
-   */
-  public function setParent(\Civi\Financial\FinancialAccount $parent = null) {
-    $this->parent = $parent;
-    return $this;
-  }
-
-  /**
-   * Get parent
-   *
-   * @return \Civi\Financial\FinancialAccount
-   */
-  public function getParent() {
-    return $this->parent;
-  }
-  
-  /**
-   * Set isHeaderAccount
-   *
-   * @param boolean $isHeaderAccount
-   * @return FinancialAccount
-   */
-  public function setIsHeaderAccount($isHeaderAccount) {
-    $this->isHeaderAccount = $isHeaderAccount;
-    return $this;
-  }
-
-  /**
-   * Get isHeaderAccount
-   *
-   * @return boolean
-   */
-  public function getIsHeaderAccount() {
-    return $this->isHeaderAccount;
-  }
-  
-  /**
-   * Set isDeductible
-   *
-   * @param boolean $isDeductible
-   * @return FinancialAccount
-   */
-  public function setIsDeductible($isDeductible) {
-    $this->isDeductible = $isDeductible;
-    return $this;
-  }
-
-  /**
-   * Get isDeductible
-   *
-   * @return boolean
-   */
-  public function getIsDeductible() {
-    return $this->isDeductible;
-  }
-  
-  /**
-   * Set isTax
-   *
-   * @param boolean $isTax
-   * @return FinancialAccount
-   */
-  public function setIsTax($isTax) {
-    $this->isTax = $isTax;
-    return $this;
-  }
-
-  /**
-   * Get isTax
-   *
-   * @return boolean
-   */
-  public function getIsTax() {
-    return $this->isTax;
-  }
-  
-  /**
-   * Set taxRate
-   *
-   * @param float $taxRate
-   * @return FinancialAccount
-   */
-  public function setTaxRate($taxRate) {
-    $this->taxRate = $taxRate;
-    return $this;
-  }
-
-  /**
-   * Get taxRate
-   *
-   * @return float
-   */
-  public function getTaxRate() {
-    return $this->taxRate;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return FinancialAccount
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return FinancialAccount
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return FinancialAccount
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-
-}
-
diff --git a/Civi/Financial/FinancialItem.php b/Civi/Financial/FinancialItem.php
deleted file mode 100644 (file)
index d8a0ab6..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/FinancialItem.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * FinancialItem
- *
- * @ORM\Table(name="civicrm_financial_item", uniqueConstraints={@ORM\UniqueConstraint(name="UI_id", columns={"id"})}, indexes={@ORM\Index(name="IX_created_date", columns={"created_date"}),@ORM\Index(name="IX_transaction_date", columns={"transaction_date"}),@ORM\Index(name="IX_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="FK_civicrm_financial_item_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_financial_item_financial_account_id", columns={"financial_account_id"})})
- * @ORM\Entity
- */
-class FinancialItem extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var timestamp
-   *
-   * @ORM\Column(name="created_date", type="timestamp", nullable=false)
-   * 
-   */
-  private $createdDate = 'CURRENT_TIMESTAMP';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="transaction_date", type="datetime", nullable=true)
-   * 
-   */
-  private $transactionDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount", type="float", nullable=false)
-   * 
-   */
-  private $amount = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=true)
-   * 
-   */
-  private $currency;
-  
-  /**
-   * @var \Civi\Financial\FinancialAccount
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialAccount")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_account_id", referencedColumnName="id")})
-   */
-  private $financialAccount;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set createdDate
-   *
-   * @param timestamp $createdDate
-   * @return FinancialItem
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return timestamp
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set transactionDate
-   *
-   * @param datetime $transactionDate
-   * @return FinancialItem
-   */
-  public function setTransactionDate($transactionDate) {
-    $this->transactionDate = $transactionDate;
-    return $this;
-  }
-
-  /**
-   * Get transactionDate
-   *
-   * @return datetime
-   */
-  public function getTransactionDate() {
-    return $this->transactionDate;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return FinancialItem
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return FinancialItem
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set amount
-   *
-   * @param float $amount
-   * @return FinancialItem
-   */
-  public function setAmount($amount) {
-    $this->amount = $amount;
-    return $this;
-  }
-
-  /**
-   * Get amount
-   *
-   * @return float
-   */
-  public function getAmount() {
-    return $this->amount;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return FinancialItem
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set financialAccount
-   *
-   * @param \Civi\Financial\FinancialAccount $financialAccount
-   * @return FinancialItem
-   */
-  public function setFinancialAccount(\Civi\Financial\FinancialAccount $financialAccount = null) {
-    $this->financialAccount = $financialAccount;
-    return $this;
-  }
-
-  /**
-   * Get financialAccount
-   *
-   * @return \Civi\Financial\FinancialAccount
-   */
-  public function getFinancialAccount() {
-    return $this->financialAccount;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return FinancialItem
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return FinancialItem
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return FinancialItem
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-
-}
-
diff --git a/Civi/Financial/FinancialTrxn.php b/Civi/Financial/FinancialTrxn.php
deleted file mode 100644 (file)
index ab491ac..0000000
+++ /dev/null
@@ -1,432 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * FinancialTrxn
- *
- * @ORM\Table(name="civicrm_financial_trxn", indexes={@ORM\Index(name="UI_ftrxn_payment_instrument_id", columns={"payment_instrument_id"}),@ORM\Index(name="UI_ftrxn_check_number", columns={"check_number"}),@ORM\Index(name="FK_civicrm_financial_trxn_from_financial_account_id", columns={"from_financial_account_id"}),@ORM\Index(name="FK_civicrm_financial_trxn_to_financial_account_id", columns={"to_financial_account_id"}),@ORM\Index(name="FK_civicrm_financial_trxn_payment_processor_id", columns={"payment_processor_id"})})
- * @ORM\Entity
- */
-class FinancialTrxn extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Financial\FinancialAccount
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialAccount")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="from_financial_account_id", referencedColumnName="id")})
-   */
-  private $fromFinancialAccount;
-  
-  /**
-   * @var \Civi\Financial\FinancialAccount
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialAccount")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="to_financial_account_id", referencedColumnName="id")})
-   */
-  private $toFinancialAccount;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="trxn_date", type="datetime", nullable=false)
-   * 
-   */
-  private $trxnDate = 'NULL';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="total_amount", type="float", nullable=true)
-   * 
-   */
-  private $totalAmount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="fee_amount", type="float", nullable=true)
-   * 
-   */
-  private $feeAmount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="net_amount", type="float", nullable=true)
-   * 
-   */
-  private $netAmount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="trxn_id", type="string", length=255, nullable=true)
-   * 
-   */
-  private $trxnId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="trxn_result_code", type="string", length=255, nullable=true)
-   * 
-   */
-  private $trxnResultCode;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var \Civi\Financial\PaymentProcessor
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\PaymentProcessor")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="payment_processor_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $paymentProcessor;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="payment_instrument_id", type="integer", nullable=true)
-   * 
-   */
-  private $paymentInstrumentId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="check_number", type="string", length=255, nullable=true)
-   * 
-   */
-  private $checkNumber;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set fromFinancialAccount
-   *
-   * @param \Civi\Financial\FinancialAccount $fromFinancialAccount
-   * @return FinancialTrxn
-   */
-  public function setFromFinancialAccount(\Civi\Financial\FinancialAccount $fromFinancialAccount = null) {
-    $this->fromFinancialAccount = $fromFinancialAccount;
-    return $this;
-  }
-
-  /**
-   * Get fromFinancialAccount
-   *
-   * @return \Civi\Financial\FinancialAccount
-   */
-  public function getFromFinancialAccount() {
-    return $this->fromFinancialAccount;
-  }
-  
-  /**
-   * Set toFinancialAccount
-   *
-   * @param \Civi\Financial\FinancialAccount $toFinancialAccount
-   * @return FinancialTrxn
-   */
-  public function setToFinancialAccount(\Civi\Financial\FinancialAccount $toFinancialAccount = null) {
-    $this->toFinancialAccount = $toFinancialAccount;
-    return $this;
-  }
-
-  /**
-   * Get toFinancialAccount
-   *
-   * @return \Civi\Financial\FinancialAccount
-   */
-  public function getToFinancialAccount() {
-    return $this->toFinancialAccount;
-  }
-  
-  /**
-   * Set trxnDate
-   *
-   * @param datetime $trxnDate
-   * @return FinancialTrxn
-   */
-  public function setTrxnDate($trxnDate) {
-    $this->trxnDate = $trxnDate;
-    return $this;
-  }
-
-  /**
-   * Get trxnDate
-   *
-   * @return datetime
-   */
-  public function getTrxnDate() {
-    return $this->trxnDate;
-  }
-  
-  /**
-   * Set totalAmount
-   *
-   * @param float $totalAmount
-   * @return FinancialTrxn
-   */
-  public function setTotalAmount($totalAmount) {
-    $this->totalAmount = $totalAmount;
-    return $this;
-  }
-
-  /**
-   * Get totalAmount
-   *
-   * @return float
-   */
-  public function getTotalAmount() {
-    return $this->totalAmount;
-  }
-  
-  /**
-   * Set feeAmount
-   *
-   * @param float $feeAmount
-   * @return FinancialTrxn
-   */
-  public function setFeeAmount($feeAmount) {
-    $this->feeAmount = $feeAmount;
-    return $this;
-  }
-
-  /**
-   * Get feeAmount
-   *
-   * @return float
-   */
-  public function getFeeAmount() {
-    return $this->feeAmount;
-  }
-  
-  /**
-   * Set netAmount
-   *
-   * @param float $netAmount
-   * @return FinancialTrxn
-   */
-  public function setNetAmount($netAmount) {
-    $this->netAmount = $netAmount;
-    return $this;
-  }
-
-  /**
-   * Get netAmount
-   *
-   * @return float
-   */
-  public function getNetAmount() {
-    return $this->netAmount;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return FinancialTrxn
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set trxnId
-   *
-   * @param string $trxnId
-   * @return FinancialTrxn
-   */
-  public function setTrxnId($trxnId) {
-    $this->trxnId = $trxnId;
-    return $this;
-  }
-
-  /**
-   * Get trxnId
-   *
-   * @return string
-   */
-  public function getTrxnId() {
-    return $this->trxnId;
-  }
-  
-  /**
-   * Set trxnResultCode
-   *
-   * @param string $trxnResultCode
-   * @return FinancialTrxn
-   */
-  public function setTrxnResultCode($trxnResultCode) {
-    $this->trxnResultCode = $trxnResultCode;
-    return $this;
-  }
-
-  /**
-   * Get trxnResultCode
-   *
-   * @return string
-   */
-  public function getTrxnResultCode() {
-    return $this->trxnResultCode;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return FinancialTrxn
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set paymentProcessor
-   *
-   * @param \Civi\Financial\PaymentProcessor $paymentProcessor
-   * @return FinancialTrxn
-   */
-  public function setPaymentProcessor(\Civi\Financial\PaymentProcessor $paymentProcessor = null) {
-    $this->paymentProcessor = $paymentProcessor;
-    return $this;
-  }
-
-  /**
-   * Get paymentProcessor
-   *
-   * @return \Civi\Financial\PaymentProcessor
-   */
-  public function getPaymentProcessor() {
-    return $this->paymentProcessor;
-  }
-  
-  /**
-   * Set paymentInstrumentId
-   *
-   * @param integer $paymentInstrumentId
-   * @return FinancialTrxn
-   */
-  public function setPaymentInstrumentId($paymentInstrumentId) {
-    $this->paymentInstrumentId = $paymentInstrumentId;
-    return $this;
-  }
-
-  /**
-   * Get paymentInstrumentId
-   *
-   * @return integer
-   */
-  public function getPaymentInstrumentId() {
-    return $this->paymentInstrumentId;
-  }
-  
-  /**
-   * Set checkNumber
-   *
-   * @param string $checkNumber
-   * @return FinancialTrxn
-   */
-  public function setCheckNumber($checkNumber) {
-    $this->checkNumber = $checkNumber;
-    return $this;
-  }
-
-  /**
-   * Get checkNumber
-   *
-   * @return string
-   */
-  public function getCheckNumber() {
-    return $this->checkNumber;
-  }
-
-}
-
diff --git a/Civi/Financial/FinancialType.php b/Civi/Financial/FinancialType.php
deleted file mode 100644 (file)
index da7dbf4..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/FinancialType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * FinancialType
- *
- * @ORM\Table(name="civicrm_financial_type", uniqueConstraints={@ORM\UniqueConstraint(name="UI_id", columns={"id"})})
- * @ORM\Entity
- */
-class FinancialType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_deductible", type="boolean", nullable=false)
-   * 
-   */
-  private $isDeductible = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=true)
-   * 
-   */
-  private $isReserved;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return FinancialType
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return FinancialType
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set isDeductible
-   *
-   * @param boolean $isDeductible
-   * @return FinancialType
-   */
-  public function setIsDeductible($isDeductible) {
-    $this->isDeductible = $isDeductible;
-    return $this;
-  }
-
-  /**
-   * Get isDeductible
-   *
-   * @return boolean
-   */
-  public function getIsDeductible() {
-    return $this->isDeductible;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return FinancialType
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return FinancialType
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Financial/PaymentProcessor.php b/Civi/Financial/PaymentProcessor.php
deleted file mode 100644 (file)
index 8ab6f8a..0000000
+++ /dev/null
@@ -1,600 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PaymentProcessor
- *
- * @ORM\Table(name="civicrm_payment_processor", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name_test_domain_id", columns={"name,is_test,domain_id"})}, indexes={@ORM\Index(name="FK_civicrm_payment_processor_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_payment_processor_payment_processor_type_id", columns={"payment_processor_type_id"})})
- * @ORM\Entity
- */
-class PaymentProcessor extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var \Civi\Financial\PaymentProcessorType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\PaymentProcessorType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="payment_processor_type_id", referencedColumnName="id")})
-   */
-  private $paymentProcessorType;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=true)
-   * 
-   */
-  private $isDefault;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=true)
-   * 
-   */
-  private $isTest;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="user_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $userName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="password", type="string", length=255, nullable=true)
-   * 
-   */
-  private $password;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="signature", type="string", length=255, nullable=true)
-   * 
-   */
-  private $signature;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_site", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlSite;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_api", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlApi;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_recur", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlRecur;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_button", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlButton;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=255, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="class_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $className;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="billing_mode", type="integer", nullable=true)
-   * 
-   */
-  private $billingMode;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_recur", type="boolean", nullable=true)
-   * 
-   */
-  private $isRecur;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="payment_type", type="integer", nullable=false)
-   * 
-   */
-  private $paymentType = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return PaymentProcessor
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return PaymentProcessor
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return PaymentProcessor
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set paymentProcessorType
-   *
-   * @param \Civi\Financial\PaymentProcessorType $paymentProcessorType
-   * @return PaymentProcessor
-   */
-  public function setPaymentProcessorType(\Civi\Financial\PaymentProcessorType $paymentProcessorType = null) {
-    $this->paymentProcessorType = $paymentProcessorType;
-    return $this;
-  }
-
-  /**
-   * Get paymentProcessorType
-   *
-   * @return \Civi\Financial\PaymentProcessorType
-   */
-  public function getPaymentProcessorType() {
-    return $this->paymentProcessorType;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PaymentProcessor
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return PaymentProcessor
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return PaymentProcessor
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set userName
-   *
-   * @param string $userName
-   * @return PaymentProcessor
-   */
-  public function setUserName($userName) {
-    $this->userName = $userName;
-    return $this;
-  }
-
-  /**
-   * Get userName
-   *
-   * @return string
-   */
-  public function getUserName() {
-    return $this->userName;
-  }
-  
-  /**
-   * Set password
-   *
-   * @param string $password
-   * @return PaymentProcessor
-   */
-  public function setPassword($password) {
-    $this->password = $password;
-    return $this;
-  }
-
-  /**
-   * Get password
-   *
-   * @return string
-   */
-  public function getPassword() {
-    return $this->password;
-  }
-  
-  /**
-   * Set signature
-   *
-   * @param string $signature
-   * @return PaymentProcessor
-   */
-  public function setSignature($signature) {
-    $this->signature = $signature;
-    return $this;
-  }
-
-  /**
-   * Get signature
-   *
-   * @return string
-   */
-  public function getSignature() {
-    return $this->signature;
-  }
-  
-  /**
-   * Set urlSite
-   *
-   * @param string $urlSite
-   * @return PaymentProcessor
-   */
-  public function setUrlSite($urlSite) {
-    $this->urlSite = $urlSite;
-    return $this;
-  }
-
-  /**
-   * Get urlSite
-   *
-   * @return string
-   */
-  public function getUrlSite() {
-    return $this->urlSite;
-  }
-  
-  /**
-   * Set urlApi
-   *
-   * @param string $urlApi
-   * @return PaymentProcessor
-   */
-  public function setUrlApi($urlApi) {
-    $this->urlApi = $urlApi;
-    return $this;
-  }
-
-  /**
-   * Get urlApi
-   *
-   * @return string
-   */
-  public function getUrlApi() {
-    return $this->urlApi;
-  }
-  
-  /**
-   * Set urlRecur
-   *
-   * @param string $urlRecur
-   * @return PaymentProcessor
-   */
-  public function setUrlRecur($urlRecur) {
-    $this->urlRecur = $urlRecur;
-    return $this;
-  }
-
-  /**
-   * Get urlRecur
-   *
-   * @return string
-   */
-  public function getUrlRecur() {
-    return $this->urlRecur;
-  }
-  
-  /**
-   * Set urlButton
-   *
-   * @param string $urlButton
-   * @return PaymentProcessor
-   */
-  public function setUrlButton($urlButton) {
-    $this->urlButton = $urlButton;
-    return $this;
-  }
-
-  /**
-   * Get urlButton
-   *
-   * @return string
-   */
-  public function getUrlButton() {
-    return $this->urlButton;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return PaymentProcessor
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set className
-   *
-   * @param string $className
-   * @return PaymentProcessor
-   */
-  public function setClassName($className) {
-    $this->className = $className;
-    return $this;
-  }
-
-  /**
-   * Get className
-   *
-   * @return string
-   */
-  public function getClassName() {
-    return $this->className;
-  }
-  
-  /**
-   * Set billingMode
-   *
-   * @param integer $billingMode
-   * @return PaymentProcessor
-   */
-  public function setBillingMode($billingMode) {
-    $this->billingMode = $billingMode;
-    return $this;
-  }
-
-  /**
-   * Get billingMode
-   *
-   * @return integer
-   */
-  public function getBillingMode() {
-    return $this->billingMode;
-  }
-  
-  /**
-   * Set isRecur
-   *
-   * @param boolean $isRecur
-   * @return PaymentProcessor
-   */
-  public function setIsRecur($isRecur) {
-    $this->isRecur = $isRecur;
-    return $this;
-  }
-
-  /**
-   * Get isRecur
-   *
-   * @return boolean
-   */
-  public function getIsRecur() {
-    return $this->isRecur;
-  }
-  
-  /**
-   * Set paymentType
-   *
-   * @param integer $paymentType
-   * @return PaymentProcessor
-   */
-  public function setPaymentType($paymentType) {
-    $this->paymentType = $paymentType;
-    return $this;
-  }
-
-  /**
-   * Get paymentType
-   *
-   * @return integer
-   */
-  public function getPaymentType() {
-    return $this->paymentType;
-  }
-
-}
-
diff --git a/Civi/Financial/PaymentProcessorType.php b/Civi/Financial/PaymentProcessorType.php
deleted file mode 100644 (file)
index 4980c2b..0000000
+++ /dev/null
@@ -1,656 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PaymentProcessorType
- *
- * @ORM\Table(name="civicrm_payment_processor_type", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})})
- * @ORM\Entity
- */
-class PaymentProcessorType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=127, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=true)
-   * 
-   */
-  private $isDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="user_name_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $userNameLabel;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="password_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $passwordLabel;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="signature_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $signatureLabel;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject_label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $subjectLabel;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="class_name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $className;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_site_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlSiteDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_api_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlApiDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_recur_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlRecurDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_button_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlButtonDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_site_test_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlSiteTestDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_api_test_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlApiTestDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_recur_test_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlRecurTestDefault;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url_button_test_default", type="string", length=255, nullable=true)
-   * 
-   */
-  private $urlButtonTestDefault;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="billing_mode", type="integer", nullable=true)
-   * 
-   */
-  private $billingMode;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_recur", type="boolean", nullable=true)
-   * 
-   */
-  private $isRecur;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="payment_type", type="integer", nullable=false)
-   * 
-   */
-  private $paymentType = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return PaymentProcessorType
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return PaymentProcessorType
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return PaymentProcessorType
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PaymentProcessorType
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return PaymentProcessorType
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set userNameLabel
-   *
-   * @param string $userNameLabel
-   * @return PaymentProcessorType
-   */
-  public function setUserNameLabel($userNameLabel) {
-    $this->userNameLabel = $userNameLabel;
-    return $this;
-  }
-
-  /**
-   * Get userNameLabel
-   *
-   * @return string
-   */
-  public function getUserNameLabel() {
-    return $this->userNameLabel;
-  }
-  
-  /**
-   * Set passwordLabel
-   *
-   * @param string $passwordLabel
-   * @return PaymentProcessorType
-   */
-  public function setPasswordLabel($passwordLabel) {
-    $this->passwordLabel = $passwordLabel;
-    return $this;
-  }
-
-  /**
-   * Get passwordLabel
-   *
-   * @return string
-   */
-  public function getPasswordLabel() {
-    return $this->passwordLabel;
-  }
-  
-  /**
-   * Set signatureLabel
-   *
-   * @param string $signatureLabel
-   * @return PaymentProcessorType
-   */
-  public function setSignatureLabel($signatureLabel) {
-    $this->signatureLabel = $signatureLabel;
-    return $this;
-  }
-
-  /**
-   * Get signatureLabel
-   *
-   * @return string
-   */
-  public function getSignatureLabel() {
-    return $this->signatureLabel;
-  }
-  
-  /**
-   * Set subjectLabel
-   *
-   * @param string $subjectLabel
-   * @return PaymentProcessorType
-   */
-  public function setSubjectLabel($subjectLabel) {
-    $this->subjectLabel = $subjectLabel;
-    return $this;
-  }
-
-  /**
-   * Get subjectLabel
-   *
-   * @return string
-   */
-  public function getSubjectLabel() {
-    return $this->subjectLabel;
-  }
-  
-  /**
-   * Set className
-   *
-   * @param string $className
-   * @return PaymentProcessorType
-   */
-  public function setClassName($className) {
-    $this->className = $className;
-    return $this;
-  }
-
-  /**
-   * Get className
-   *
-   * @return string
-   */
-  public function getClassName() {
-    return $this->className;
-  }
-  
-  /**
-   * Set urlSiteDefault
-   *
-   * @param string $urlSiteDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlSiteDefault($urlSiteDefault) {
-    $this->urlSiteDefault = $urlSiteDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlSiteDefault
-   *
-   * @return string
-   */
-  public function getUrlSiteDefault() {
-    return $this->urlSiteDefault;
-  }
-  
-  /**
-   * Set urlApiDefault
-   *
-   * @param string $urlApiDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlApiDefault($urlApiDefault) {
-    $this->urlApiDefault = $urlApiDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlApiDefault
-   *
-   * @return string
-   */
-  public function getUrlApiDefault() {
-    return $this->urlApiDefault;
-  }
-  
-  /**
-   * Set urlRecurDefault
-   *
-   * @param string $urlRecurDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlRecurDefault($urlRecurDefault) {
-    $this->urlRecurDefault = $urlRecurDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlRecurDefault
-   *
-   * @return string
-   */
-  public function getUrlRecurDefault() {
-    return $this->urlRecurDefault;
-  }
-  
-  /**
-   * Set urlButtonDefault
-   *
-   * @param string $urlButtonDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlButtonDefault($urlButtonDefault) {
-    $this->urlButtonDefault = $urlButtonDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlButtonDefault
-   *
-   * @return string
-   */
-  public function getUrlButtonDefault() {
-    return $this->urlButtonDefault;
-  }
-  
-  /**
-   * Set urlSiteTestDefault
-   *
-   * @param string $urlSiteTestDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlSiteTestDefault($urlSiteTestDefault) {
-    $this->urlSiteTestDefault = $urlSiteTestDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlSiteTestDefault
-   *
-   * @return string
-   */
-  public function getUrlSiteTestDefault() {
-    return $this->urlSiteTestDefault;
-  }
-  
-  /**
-   * Set urlApiTestDefault
-   *
-   * @param string $urlApiTestDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlApiTestDefault($urlApiTestDefault) {
-    $this->urlApiTestDefault = $urlApiTestDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlApiTestDefault
-   *
-   * @return string
-   */
-  public function getUrlApiTestDefault() {
-    return $this->urlApiTestDefault;
-  }
-  
-  /**
-   * Set urlRecurTestDefault
-   *
-   * @param string $urlRecurTestDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlRecurTestDefault($urlRecurTestDefault) {
-    $this->urlRecurTestDefault = $urlRecurTestDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlRecurTestDefault
-   *
-   * @return string
-   */
-  public function getUrlRecurTestDefault() {
-    return $this->urlRecurTestDefault;
-  }
-  
-  /**
-   * Set urlButtonTestDefault
-   *
-   * @param string $urlButtonTestDefault
-   * @return PaymentProcessorType
-   */
-  public function setUrlButtonTestDefault($urlButtonTestDefault) {
-    $this->urlButtonTestDefault = $urlButtonTestDefault;
-    return $this;
-  }
-
-  /**
-   * Get urlButtonTestDefault
-   *
-   * @return string
-   */
-  public function getUrlButtonTestDefault() {
-    return $this->urlButtonTestDefault;
-  }
-  
-  /**
-   * Set billingMode
-   *
-   * @param integer $billingMode
-   * @return PaymentProcessorType
-   */
-  public function setBillingMode($billingMode) {
-    $this->billingMode = $billingMode;
-    return $this;
-  }
-
-  /**
-   * Get billingMode
-   *
-   * @return integer
-   */
-  public function getBillingMode() {
-    return $this->billingMode;
-  }
-  
-  /**
-   * Set isRecur
-   *
-   * @param boolean $isRecur
-   * @return PaymentProcessorType
-   */
-  public function setIsRecur($isRecur) {
-    $this->isRecur = $isRecur;
-    return $this;
-  }
-
-  /**
-   * Get isRecur
-   *
-   * @return boolean
-   */
-  public function getIsRecur() {
-    return $this->isRecur;
-  }
-  
-  /**
-   * Set paymentType
-   *
-   * @param integer $paymentType
-   * @return PaymentProcessorType
-   */
-  public function setPaymentType($paymentType) {
-    $this->paymentType = $paymentType;
-    return $this;
-  }
-
-  /**
-   * Get paymentType
-   *
-   * @return integer
-   */
-  public function getPaymentType() {
-    return $this->paymentType;
-  }
-
-}
-
diff --git a/Civi/Friend/Friend.php b/Civi/Friend/Friend.php
deleted file mode 100644 (file)
index 4083622..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Friend/Friend.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Friend
- *
- * @ORM\Table(name="civicrm_tell_friend")
- * @ORM\Entity
- */
-class Friend extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="intro", type="text", nullable=true)
-   * 
-   */
-  private $intro;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="suggested_message", type="text", nullable=true)
-   * 
-   */
-  private $suggestedMessage;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="general_link", type="string", length=255, nullable=true)
-   * 
-   */
-  private $generalLink;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="thankyou_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $thankyouTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="thankyou_text", type="text", nullable=true)
-   * 
-   */
-  private $thankyouText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return Friend
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return Friend
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Friend
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set intro
-   *
-   * @param text $intro
-   * @return Friend
-   */
-  public function setIntro($intro) {
-    $this->intro = $intro;
-    return $this;
-  }
-
-  /**
-   * Get intro
-   *
-   * @return text
-   */
-  public function getIntro() {
-    return $this->intro;
-  }
-  
-  /**
-   * Set suggestedMessage
-   *
-   * @param text $suggestedMessage
-   * @return Friend
-   */
-  public function setSuggestedMessage($suggestedMessage) {
-    $this->suggestedMessage = $suggestedMessage;
-    return $this;
-  }
-
-  /**
-   * Get suggestedMessage
-   *
-   * @return text
-   */
-  public function getSuggestedMessage() {
-    return $this->suggestedMessage;
-  }
-  
-  /**
-   * Set generalLink
-   *
-   * @param string $generalLink
-   * @return Friend
-   */
-  public function setGeneralLink($generalLink) {
-    $this->generalLink = $generalLink;
-    return $this;
-  }
-
-  /**
-   * Get generalLink
-   *
-   * @return string
-   */
-  public function getGeneralLink() {
-    return $this->generalLink;
-  }
-  
-  /**
-   * Set thankyouTitle
-   *
-   * @param string $thankyouTitle
-   * @return Friend
-   */
-  public function setThankyouTitle($thankyouTitle) {
-    $this->thankyouTitle = $thankyouTitle;
-    return $this;
-  }
-
-  /**
-   * Get thankyouTitle
-   *
-   * @return string
-   */
-  public function getThankyouTitle() {
-    return $this->thankyouTitle;
-  }
-  
-  /**
-   * Set thankyouText
-   *
-   * @param text $thankyouText
-   * @return Friend
-   */
-  public function setThankyouText($thankyouText) {
-    $this->thankyouText = $thankyouText;
-    return $this;
-  }
-
-  /**
-   * Get thankyouText
-   *
-   * @return text
-   */
-  public function getThankyouText() {
-    return $this->thankyouText;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Friend
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Grant/Grant.php b/Civi/Grant/Grant.php
deleted file mode 100644 (file)
index 3451d0c..0000000
+++ /dev/null
@@ -1,460 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Grant/Grant.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Grant
- *
- * @ORM\Table(name="civicrm_grant", indexes={@ORM\Index(name="index_grant_type_id", columns={"grant_type_id"}),@ORM\Index(name="index_status_id", columns={"status_id"}),@ORM\Index(name="FK_civicrm_grant_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_grant_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class Grant extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="application_received_date", type="date", nullable=true)
-   * 
-   */
-  private $applicationReceivedDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="decision_date", type="date", nullable=true)
-   * 
-   */
-  private $decisionDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="money_transfer_date", type="date", nullable=true)
-   * 
-   */
-  private $moneyTransferDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="grant_due_date", type="date", nullable=true)
-   * 
-   */
-  private $grantDueDate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="grant_report_received", type="boolean", nullable=true)
-   * 
-   */
-  private $grantReportReceived;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="grant_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $grantTypeId;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount_total", type="float", nullable=true)
-   * 
-   */
-  private $amountTotal;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount_requested", type="float", nullable=true)
-   * 
-   */
-  private $amountRequested;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount_granted", type="float", nullable=true)
-   * 
-   */
-  private $amountGranted;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=true)
-   * 
-   */
-  private $currency;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="rationale", type="text", nullable=true)
-   * 
-   */
-  private $rationale;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Grant
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set applicationReceivedDate
-   *
-   * @param date $applicationReceivedDate
-   * @return Grant
-   */
-  public function setApplicationReceivedDate($applicationReceivedDate) {
-    $this->applicationReceivedDate = $applicationReceivedDate;
-    return $this;
-  }
-
-  /**
-   * Get applicationReceivedDate
-   *
-   * @return date
-   */
-  public function getApplicationReceivedDate() {
-    return $this->applicationReceivedDate;
-  }
-  
-  /**
-   * Set decisionDate
-   *
-   * @param date $decisionDate
-   * @return Grant
-   */
-  public function setDecisionDate($decisionDate) {
-    $this->decisionDate = $decisionDate;
-    return $this;
-  }
-
-  /**
-   * Get decisionDate
-   *
-   * @return date
-   */
-  public function getDecisionDate() {
-    return $this->decisionDate;
-  }
-  
-  /**
-   * Set moneyTransferDate
-   *
-   * @param date $moneyTransferDate
-   * @return Grant
-   */
-  public function setMoneyTransferDate($moneyTransferDate) {
-    $this->moneyTransferDate = $moneyTransferDate;
-    return $this;
-  }
-
-  /**
-   * Get moneyTransferDate
-   *
-   * @return date
-   */
-  public function getMoneyTransferDate() {
-    return $this->moneyTransferDate;
-  }
-  
-  /**
-   * Set grantDueDate
-   *
-   * @param date $grantDueDate
-   * @return Grant
-   */
-  public function setGrantDueDate($grantDueDate) {
-    $this->grantDueDate = $grantDueDate;
-    return $this;
-  }
-
-  /**
-   * Get grantDueDate
-   *
-   * @return date
-   */
-  public function getGrantDueDate() {
-    return $this->grantDueDate;
-  }
-  
-  /**
-   * Set grantReportReceived
-   *
-   * @param boolean $grantReportReceived
-   * @return Grant
-   */
-  public function setGrantReportReceived($grantReportReceived) {
-    $this->grantReportReceived = $grantReportReceived;
-    return $this;
-  }
-
-  /**
-   * Get grantReportReceived
-   *
-   * @return boolean
-   */
-  public function getGrantReportReceived() {
-    return $this->grantReportReceived;
-  }
-  
-  /**
-   * Set grantTypeId
-   *
-   * @param integer $grantTypeId
-   * @return Grant
-   */
-  public function setGrantTypeId($grantTypeId) {
-    $this->grantTypeId = $grantTypeId;
-    return $this;
-  }
-
-  /**
-   * Get grantTypeId
-   *
-   * @return integer
-   */
-  public function getGrantTypeId() {
-    return $this->grantTypeId;
-  }
-  
-  /**
-   * Set amountTotal
-   *
-   * @param float $amountTotal
-   * @return Grant
-   */
-  public function setAmountTotal($amountTotal) {
-    $this->amountTotal = $amountTotal;
-    return $this;
-  }
-
-  /**
-   * Get amountTotal
-   *
-   * @return float
-   */
-  public function getAmountTotal() {
-    return $this->amountTotal;
-  }
-  
-  /**
-   * Set amountRequested
-   *
-   * @param float $amountRequested
-   * @return Grant
-   */
-  public function setAmountRequested($amountRequested) {
-    $this->amountRequested = $amountRequested;
-    return $this;
-  }
-
-  /**
-   * Get amountRequested
-   *
-   * @return float
-   */
-  public function getAmountRequested() {
-    return $this->amountRequested;
-  }
-  
-  /**
-   * Set amountGranted
-   *
-   * @param float $amountGranted
-   * @return Grant
-   */
-  public function setAmountGranted($amountGranted) {
-    $this->amountGranted = $amountGranted;
-    return $this;
-  }
-
-  /**
-   * Get amountGranted
-   *
-   * @return float
-   */
-  public function getAmountGranted() {
-    return $this->amountGranted;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return Grant
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set rationale
-   *
-   * @param text $rationale
-   * @return Grant
-   */
-  public function setRationale($rationale) {
-    $this->rationale = $rationale;
-    return $this;
-  }
-
-  /**
-   * Get rationale
-   *
-   * @return text
-   */
-  public function getRationale() {
-    return $this->rationale;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return Grant
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return Grant
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-
-}
-
diff --git a/Civi/Mailing/BouncePattern.php b/Civi/Mailing/BouncePattern.php
deleted file mode 100644 (file)
index 4b2f02e..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/BouncePattern.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * BouncePattern
- *
- * @ORM\Table(name="civicrm_mailing_bounce_pattern", indexes={@ORM\Index(name="FK_civicrm_mailing_bounce_pattern_bounce_type_id", columns={"bounce_type_id"})})
- * @ORM\Entity
- */
-class BouncePattern extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\BounceType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\BounceType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="bounce_type_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $bounceType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="pattern", type="string", length=255, nullable=true)
-   * 
-   */
-  private $pattern;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set bounceType
-   *
-   * @param \Civi\Mailing\BounceType $bounceType
-   * @return BouncePattern
-   */
-  public function setBounceType(\Civi\Mailing\BounceType $bounceType = null) {
-    $this->bounceType = $bounceType;
-    return $this;
-  }
-
-  /**
-   * Get bounceType
-   *
-   * @return \Civi\Mailing\BounceType
-   */
-  public function getBounceType() {
-    return $this->bounceType;
-  }
-  
-  /**
-   * Set pattern
-   *
-   * @param string $pattern
-   * @return BouncePattern
-   */
-  public function setPattern($pattern) {
-    $this->pattern = $pattern;
-    return $this;
-  }
-
-  /**
-   * Get pattern
-   *
-   * @return string
-   */
-  public function getPattern() {
-    return $this->pattern;
-  }
-
-}
-
diff --git a/Civi/Mailing/BounceType.php b/Civi/Mailing/BounceType.php
deleted file mode 100644 (file)
index 7f7e33b..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/BounceType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * BounceType
- *
- * @ORM\Table(name="civicrm_mailing_bounce_type")
- * @ORM\Entity
- */
-class BounceType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=8, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="hold_threshold", type="integer", nullable=true)
-   * 
-   */
-  private $holdThreshold;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return BounceType
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return BounceType
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set holdThreshold
-   *
-   * @param integer $holdThreshold
-   * @return BounceType
-   */
-  public function setHoldThreshold($holdThreshold) {
-    $this->holdThreshold = $holdThreshold;
-    return $this;
-  }
-
-  /**
-   * Get holdThreshold
-   *
-   * @return integer
-   */
-  public function getHoldThreshold() {
-    return $this->holdThreshold;
-  }
-
-}
-
diff --git a/Civi/Mailing/Component.php b/Civi/Mailing/Component.php
deleted file mode 100644 (file)
index 1890fc3..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Component.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Component
- *
- * @ORM\Table(name="civicrm_mailing_component")
- * @ORM\Entity
- */
-class Component extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="component_type", type="string", length=12, nullable=true)
-   * 
-   */
-  private $componentType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=255, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="body_html", type="text", nullable=true)
-   * 
-   */
-  private $bodyHtml;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="body_text", type="text", nullable=true)
-   * 
-   */
-  private $bodyText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=false)
-   * 
-   */
-  private $isDefault = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Component
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set componentType
-   *
-   * @param string $componentType
-   * @return Component
-   */
-  public function setComponentType($componentType) {
-    $this->componentType = $componentType;
-    return $this;
-  }
-
-  /**
-   * Get componentType
-   *
-   * @return string
-   */
-  public function getComponentType() {
-    return $this->componentType;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return Component
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set bodyHtml
-   *
-   * @param text $bodyHtml
-   * @return Component
-   */
-  public function setBodyHtml($bodyHtml) {
-    $this->bodyHtml = $bodyHtml;
-    return $this;
-  }
-
-  /**
-   * Get bodyHtml
-   *
-   * @return text
-   */
-  public function getBodyHtml() {
-    return $this->bodyHtml;
-  }
-  
-  /**
-   * Set bodyText
-   *
-   * @param text $bodyText
-   * @return Component
-   */
-  public function setBodyText($bodyText) {
-    $this->bodyText = $bodyText;
-    return $this;
-  }
-
-  /**
-   * Get bodyText
-   *
-   * @return text
-   */
-  public function getBodyText() {
-    return $this->bodyText;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return Component
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Component
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Bounce.php b/Civi/Mailing/Event/Bounce.php
deleted file mode 100644 (file)
index a3d912e..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Bounce
- *
- * @ORM\Table(name="civicrm_mailing_event_bounce", indexes={@ORM\Index(name="FK_civicrm_mailing_event_bounce_event_queue_id", columns={"event_queue_id"})})
- * @ORM\Entity
- */
-class Bounce extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_queue_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventQueue;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="bounce_type_id", type="integer", nullable=true)
-   * 
-   */
-  private $bounceTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="bounce_reason", type="string", length=255, nullable=true)
-   * 
-   */
-  private $bounceReason;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $eventQueue
-   * @return Bounce
-   */
-  public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) {
-    $this->eventQueue = $eventQueue;
-    return $this;
-  }
-
-  /**
-   * Get eventQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getEventQueue() {
-    return $this->eventQueue;
-  }
-  
-  /**
-   * Set bounceTypeId
-   *
-   * @param integer $bounceTypeId
-   * @return Bounce
-   */
-  public function setBounceTypeId($bounceTypeId) {
-    $this->bounceTypeId = $bounceTypeId;
-    return $this;
-  }
-
-  /**
-   * Get bounceTypeId
-   *
-   * @return integer
-   */
-  public function getBounceTypeId() {
-    return $this->bounceTypeId;
-  }
-  
-  /**
-   * Set bounceReason
-   *
-   * @param string $bounceReason
-   * @return Bounce
-   */
-  public function setBounceReason($bounceReason) {
-    $this->bounceReason = $bounceReason;
-    return $this;
-  }
-
-  /**
-   * Get bounceReason
-   *
-   * @return string
-   */
-  public function getBounceReason() {
-    return $this->bounceReason;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Bounce
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Confirm.php b/Civi/Mailing/Event/Confirm.php
deleted file mode 100644 (file)
index 1221150..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Confirm
- *
- * @ORM\Table(name="civicrm_mailing_event_confirm", indexes={@ORM\Index(name="FK_civicrm_mailing_event_confirm_event_subscribe_id", columns={"event_subscribe_id"})})
- * @ORM\Entity
- */
-class Confirm extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Subscribe
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Subscribe")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_subscribe_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventSubscribe;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventSubscribe
-   *
-   * @param \Civi\Mailing\Event\Subscribe $eventSubscribe
-   * @return Confirm
-   */
-  public function setEventSubscribe(\Civi\Mailing\Event\Subscribe $eventSubscribe = null) {
-    $this->eventSubscribe = $eventSubscribe;
-    return $this;
-  }
-
-  /**
-   * Get eventSubscribe
-   *
-   * @return \Civi\Mailing\Event\Subscribe
-   */
-  public function getEventSubscribe() {
-    return $this->eventSubscribe;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Confirm
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Delivered.php b/Civi/Mailing/Event/Delivered.php
deleted file mode 100644 (file)
index 143b54a..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Delivered
- *
- * @ORM\Table(name="civicrm_mailing_event_delivered", indexes={@ORM\Index(name="FK_civicrm_mailing_event_delivered_event_queue_id", columns={"event_queue_id"})})
- * @ORM\Entity
- */
-class Delivered extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_queue_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventQueue;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $eventQueue
-   * @return Delivered
-   */
-  public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) {
-    $this->eventQueue = $eventQueue;
-    return $this;
-  }
-
-  /**
-   * Get eventQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getEventQueue() {
-    return $this->eventQueue;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Delivered
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Forward.php b/Civi/Mailing/Event/Forward.php
deleted file mode 100644 (file)
index 4c4ad9a..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Forward.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Forward
- *
- * @ORM\Table(name="civicrm_mailing_event_forward", indexes={@ORM\Index(name="FK_civicrm_mailing_event_forward_event_queue_id", columns={"event_queue_id"}),@ORM\Index(name="FK_civicrm_mailing_event_forward_dest_queue_id", columns={"dest_queue_id"})})
- * @ORM\Entity
- */
-class Forward extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_queue_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventQueue;
-  
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="dest_queue_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $destQueue;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $eventQueue
-   * @return Forward
-   */
-  public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) {
-    $this->eventQueue = $eventQueue;
-    return $this;
-  }
-
-  /**
-   * Get eventQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getEventQueue() {
-    return $this->eventQueue;
-  }
-  
-  /**
-   * Set destQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $destQueue
-   * @return Forward
-   */
-  public function setDestQueue(\Civi\Mailing\Event\Queue $destQueue = null) {
-    $this->destQueue = $destQueue;
-    return $this;
-  }
-
-  /**
-   * Get destQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getDestQueue() {
-    return $this->destQueue;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Forward
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Opened.php b/Civi/Mailing/Event/Opened.php
deleted file mode 100644 (file)
index 2d181c8..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Opened.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Opened
- *
- * @ORM\Table(name="civicrm_mailing_event_opened", indexes={@ORM\Index(name="FK_civicrm_mailing_event_opened_event_queue_id", columns={"event_queue_id"})})
- * @ORM\Entity
- */
-class Opened extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_queue_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventQueue;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $eventQueue
-   * @return Opened
-   */
-  public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) {
-    $this->eventQueue = $eventQueue;
-    return $this;
-  }
-
-  /**
-   * Get eventQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getEventQueue() {
-    return $this->eventQueue;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Opened
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Queue.php b/Civi/Mailing/Event/Queue.php
deleted file mode 100644 (file)
index 511fc2f..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Queue.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Queue
- *
- * @ORM\Table(name="civicrm_mailing_event_queue", indexes={@ORM\Index(name="FK_civicrm_mailing_event_queue_job_id", columns={"job_id"}),@ORM\Index(name="FK_civicrm_mailing_event_queue_email_id", columns={"email_id"}),@ORM\Index(name="FK_civicrm_mailing_event_queue_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_mailing_event_queue_phone_id", columns={"phone_id"})})
- * @ORM\Entity
- */
-class Queue extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\MailingJob
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\MailingJob")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="job_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $job;
-  
-  /**
-   * @var \Civi\Core\Email
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Email")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="email_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $email = 'NULL';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="hash", type="string", length=255, nullable=true)
-   * 
-   */
-  private $hash;
-  
-  /**
-   * @var \Civi\Core\Phone
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Phone")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="phone_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $phone = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set job
-   *
-   * @param \Civi\Mailing\MailingJob $job
-   * @return Queue
-   */
-  public function setJob(\Civi\Mailing\MailingJob $job = null) {
-    $this->job = $job;
-    return $this;
-  }
-
-  /**
-   * Get job
-   *
-   * @return \Civi\Mailing\MailingJob
-   */
-  public function getJob() {
-    return $this->job;
-  }
-  
-  /**
-   * Set email
-   *
-   * @param \Civi\Core\Email $email
-   * @return Queue
-   */
-  public function setEmail(\Civi\Core\Email $email = null) {
-    $this->email = $email;
-    return $this;
-  }
-
-  /**
-   * Get email
-   *
-   * @return \Civi\Core\Email
-   */
-  public function getEmail() {
-    return $this->email;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Queue
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set hash
-   *
-   * @param string $hash
-   * @return Queue
-   */
-  public function setHash($hash) {
-    $this->hash = $hash;
-    return $this;
-  }
-
-  /**
-   * Get hash
-   *
-   * @return string
-   */
-  public function getHash() {
-    return $this->hash;
-  }
-  
-  /**
-   * Set phone
-   *
-   * @param \Civi\Core\Phone $phone
-   * @return Queue
-   */
-  public function setPhone(\Civi\Core\Phone $phone = null) {
-    $this->phone = $phone;
-    return $this;
-  }
-
-  /**
-   * Get phone
-   *
-   * @return \Civi\Core\Phone
-   */
-  public function getPhone() {
-    return $this->phone;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Reply.php b/Civi/Mailing/Event/Reply.php
deleted file mode 100644 (file)
index 0f7874a..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Reply.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Reply
- *
- * @ORM\Table(name="civicrm_mailing_event_reply", indexes={@ORM\Index(name="FK_civicrm_mailing_event_reply_event_queue_id", columns={"event_queue_id"})})
- * @ORM\Entity
- */
-class Reply extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_queue_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventQueue;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $eventQueue
-   * @return Reply
-   */
-  public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) {
-    $this->eventQueue = $eventQueue;
-    return $this;
-  }
-
-  /**
-   * Get eventQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getEventQueue() {
-    return $this->eventQueue;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Reply
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Subscribe.php b/Civi/Mailing/Event/Subscribe.php
deleted file mode 100644 (file)
index 7f8c4f2..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Subscribe
- *
- * @ORM\Table(name="civicrm_mailing_event_subscribe", indexes={@ORM\Index(name="FK_civicrm_mailing_event_subscribe_group_id", columns={"group_id"}),@ORM\Index(name="FK_civicrm_mailing_event_subscribe_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class Subscribe extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Group
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Group")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="group_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $group;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="hash", type="string", length=255, nullable=true)
-   * 
-   */
-  private $hash;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set group
-   *
-   * @param \Civi\Contact\Group $group
-   * @return Subscribe
-   */
-  public function setGroup(\Civi\Contact\Group $group = null) {
-    $this->group = $group;
-    return $this;
-  }
-
-  /**
-   * Get group
-   *
-   * @return \Civi\Contact\Group
-   */
-  public function getGroup() {
-    return $this->group;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Subscribe
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set hash
-   *
-   * @param string $hash
-   * @return Subscribe
-   */
-  public function setHash($hash) {
-    $this->hash = $hash;
-    return $this;
-  }
-
-  /**
-   * Get hash
-   *
-   * @return string
-   */
-  public function getHash() {
-    return $this->hash;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Subscribe
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/TrackableURLOpen.php b/Civi/Mailing/Event/TrackableURLOpen.php
deleted file mode 100644 (file)
index c1bca60..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * TrackableURLOpen
- *
- * @ORM\Table(name="civicrm_mailing_event_trackable_url_open", indexes={@ORM\Index(name="FK_civicrm_mailing_event_trackable_url_open_event_queue_id", columns={"event_queue_id"}),@ORM\Index(name="FK_civicrm_mailing_event_trackable_url_open_trackable_url_id", columns={"trackable_url_id"})})
- * @ORM\Entity
- */
-class TrackableURLOpen extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_queue_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventQueue;
-  
-  /**
-   * @var \Civi\Mailing\TrackableURL
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\TrackableURL")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="trackable_url_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $trackableUrl;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $eventQueue
-   * @return TrackableURLOpen
-   */
-  public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) {
-    $this->eventQueue = $eventQueue;
-    return $this;
-  }
-
-  /**
-   * Get eventQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getEventQueue() {
-    return $this->eventQueue;
-  }
-  
-  /**
-   * Set trackableUrl
-   *
-   * @param \Civi\Mailing\TrackableURL $trackableUrl
-   * @return TrackableURLOpen
-   */
-  public function setTrackableUrl(\Civi\Mailing\TrackableURL $trackableUrl = null) {
-    $this->trackableUrl = $trackableUrl;
-    return $this;
-  }
-
-  /**
-   * Get trackableUrl
-   *
-   * @return \Civi\Mailing\TrackableURL
-   */
-  public function getTrackableUrl() {
-    return $this->trackableUrl;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return TrackableURLOpen
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Event/Unsubscribe.php b/Civi/Mailing/Event/Unsubscribe.php
deleted file mode 100644 (file)
index f4b3558..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Unsubscribe
- *
- * @ORM\Table(name="civicrm_mailing_event_unsubscribe", indexes={@ORM\Index(name="FK_civicrm_mailing_event_unsubscribe_event_queue_id", columns={"event_queue_id"})})
- * @ORM\Entity
- */
-class Unsubscribe extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Event\Queue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Event\Queue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="event_queue_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $eventQueue;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="org_unsubscribe", type="boolean", nullable=true)
-   * 
-   */
-  private $orgUnsubscribe;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="time_stamp", type="datetime", nullable=true)
-   * 
-   */
-  private $timeStamp;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set eventQueue
-   *
-   * @param \Civi\Mailing\Event\Queue $eventQueue
-   * @return Unsubscribe
-   */
-  public function setEventQueue(\Civi\Mailing\Event\Queue $eventQueue = null) {
-    $this->eventQueue = $eventQueue;
-    return $this;
-  }
-
-  /**
-   * Get eventQueue
-   *
-   * @return \Civi\Mailing\Event\Queue
-   */
-  public function getEventQueue() {
-    return $this->eventQueue;
-  }
-  
-  /**
-   * Set orgUnsubscribe
-   *
-   * @param boolean $orgUnsubscribe
-   * @return Unsubscribe
-   */
-  public function setOrgUnsubscribe($orgUnsubscribe) {
-    $this->orgUnsubscribe = $orgUnsubscribe;
-    return $this;
-  }
-
-  /**
-   * Get orgUnsubscribe
-   *
-   * @return boolean
-   */
-  public function getOrgUnsubscribe() {
-    return $this->orgUnsubscribe;
-  }
-  
-  /**
-   * Set timeStamp
-   *
-   * @param datetime $timeStamp
-   * @return Unsubscribe
-   */
-  public function setTimeStamp($timeStamp) {
-    $this->timeStamp = $timeStamp;
-    return $this;
-  }
-
-  /**
-   * Get timeStamp
-   *
-   * @return datetime
-   */
-  public function getTimeStamp() {
-    return $this->timeStamp;
-  }
-
-}
-
diff --git a/Civi/Mailing/Mailing.php b/Civi/Mailing/Mailing.php
deleted file mode 100644 (file)
index 7e9dcb0..0000000
+++ /dev/null
@@ -1,1020 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Mailing.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Mailing
- *
- * @ORM\Table(name="civicrm_mailing", indexes={@ORM\Index(name="FK_civicrm_mailing_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_mailing_header_id", columns={"header_id"}),@ORM\Index(name="FK_civicrm_mailing_footer_id", columns={"footer_id"}),@ORM\Index(name="FK_civicrm_mailing_reply_id", columns={"reply_id"}),@ORM\Index(name="FK_civicrm_mailing_unsubscribe_id", columns={"unsubscribe_id"}),@ORM\Index(name="FK_civicrm_mailing_optout_id", columns={"optout_id"}),@ORM\Index(name="FK_civicrm_mailing_msg_template_id", columns={"msg_template_id"}),@ORM\Index(name="FK_civicrm_mailing_created_id", columns={"created_id"}),@ORM\Index(name="FK_civicrm_mailing_scheduled_id", columns={"scheduled_id"}),@ORM\Index(name="FK_civicrm_mailing_approver_id", columns={"approver_id"}),@ORM\Index(name="FK_civicrm_mailing_campaign_id", columns={"campaign_id"}),@ORM\Index(name="FK_civicrm_mailing_sms_provider_id", columns={"sms_provider_id"})})
- * @ORM\Entity
- */
-class Mailing extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $domain;
-  
-  /**
-   * @var \Civi\Mailing\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="header_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $header;
-  
-  /**
-   * @var \Civi\Mailing\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="footer_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $footer;
-  
-  /**
-   * @var \Civi\Mailing\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="reply_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $reply;
-  
-  /**
-   * @var \Civi\Mailing\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="unsubscribe_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $unsubscribe;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="resubscribe_id", type="integer", nullable=true)
-   * 
-   */
-  private $resubscribeId;
-  
-  /**
-   * @var \Civi\Mailing\Component
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Component")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="optout_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $optout;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="from_name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $fromName;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="from_email", type="string", length=128, nullable=true)
-   * 
-   */
-  private $fromEmail;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="replyto_email", type="string", length=128, nullable=true)
-   * 
-   */
-  private $replytoEmail;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="subject", type="string", length=128, nullable=true)
-   * 
-   */
-  private $subject;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="body_text", type="longtext", nullable=true)
-   * 
-   */
-  private $bodyText;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="body_html", type="longtext", nullable=true)
-   * 
-   */
-  private $bodyHtml;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="url_tracking", type="boolean", nullable=true)
-   * 
-   */
-  private $urlTracking;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="forward_replies", type="boolean", nullable=true)
-   * 
-   */
-  private $forwardReplies;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="auto_responder", type="boolean", nullable=true)
-   * 
-   */
-  private $autoResponder;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="open_tracking", type="boolean", nullable=true)
-   * 
-   */
-  private $openTracking;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_completed", type="boolean", nullable=true)
-   * 
-   */
-  private $isCompleted;
-  
-  /**
-   * @var \Civi\Core\MessageTemplate
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\MessageTemplate")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="msg_template_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $msgTemplate;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="override_verp", type="boolean", nullable=false)
-   * 
-   */
-  private $overrideVerp = '0';
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="created_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $created;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="created_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createdDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="scheduled_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $scheduled;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="scheduled_date", type="datetime", nullable=true)
-   * 
-   */
-  private $scheduledDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="approver_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $approver;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="approval_date", type="datetime", nullable=true)
-   * 
-   */
-  private $approvalDate;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="approval_status_id", type="integer", nullable=true)
-   * 
-   */
-  private $approvalStatusId;
-  
-  /**
-   * @var longtext
-   *
-   * @ORM\Column(name="approval_note", type="longtext", nullable=true)
-   * 
-   */
-  private $approvalNote;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_archived", type="boolean", nullable=false)
-   * 
-   */
-  private $isArchived = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="visibility", type="string", length=40, nullable=false)
-   * 
-   */
-  private $visibility = 'User and User Admin Only';
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="dedupe_email", type="boolean", nullable=false)
-   * 
-   */
-  private $dedupeEmail = '0';
-  
-  /**
-   * @var \Civi\SMS\Provider
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\SMS\Provider")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="sms_provider_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $smsProvider;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return Mailing
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set header
-   *
-   * @param \Civi\Mailing\Component $header
-   * @return Mailing
-   */
-  public function setHeader(\Civi\Mailing\Component $header = null) {
-    $this->header = $header;
-    return $this;
-  }
-
-  /**
-   * Get header
-   *
-   * @return \Civi\Mailing\Component
-   */
-  public function getHeader() {
-    return $this->header;
-  }
-  
-  /**
-   * Set footer
-   *
-   * @param \Civi\Mailing\Component $footer
-   * @return Mailing
-   */
-  public function setFooter(\Civi\Mailing\Component $footer = null) {
-    $this->footer = $footer;
-    return $this;
-  }
-
-  /**
-   * Get footer
-   *
-   * @return \Civi\Mailing\Component
-   */
-  public function getFooter() {
-    return $this->footer;
-  }
-  
-  /**
-   * Set reply
-   *
-   * @param \Civi\Mailing\Component $reply
-   * @return Mailing
-   */
-  public function setReply(\Civi\Mailing\Component $reply = null) {
-    $this->reply = $reply;
-    return $this;
-  }
-
-  /**
-   * Get reply
-   *
-   * @return \Civi\Mailing\Component
-   */
-  public function getReply() {
-    return $this->reply;
-  }
-  
-  /**
-   * Set unsubscribe
-   *
-   * @param \Civi\Mailing\Component $unsubscribe
-   * @return Mailing
-   */
-  public function setUnsubscribe(\Civi\Mailing\Component $unsubscribe = null) {
-    $this->unsubscribe = $unsubscribe;
-    return $this;
-  }
-
-  /**
-   * Get unsubscribe
-   *
-   * @return \Civi\Mailing\Component
-   */
-  public function getUnsubscribe() {
-    return $this->unsubscribe;
-  }
-  
-  /**
-   * Set resubscribeId
-   *
-   * @param integer $resubscribeId
-   * @return Mailing
-   */
-  public function setResubscribeId($resubscribeId) {
-    $this->resubscribeId = $resubscribeId;
-    return $this;
-  }
-
-  /**
-   * Get resubscribeId
-   *
-   * @return integer
-   */
-  public function getResubscribeId() {
-    return $this->resubscribeId;
-  }
-  
-  /**
-   * Set optout
-   *
-   * @param \Civi\Mailing\Component $optout
-   * @return Mailing
-   */
-  public function setOptout(\Civi\Mailing\Component $optout = null) {
-    $this->optout = $optout;
-    return $this;
-  }
-
-  /**
-   * Get optout
-   *
-   * @return \Civi\Mailing\Component
-   */
-  public function getOptout() {
-    return $this->optout;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Mailing
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set fromName
-   *
-   * @param string $fromName
-   * @return Mailing
-   */
-  public function setFromName($fromName) {
-    $this->fromName = $fromName;
-    return $this;
-  }
-
-  /**
-   * Get fromName
-   *
-   * @return string
-   */
-  public function getFromName() {
-    return $this->fromName;
-  }
-  
-  /**
-   * Set fromEmail
-   *
-   * @param string $fromEmail
-   * @return Mailing
-   */
-  public function setFromEmail($fromEmail) {
-    $this->fromEmail = $fromEmail;
-    return $this;
-  }
-
-  /**
-   * Get fromEmail
-   *
-   * @return string
-   */
-  public function getFromEmail() {
-    return $this->fromEmail;
-  }
-  
-  /**
-   * Set replytoEmail
-   *
-   * @param string $replytoEmail
-   * @return Mailing
-   */
-  public function setReplytoEmail($replytoEmail) {
-    $this->replytoEmail = $replytoEmail;
-    return $this;
-  }
-
-  /**
-   * Get replytoEmail
-   *
-   * @return string
-   */
-  public function getReplytoEmail() {
-    return $this->replytoEmail;
-  }
-  
-  /**
-   * Set subject
-   *
-   * @param string $subject
-   * @return Mailing
-   */
-  public function setSubject($subject) {
-    $this->subject = $subject;
-    return $this;
-  }
-
-  /**
-   * Get subject
-   *
-   * @return string
-   */
-  public function getSubject() {
-    return $this->subject;
-  }
-  
-  /**
-   * Set bodyText
-   *
-   * @param longtext $bodyText
-   * @return Mailing
-   */
-  public function setBodyText($bodyText) {
-    $this->bodyText = $bodyText;
-    return $this;
-  }
-
-  /**
-   * Get bodyText
-   *
-   * @return longtext
-   */
-  public function getBodyText() {
-    return $this->bodyText;
-  }
-  
-  /**
-   * Set bodyHtml
-   *
-   * @param longtext $bodyHtml
-   * @return Mailing
-   */
-  public function setBodyHtml($bodyHtml) {
-    $this->bodyHtml = $bodyHtml;
-    return $this;
-  }
-
-  /**
-   * Get bodyHtml
-   *
-   * @return longtext
-   */
-  public function getBodyHtml() {
-    return $this->bodyHtml;
-  }
-  
-  /**
-   * Set urlTracking
-   *
-   * @param boolean $urlTracking
-   * @return Mailing
-   */
-  public function setUrlTracking($urlTracking) {
-    $this->urlTracking = $urlTracking;
-    return $this;
-  }
-
-  /**
-   * Get urlTracking
-   *
-   * @return boolean
-   */
-  public function getUrlTracking() {
-    return $this->urlTracking;
-  }
-  
-  /**
-   * Set forwardReplies
-   *
-   * @param boolean $forwardReplies
-   * @return Mailing
-   */
-  public function setForwardReplies($forwardReplies) {
-    $this->forwardReplies = $forwardReplies;
-    return $this;
-  }
-
-  /**
-   * Get forwardReplies
-   *
-   * @return boolean
-   */
-  public function getForwardReplies() {
-    return $this->forwardReplies;
-  }
-  
-  /**
-   * Set autoResponder
-   *
-   * @param boolean $autoResponder
-   * @return Mailing
-   */
-  public function setAutoResponder($autoResponder) {
-    $this->autoResponder = $autoResponder;
-    return $this;
-  }
-
-  /**
-   * Get autoResponder
-   *
-   * @return boolean
-   */
-  public function getAutoResponder() {
-    return $this->autoResponder;
-  }
-  
-  /**
-   * Set openTracking
-   *
-   * @param boolean $openTracking
-   * @return Mailing
-   */
-  public function setOpenTracking($openTracking) {
-    $this->openTracking = $openTracking;
-    return $this;
-  }
-
-  /**
-   * Get openTracking
-   *
-   * @return boolean
-   */
-  public function getOpenTracking() {
-    return $this->openTracking;
-  }
-  
-  /**
-   * Set isCompleted
-   *
-   * @param boolean $isCompleted
-   * @return Mailing
-   */
-  public function setIsCompleted($isCompleted) {
-    $this->isCompleted = $isCompleted;
-    return $this;
-  }
-
-  /**
-   * Get isCompleted
-   *
-   * @return boolean
-   */
-  public function getIsCompleted() {
-    return $this->isCompleted;
-  }
-  
-  /**
-   * Set msgTemplate
-   *
-   * @param \Civi\Core\MessageTemplate $msgTemplate
-   * @return Mailing
-   */
-  public function setMsgTemplate(\Civi\Core\MessageTemplate $msgTemplate = null) {
-    $this->msgTemplate = $msgTemplate;
-    return $this;
-  }
-
-  /**
-   * Get msgTemplate
-   *
-   * @return \Civi\Core\MessageTemplate
-   */
-  public function getMsgTemplate() {
-    return $this->msgTemplate;
-  }
-  
-  /**
-   * Set overrideVerp
-   *
-   * @param boolean $overrideVerp
-   * @return Mailing
-   */
-  public function setOverrideVerp($overrideVerp) {
-    $this->overrideVerp = $overrideVerp;
-    return $this;
-  }
-
-  /**
-   * Get overrideVerp
-   *
-   * @return boolean
-   */
-  public function getOverrideVerp() {
-    return $this->overrideVerp;
-  }
-  
-  /**
-   * Set created
-   *
-   * @param \Civi\Contact\Contact $created
-   * @return Mailing
-   */
-  public function setCreated(\Civi\Contact\Contact $created = null) {
-    $this->created = $created;
-    return $this;
-  }
-
-  /**
-   * Get created
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getCreated() {
-    return $this->created;
-  }
-  
-  /**
-   * Set createdDate
-   *
-   * @param datetime $createdDate
-   * @return Mailing
-   */
-  public function setCreatedDate($createdDate) {
-    $this->createdDate = $createdDate;
-    return $this;
-  }
-
-  /**
-   * Get createdDate
-   *
-   * @return datetime
-   */
-  public function getCreatedDate() {
-    return $this->createdDate;
-  }
-  
-  /**
-   * Set scheduled
-   *
-   * @param \Civi\Contact\Contact $scheduled
-   * @return Mailing
-   */
-  public function setScheduled(\Civi\Contact\Contact $scheduled = null) {
-    $this->scheduled = $scheduled;
-    return $this;
-  }
-
-  /**
-   * Get scheduled
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getScheduled() {
-    return $this->scheduled;
-  }
-  
-  /**
-   * Set scheduledDate
-   *
-   * @param datetime $scheduledDate
-   * @return Mailing
-   */
-  public function setScheduledDate($scheduledDate) {
-    $this->scheduledDate = $scheduledDate;
-    return $this;
-  }
-
-  /**
-   * Get scheduledDate
-   *
-   * @return datetime
-   */
-  public function getScheduledDate() {
-    return $this->scheduledDate;
-  }
-  
-  /**
-   * Set approver
-   *
-   * @param \Civi\Contact\Contact $approver
-   * @return Mailing
-   */
-  public function setApprover(\Civi\Contact\Contact $approver = null) {
-    $this->approver = $approver;
-    return $this;
-  }
-
-  /**
-   * Get approver
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getApprover() {
-    return $this->approver;
-  }
-  
-  /**
-   * Set approvalDate
-   *
-   * @param datetime $approvalDate
-   * @return Mailing
-   */
-  public function setApprovalDate($approvalDate) {
-    $this->approvalDate = $approvalDate;
-    return $this;
-  }
-
-  /**
-   * Get approvalDate
-   *
-   * @return datetime
-   */
-  public function getApprovalDate() {
-    return $this->approvalDate;
-  }
-  
-  /**
-   * Set approvalStatusId
-   *
-   * @param integer $approvalStatusId
-   * @return Mailing
-   */
-  public function setApprovalStatusId($approvalStatusId) {
-    $this->approvalStatusId = $approvalStatusId;
-    return $this;
-  }
-
-  /**
-   * Get approvalStatusId
-   *
-   * @return integer
-   */
-  public function getApprovalStatusId() {
-    return $this->approvalStatusId;
-  }
-  
-  /**
-   * Set approvalNote
-   *
-   * @param longtext $approvalNote
-   * @return Mailing
-   */
-  public function setApprovalNote($approvalNote) {
-    $this->approvalNote = $approvalNote;
-    return $this;
-  }
-
-  /**
-   * Get approvalNote
-   *
-   * @return longtext
-   */
-  public function getApprovalNote() {
-    return $this->approvalNote;
-  }
-  
-  /**
-   * Set isArchived
-   *
-   * @param boolean $isArchived
-   * @return Mailing
-   */
-  public function setIsArchived($isArchived) {
-    $this->isArchived = $isArchived;
-    return $this;
-  }
-
-  /**
-   * Get isArchived
-   *
-   * @return boolean
-   */
-  public function getIsArchived() {
-    return $this->isArchived;
-  }
-  
-  /**
-   * Set visibility
-   *
-   * @param string $visibility
-   * @return Mailing
-   */
-  public function setVisibility($visibility) {
-    $this->visibility = $visibility;
-    return $this;
-  }
-
-  /**
-   * Get visibility
-   *
-   * @return string
-   */
-  public function getVisibility() {
-    return $this->visibility;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Mailing
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-  
-  /**
-   * Set dedupeEmail
-   *
-   * @param boolean $dedupeEmail
-   * @return Mailing
-   */
-  public function setDedupeEmail($dedupeEmail) {
-    $this->dedupeEmail = $dedupeEmail;
-    return $this;
-  }
-
-  /**
-   * Get dedupeEmail
-   *
-   * @return boolean
-   */
-  public function getDedupeEmail() {
-    return $this->dedupeEmail;
-  }
-  
-  /**
-   * Set smsProvider
-   *
-   * @param \Civi\SMS\Provider $smsProvider
-   * @return Mailing
-   */
-  public function setSmsProvider(\Civi\SMS\Provider $smsProvider = null) {
-    $this->smsProvider = $smsProvider;
-    return $this;
-  }
-
-  /**
-   * Get smsProvider
-   *
-   * @return \Civi\SMS\Provider
-   */
-  public function getSmsProvider() {
-    return $this->smsProvider;
-  }
-
-}
-
diff --git a/Civi/Mailing/MailingGroup.php b/Civi/Mailing/MailingGroup.php
deleted file mode 100644 (file)
index 2db08d1..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/MailingGroup.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MailingGroup
- *
- * @ORM\Table(name="civicrm_mailing_group", indexes={@ORM\Index(name="FK_civicrm_mailing_group_mailing_id", columns={"mailing_id"})})
- * @ORM\Entity
- */
-class MailingGroup extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Mailing
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Mailing")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="mailing_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $mailing;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="group_type", type="string", length=8, nullable=true)
-   * 
-   */
-  private $groupType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="search_id", type="int", nullable=true)
-   * 
-   */
-  private $searchId;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="search_args", type="text", nullable=true)
-   * 
-   */
-  private $searchArgs;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set mailing
-   *
-   * @param \Civi\Mailing\Mailing $mailing
-   * @return MailingGroup
-   */
-  public function setMailing(\Civi\Mailing\Mailing $mailing = null) {
-    $this->mailing = $mailing;
-    return $this;
-  }
-
-  /**
-   * Get mailing
-   *
-   * @return \Civi\Mailing\Mailing
-   */
-  public function getMailing() {
-    return $this->mailing;
-  }
-  
-  /**
-   * Set groupType
-   *
-   * @param string $groupType
-   * @return MailingGroup
-   */
-  public function setGroupType($groupType) {
-    $this->groupType = $groupType;
-    return $this;
-  }
-
-  /**
-   * Get groupType
-   *
-   * @return string
-   */
-  public function getGroupType() {
-    return $this->groupType;
-  }
-  
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return MailingGroup
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return MailingGroup
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set searchId
-   *
-   * @param int $searchId
-   * @return MailingGroup
-   */
-  public function setSearchId($searchId) {
-    $this->searchId = $searchId;
-    return $this;
-  }
-
-  /**
-   * Get searchId
-   *
-   * @return int
-   */
-  public function getSearchId() {
-    return $this->searchId;
-  }
-  
-  /**
-   * Set searchArgs
-   *
-   * @param text $searchArgs
-   * @return MailingGroup
-   */
-  public function setSearchArgs($searchArgs) {
-    $this->searchArgs = $searchArgs;
-    return $this;
-  }
-
-  /**
-   * Get searchArgs
-   *
-   * @return text
-   */
-  public function getSearchArgs() {
-    return $this->searchArgs;
-  }
-
-}
-
diff --git a/Civi/Mailing/MailingJob.php b/Civi/Mailing/MailingJob.php
deleted file mode 100644 (file)
index 88f3f64..0000000
+++ /dev/null
@@ -1,348 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/MailingJob.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MailingJob
- *
- * @ORM\Table(name="civicrm_mailing_job", indexes={@ORM\Index(name="FK_civicrm_mailing_job_mailing_id", columns={"mailing_id"}),@ORM\Index(name="FK_civicrm_mailing_job_parent_id", columns={"parent_id"})})
- * @ORM\Entity
- */
-class MailingJob extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Mailing
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Mailing")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="mailing_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $mailing;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="scheduled_date", type="datetime", nullable=true)
-   * 
-   */
-  private $scheduledDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="start_date", type="datetime", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="end_date", type="datetime", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="status", type="string", length=12, nullable=true)
-   * 
-   */
-  private $status;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=false)
-   * 
-   */
-  private $isTest = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="job_type", type="string", length=255, nullable=true)
-   * 
-   */
-  private $jobType;
-  
-  /**
-   * @var \Civi\Mailing\MailingJob
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\MailingJob")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $parent = 'NULL';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="job_offset", type="int", nullable=false)
-   * 
-   */
-  private $jobOffset = '0';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="job_limit", type="int", nullable=false)
-   * 
-   */
-  private $jobLimit = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set mailing
-   *
-   * @param \Civi\Mailing\Mailing $mailing
-   * @return MailingJob
-   */
-  public function setMailing(\Civi\Mailing\Mailing $mailing = null) {
-    $this->mailing = $mailing;
-    return $this;
-  }
-
-  /**
-   * Get mailing
-   *
-   * @return \Civi\Mailing\Mailing
-   */
-  public function getMailing() {
-    return $this->mailing;
-  }
-  
-  /**
-   * Set scheduledDate
-   *
-   * @param datetime $scheduledDate
-   * @return MailingJob
-   */
-  public function setScheduledDate($scheduledDate) {
-    $this->scheduledDate = $scheduledDate;
-    return $this;
-  }
-
-  /**
-   * Get scheduledDate
-   *
-   * @return datetime
-   */
-  public function getScheduledDate() {
-    return $this->scheduledDate;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param datetime $startDate
-   * @return MailingJob
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return datetime
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param datetime $endDate
-   * @return MailingJob
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return datetime
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set status
-   *
-   * @param string $status
-   * @return MailingJob
-   */
-  public function setStatus($status) {
-    $this->status = $status;
-    return $this;
-  }
-
-  /**
-   * Get status
-   *
-   * @return string
-   */
-  public function getStatus() {
-    return $this->status;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return MailingJob
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set jobType
-   *
-   * @param string $jobType
-   * @return MailingJob
-   */
-  public function setJobType($jobType) {
-    $this->jobType = $jobType;
-    return $this;
-  }
-
-  /**
-   * Get jobType
-   *
-   * @return string
-   */
-  public function getJobType() {
-    return $this->jobType;
-  }
-  
-  /**
-   * Set parent
-   *
-   * @param \Civi\Mailing\MailingJob $parent
-   * @return MailingJob
-   */
-  public function setParent(\Civi\Mailing\MailingJob $parent = null) {
-    $this->parent = $parent;
-    return $this;
-  }
-
-  /**
-   * Get parent
-   *
-   * @return \Civi\Mailing\MailingJob
-   */
-  public function getParent() {
-    return $this->parent;
-  }
-  
-  /**
-   * Set jobOffset
-   *
-   * @param int $jobOffset
-   * @return MailingJob
-   */
-  public function setJobOffset($jobOffset) {
-    $this->jobOffset = $jobOffset;
-    return $this;
-  }
-
-  /**
-   * Get jobOffset
-   *
-   * @return int
-   */
-  public function getJobOffset() {
-    return $this->jobOffset;
-  }
-  
-  /**
-   * Set jobLimit
-   *
-   * @param int $jobLimit
-   * @return MailingJob
-   */
-  public function setJobLimit($jobLimit) {
-    $this->jobLimit = $jobLimit;
-    return $this;
-  }
-
-  /**
-   * Get jobLimit
-   *
-   * @return int
-   */
-  public function getJobLimit() {
-    return $this->jobLimit;
-  }
-
-}
-
diff --git a/Civi/Mailing/Recipients.php b/Civi/Mailing/Recipients.php
deleted file mode 100644 (file)
index 03c03b2..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Recipients.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Recipients
- *
- * @ORM\Table(name="civicrm_mailing_recipients", indexes={@ORM\Index(name="FK_civicrm_mailing_recipients_mailing_id", columns={"mailing_id"}),@ORM\Index(name="FK_civicrm_mailing_recipients_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_mailing_recipients_email_id", columns={"email_id"}),@ORM\Index(name="FK_civicrm_mailing_recipients_phone_id", columns={"phone_id"})})
- * @ORM\Entity
- */
-class Recipients extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\Mailing
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Mailing")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="mailing_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $mailing;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var \Civi\Core\Email
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Email")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="email_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $email = 'NULL';
-  
-  /**
-   * @var \Civi\Core\Phone
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Phone")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="phone_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $phone = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set mailing
-   *
-   * @param \Civi\Mailing\Mailing $mailing
-   * @return Recipients
-   */
-  public function setMailing(\Civi\Mailing\Mailing $mailing = null) {
-    $this->mailing = $mailing;
-    return $this;
-  }
-
-  /**
-   * Get mailing
-   *
-   * @return \Civi\Mailing\Mailing
-   */
-  public function getMailing() {
-    return $this->mailing;
-  }
-  
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Recipients
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set email
-   *
-   * @param \Civi\Core\Email $email
-   * @return Recipients
-   */
-  public function setEmail(\Civi\Core\Email $email = null) {
-    $this->email = $email;
-    return $this;
-  }
-
-  /**
-   * Get email
-   *
-   * @return \Civi\Core\Email
-   */
-  public function getEmail() {
-    return $this->email;
-  }
-  
-  /**
-   * Set phone
-   *
-   * @param \Civi\Core\Phone $phone
-   * @return Recipients
-   */
-  public function setPhone(\Civi\Core\Phone $phone = null) {
-    $this->phone = $phone;
-    return $this;
-  }
-
-  /**
-   * Get phone
-   *
-   * @return \Civi\Core\Phone
-   */
-  public function getPhone() {
-    return $this->phone;
-  }
-
-}
-
diff --git a/Civi/Mailing/Spool.php b/Civi/Mailing/Spool.php
deleted file mode 100644 (file)
index 2d5d935..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/Spool.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Spool
- *
- * @ORM\Table(name="civicrm_mailing_spool", indexes={@ORM\Index(name="FK_civicrm_mailing_spool_job_id", columns={"job_id"})})
- * @ORM\Entity
- */
-class Spool extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Mailing\MailingJob
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\MailingJob")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="job_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $job;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="recipient_email", type="text", nullable=true)
-   * 
-   */
-  private $recipientEmail;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="headers", type="text", nullable=true)
-   * 
-   */
-  private $headers;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="body", type="text", nullable=true)
-   * 
-   */
-  private $body;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="added_at", type="datetime", nullable=true)
-   * 
-   */
-  private $addedAt;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="removed_at", type="datetime", nullable=true)
-   * 
-   */
-  private $removedAt;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set job
-   *
-   * @param \Civi\Mailing\MailingJob $job
-   * @return Spool
-   */
-  public function setJob(\Civi\Mailing\MailingJob $job = null) {
-    $this->job = $job;
-    return $this;
-  }
-
-  /**
-   * Get job
-   *
-   * @return \Civi\Mailing\MailingJob
-   */
-  public function getJob() {
-    return $this->job;
-  }
-  
-  /**
-   * Set recipientEmail
-   *
-   * @param text $recipientEmail
-   * @return Spool
-   */
-  public function setRecipientEmail($recipientEmail) {
-    $this->recipientEmail = $recipientEmail;
-    return $this;
-  }
-
-  /**
-   * Get recipientEmail
-   *
-   * @return text
-   */
-  public function getRecipientEmail() {
-    return $this->recipientEmail;
-  }
-  
-  /**
-   * Set headers
-   *
-   * @param text $headers
-   * @return Spool
-   */
-  public function setHeaders($headers) {
-    $this->headers = $headers;
-    return $this;
-  }
-
-  /**
-   * Get headers
-   *
-   * @return text
-   */
-  public function getHeaders() {
-    return $this->headers;
-  }
-  
-  /**
-   * Set body
-   *
-   * @param text $body
-   * @return Spool
-   */
-  public function setBody($body) {
-    $this->body = $body;
-    return $this;
-  }
-
-  /**
-   * Get body
-   *
-   * @return text
-   */
-  public function getBody() {
-    return $this->body;
-  }
-  
-  /**
-   * Set addedAt
-   *
-   * @param datetime $addedAt
-   * @return Spool
-   */
-  public function setAddedAt($addedAt) {
-    $this->addedAt = $addedAt;
-    return $this;
-  }
-
-  /**
-   * Get addedAt
-   *
-   * @return datetime
-   */
-  public function getAddedAt() {
-    return $this->addedAt;
-  }
-  
-  /**
-   * Set removedAt
-   *
-   * @param datetime $removedAt
-   * @return Spool
-   */
-  public function setRemovedAt($removedAt) {
-    $this->removedAt = $removedAt;
-    return $this;
-  }
-
-  /**
-   * Get removedAt
-   *
-   * @return datetime
-   */
-  public function getRemovedAt() {
-    return $this->removedAt;
-  }
-
-}
-
diff --git a/Civi/Mailing/TrackableURL.php b/Civi/Mailing/TrackableURL.php
deleted file mode 100644 (file)
index 71c030c..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Mailing/TrackableURL.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * TrackableURL
- *
- * @ORM\Table(name="civicrm_mailing_trackable_url", indexes={@ORM\Index(name="FK_civicrm_mailing_trackable_url_mailing_id", columns={"mailing_id"})})
- * @ORM\Entity
- */
-class TrackableURL extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="url", type="string", length=255, nullable=true)
-   * 
-   */
-  private $url;
-  
-  /**
-   * @var \Civi\Mailing\Mailing
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Mailing\Mailing")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="mailing_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $mailing;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set url
-   *
-   * @param string $url
-   * @return TrackableURL
-   */
-  public function setUrl($url) {
-    $this->url = $url;
-    return $this;
-  }
-
-  /**
-   * Get url
-   *
-   * @return string
-   */
-  public function getUrl() {
-    return $this->url;
-  }
-  
-  /**
-   * Set mailing
-   *
-   * @param \Civi\Mailing\Mailing $mailing
-   * @return TrackableURL
-   */
-  public function setMailing(\Civi\Mailing\Mailing $mailing = null) {
-    $this->mailing = $mailing;
-    return $this;
-  }
-
-  /**
-   * Get mailing
-   *
-   * @return \Civi\Mailing\Mailing
-   */
-  public function getMailing() {
-    return $this->mailing;
-  }
-
-}
-
diff --git a/Civi/Member/Membership.php b/Civi/Member/Membership.php
deleted file mode 100644 (file)
index 7b12834..0000000
+++ /dev/null
@@ -1,460 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Member/Membership.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Membership
- *
- * @ORM\Table(name="civicrm_membership", indexes={@ORM\Index(name="index_owner_membership_id", columns={"owner_membership_id"}),@ORM\Index(name="FK_civicrm_membership_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_membership_membership_type_id", columns={"membership_type_id"}),@ORM\Index(name="FK_civicrm_membership_status_id", columns={"status_id"}),@ORM\Index(name="FK_civicrm_membership_owner_membership_id", columns={"owner_membership_id"}),@ORM\Index(name="FK_civicrm_membership_contribution_recur_id", columns={"contribution_recur_id"}),@ORM\Index(name="FK_civicrm_membership_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class Membership extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var \Civi\Member\MembershipType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\MembershipType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="membership_type_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $membershipType;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="join_date", type="date", nullable=true)
-   * 
-   */
-  private $joinDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="start_date", type="date", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="end_date", type="date", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="source", type="string", length=128, nullable=true)
-   * 
-   */
-  private $source;
-  
-  /**
-   * @var \Civi\Member\MembershipStatus
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\MembershipStatus")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="status_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $status;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_override", type="boolean", nullable=true)
-   * 
-   */
-  private $isOverride;
-  
-  /**
-   * @var \Civi\Member\Membership
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\Membership")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="owner_membership_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $ownerMembership;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="max_related", type="int", nullable=true)
-   * 
-   */
-  private $maxRelated;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=false)
-   * 
-   */
-  private $isTest = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_pay_later", type="boolean", nullable=false)
-   * 
-   */
-  private $isPayLater = '0';
-  
-  /**
-   * @var \Civi\Contribute\ContributionRecur
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\ContributionRecur")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_recur_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $contributionRecur;
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Membership
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set membershipType
-   *
-   * @param \Civi\Member\MembershipType $membershipType
-   * @return Membership
-   */
-  public function setMembershipType(\Civi\Member\MembershipType $membershipType = null) {
-    $this->membershipType = $membershipType;
-    return $this;
-  }
-
-  /**
-   * Get membershipType
-   *
-   * @return \Civi\Member\MembershipType
-   */
-  public function getMembershipType() {
-    return $this->membershipType;
-  }
-  
-  /**
-   * Set joinDate
-   *
-   * @param date $joinDate
-   * @return Membership
-   */
-  public function setJoinDate($joinDate) {
-    $this->joinDate = $joinDate;
-    return $this;
-  }
-
-  /**
-   * Get joinDate
-   *
-   * @return date
-   */
-  public function getJoinDate() {
-    return $this->joinDate;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param date $startDate
-   * @return Membership
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return date
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param date $endDate
-   * @return Membership
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return date
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set source
-   *
-   * @param string $source
-   * @return Membership
-   */
-  public function setSource($source) {
-    $this->source = $source;
-    return $this;
-  }
-
-  /**
-   * Get source
-   *
-   * @return string
-   */
-  public function getSource() {
-    return $this->source;
-  }
-  
-  /**
-   * Set status
-   *
-   * @param \Civi\Member\MembershipStatus $status
-   * @return Membership
-   */
-  public function setStatus(\Civi\Member\MembershipStatus $status = null) {
-    $this->status = $status;
-    return $this;
-  }
-
-  /**
-   * Get status
-   *
-   * @return \Civi\Member\MembershipStatus
-   */
-  public function getStatus() {
-    return $this->status;
-  }
-  
-  /**
-   * Set isOverride
-   *
-   * @param boolean $isOverride
-   * @return Membership
-   */
-  public function setIsOverride($isOverride) {
-    $this->isOverride = $isOverride;
-    return $this;
-  }
-
-  /**
-   * Get isOverride
-   *
-   * @return boolean
-   */
-  public function getIsOverride() {
-    return $this->isOverride;
-  }
-  
-  /**
-   * Set ownerMembership
-   *
-   * @param \Civi\Member\Membership $ownerMembership
-   * @return Membership
-   */
-  public function setOwnerMembership(\Civi\Member\Membership $ownerMembership = null) {
-    $this->ownerMembership = $ownerMembership;
-    return $this;
-  }
-
-  /**
-   * Get ownerMembership
-   *
-   * @return \Civi\Member\Membership
-   */
-  public function getOwnerMembership() {
-    return $this->ownerMembership;
-  }
-  
-  /**
-   * Set maxRelated
-   *
-   * @param int $maxRelated
-   * @return Membership
-   */
-  public function setMaxRelated($maxRelated) {
-    $this->maxRelated = $maxRelated;
-    return $this;
-  }
-
-  /**
-   * Get maxRelated
-   *
-   * @return int
-   */
-  public function getMaxRelated() {
-    return $this->maxRelated;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return Membership
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set isPayLater
-   *
-   * @param boolean $isPayLater
-   * @return Membership
-   */
-  public function setIsPayLater($isPayLater) {
-    $this->isPayLater = $isPayLater;
-    return $this;
-  }
-
-  /**
-   * Get isPayLater
-   *
-   * @return boolean
-   */
-  public function getIsPayLater() {
-    return $this->isPayLater;
-  }
-  
-  /**
-   * Set contributionRecur
-   *
-   * @param \Civi\Contribute\ContributionRecur $contributionRecur
-   * @return Membership
-   */
-  public function setContributionRecur(\Civi\Contribute\ContributionRecur $contributionRecur = null) {
-    $this->contributionRecur = $contributionRecur;
-    return $this;
-  }
-
-  /**
-   * Get contributionRecur
-   *
-   * @return \Civi\Contribute\ContributionRecur
-   */
-  public function getContributionRecur() {
-    return $this->contributionRecur;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Membership
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-
-}
-
diff --git a/Civi/Member/MembershipBlock.php b/Civi/Member/MembershipBlock.php
deleted file mode 100644 (file)
index 696e48e..0000000
+++ /dev/null
@@ -1,404 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Member/MembershipBlock.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MembershipBlock
- *
- * @ORM\Table(name="civicrm_membership_block", indexes={@ORM\Index(name="FK_civicrm_membership_block_entity_id", columns={"entity_id"}),@ORM\Index(name="FK_civicrm_membership_block_membership_type_default", columns={"membership_type_default"})})
- * @ORM\Entity
- */
-class MembershipBlock extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var \Civi\Contribute\ContributionPage
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\ContributionPage")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="entity_id", referencedColumnName="id")})
-   */
-  private $entity;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="membership_types", type="string", length=255, nullable=true)
-   * 
-   */
-  private $membershipTypes;
-  
-  /**
-   * @var \Civi\Member\MembershipType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\MembershipType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="membership_type_default", referencedColumnName="id")})
-   */
-  private $membershipTypeDefault;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="display_min_fee", type="boolean", nullable=false)
-   * 
-   */
-  private $displayMinFee = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_separate_payment", type="boolean", nullable=false)
-   * 
-   */
-  private $isSeparatePayment = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="new_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $newTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="new_text", type="text", nullable=true)
-   * 
-   */
-  private $newText;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="renewal_title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $renewalTitle;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="renewal_text", type="text", nullable=true)
-   * 
-   */
-  private $renewalText;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_required", type="boolean", nullable=false)
-   * 
-   */
-  private $isRequired = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return MembershipBlock
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entity
-   *
-   * @param \Civi\Contribute\ContributionPage $entity
-   * @return MembershipBlock
-   */
-  public function setEntity(\Civi\Contribute\ContributionPage $entity = null) {
-    $this->entity = $entity;
-    return $this;
-  }
-
-  /**
-   * Get entity
-   *
-   * @return \Civi\Contribute\ContributionPage
-   */
-  public function getEntity() {
-    return $this->entity;
-  }
-  
-  /**
-   * Set membershipTypes
-   *
-   * @param string $membershipTypes
-   * @return MembershipBlock
-   */
-  public function setMembershipTypes($membershipTypes) {
-    $this->membershipTypes = $membershipTypes;
-    return $this;
-  }
-
-  /**
-   * Get membershipTypes
-   *
-   * @return string
-   */
-  public function getMembershipTypes() {
-    return $this->membershipTypes;
-  }
-  
-  /**
-   * Set membershipTypeDefault
-   *
-   * @param \Civi\Member\MembershipType $membershipTypeDefault
-   * @return MembershipBlock
-   */
-  public function setMembershipTypeDefault(\Civi\Member\MembershipType $membershipTypeDefault = null) {
-    $this->membershipTypeDefault = $membershipTypeDefault;
-    return $this;
-  }
-
-  /**
-   * Get membershipTypeDefault
-   *
-   * @return \Civi\Member\MembershipType
-   */
-  public function getMembershipTypeDefault() {
-    return $this->membershipTypeDefault;
-  }
-  
-  /**
-   * Set displayMinFee
-   *
-   * @param boolean $displayMinFee
-   * @return MembershipBlock
-   */
-  public function setDisplayMinFee($displayMinFee) {
-    $this->displayMinFee = $displayMinFee;
-    return $this;
-  }
-
-  /**
-   * Get displayMinFee
-   *
-   * @return boolean
-   */
-  public function getDisplayMinFee() {
-    return $this->displayMinFee;
-  }
-  
-  /**
-   * Set isSeparatePayment
-   *
-   * @param boolean $isSeparatePayment
-   * @return MembershipBlock
-   */
-  public function setIsSeparatePayment($isSeparatePayment) {
-    $this->isSeparatePayment = $isSeparatePayment;
-    return $this;
-  }
-
-  /**
-   * Get isSeparatePayment
-   *
-   * @return boolean
-   */
-  public function getIsSeparatePayment() {
-    return $this->isSeparatePayment;
-  }
-  
-  /**
-   * Set newTitle
-   *
-   * @param string $newTitle
-   * @return MembershipBlock
-   */
-  public function setNewTitle($newTitle) {
-    $this->newTitle = $newTitle;
-    return $this;
-  }
-
-  /**
-   * Get newTitle
-   *
-   * @return string
-   */
-  public function getNewTitle() {
-    return $this->newTitle;
-  }
-  
-  /**
-   * Set newText
-   *
-   * @param text $newText
-   * @return MembershipBlock
-   */
-  public function setNewText($newText) {
-    $this->newText = $newText;
-    return $this;
-  }
-
-  /**
-   * Get newText
-   *
-   * @return text
-   */
-  public function getNewText() {
-    return $this->newText;
-  }
-  
-  /**
-   * Set renewalTitle
-   *
-   * @param string $renewalTitle
-   * @return MembershipBlock
-   */
-  public function setRenewalTitle($renewalTitle) {
-    $this->renewalTitle = $renewalTitle;
-    return $this;
-  }
-
-  /**
-   * Get renewalTitle
-   *
-   * @return string
-   */
-  public function getRenewalTitle() {
-    return $this->renewalTitle;
-  }
-  
-  /**
-   * Set renewalText
-   *
-   * @param text $renewalText
-   * @return MembershipBlock
-   */
-  public function setRenewalText($renewalText) {
-    $this->renewalText = $renewalText;
-    return $this;
-  }
-
-  /**
-   * Get renewalText
-   *
-   * @return text
-   */
-  public function getRenewalText() {
-    return $this->renewalText;
-  }
-  
-  /**
-   * Set isRequired
-   *
-   * @param boolean $isRequired
-   * @return MembershipBlock
-   */
-  public function setIsRequired($isRequired) {
-    $this->isRequired = $isRequired;
-    return $this;
-  }
-
-  /**
-   * Get isRequired
-   *
-   * @return boolean
-   */
-  public function getIsRequired() {
-    return $this->isRequired;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return MembershipBlock
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/Member/MembershipLog.php b/Civi/Member/MembershipLog.php
deleted file mode 100644 (file)
index 211ac7e..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Member/MembershipLog.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MembershipLog
- *
- * @ORM\Table(name="civicrm_membership_log", indexes={@ORM\Index(name="FK_civicrm_membership_log_membership_id", columns={"membership_id"}),@ORM\Index(name="FK_civicrm_membership_log_status_id", columns={"status_id"}),@ORM\Index(name="FK_civicrm_membership_log_modified_id", columns={"modified_id"}),@ORM\Index(name="FK_civicrm_membership_log_membership_type_id", columns={"membership_type_id"})})
- * @ORM\Entity
- */
-class MembershipLog extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Member\Membership
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\Membership")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="membership_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $membership;
-  
-  /**
-   * @var \Civi\Member\MembershipStatus
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\MembershipStatus")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="status_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $status;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="start_date", type="date", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="end_date", type="date", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="modified_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $modified;
-  
-  /**
-   * @var date
-   *
-   * @ORM\Column(name="modified_date", type="date", nullable=true)
-   * 
-   */
-  private $modifiedDate;
-  
-  /**
-   * @var \Civi\Member\MembershipType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\MembershipType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="membership_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $membershipType;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="max_related", type="int", nullable=true)
-   * 
-   */
-  private $maxRelated;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set membership
-   *
-   * @param \Civi\Member\Membership $membership
-   * @return MembershipLog
-   */
-  public function setMembership(\Civi\Member\Membership $membership = null) {
-    $this->membership = $membership;
-    return $this;
-  }
-
-  /**
-   * Get membership
-   *
-   * @return \Civi\Member\Membership
-   */
-  public function getMembership() {
-    return $this->membership;
-  }
-  
-  /**
-   * Set status
-   *
-   * @param \Civi\Member\MembershipStatus $status
-   * @return MembershipLog
-   */
-  public function setStatus(\Civi\Member\MembershipStatus $status = null) {
-    $this->status = $status;
-    return $this;
-  }
-
-  /**
-   * Get status
-   *
-   * @return \Civi\Member\MembershipStatus
-   */
-  public function getStatus() {
-    return $this->status;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param date $startDate
-   * @return MembershipLog
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return date
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param date $endDate
-   * @return MembershipLog
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return date
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set modified
-   *
-   * @param \Civi\Contact\Contact $modified
-   * @return MembershipLog
-   */
-  public function setModified(\Civi\Contact\Contact $modified = null) {
-    $this->modified = $modified;
-    return $this;
-  }
-
-  /**
-   * Get modified
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getModified() {
-    return $this->modified;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param date $modifiedDate
-   * @return MembershipLog
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return date
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-  
-  /**
-   * Set membershipType
-   *
-   * @param \Civi\Member\MembershipType $membershipType
-   * @return MembershipLog
-   */
-  public function setMembershipType(\Civi\Member\MembershipType $membershipType = null) {
-    $this->membershipType = $membershipType;
-    return $this;
-  }
-
-  /**
-   * Get membershipType
-   *
-   * @return \Civi\Member\MembershipType
-   */
-  public function getMembershipType() {
-    return $this->membershipType;
-  }
-  
-  /**
-   * Set maxRelated
-   *
-   * @param int $maxRelated
-   * @return MembershipLog
-   */
-  public function setMaxRelated($maxRelated) {
-    $this->maxRelated = $maxRelated;
-    return $this;
-  }
-
-  /**
-   * Get maxRelated
-   *
-   * @return int
-   */
-  public function getMaxRelated() {
-    return $this->maxRelated;
-  }
-
-}
-
diff --git a/Civi/Member/MembershipPayment.php b/Civi/Member/MembershipPayment.php
deleted file mode 100644 (file)
index b2e0a19..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Member/MembershipPayment.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MembershipPayment
- *
- * @ORM\Table(name="civicrm_membership_payment", uniqueConstraints={@ORM\UniqueConstraint(name="UI_contribution_membership", columns={"contribution_id,membership_id"})}, indexes={@ORM\Index(name="FK_civicrm_membership_payment_membership_id", columns={"membership_id"}),@ORM\Index(name="FK_civicrm_membership_payment_contribution_id", columns={"contribution_id"})})
- * @ORM\Entity
- */
-class MembershipPayment extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Member\Membership
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\Membership")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="membership_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $membership;
-  
-  /**
-   * @var \Civi\Contribute\Contribution
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\Contribution")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contribution;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set membership
-   *
-   * @param \Civi\Member\Membership $membership
-   * @return MembershipPayment
-   */
-  public function setMembership(\Civi\Member\Membership $membership = null) {
-    $this->membership = $membership;
-    return $this;
-  }
-
-  /**
-   * Get membership
-   *
-   * @return \Civi\Member\Membership
-   */
-  public function getMembership() {
-    return $this->membership;
-  }
-  
-  /**
-   * Set contribution
-   *
-   * @param \Civi\Contribute\Contribution $contribution
-   * @return MembershipPayment
-   */
-  public function setContribution(\Civi\Contribute\Contribution $contribution = null) {
-    $this->contribution = $contribution;
-    return $this;
-  }
-
-  /**
-   * Get contribution
-   *
-   * @return \Civi\Contribute\Contribution
-   */
-  public function getContribution() {
-    return $this->contribution;
-  }
-
-}
-
diff --git a/Civi/Member/MembershipStatus.php b/Civi/Member/MembershipStatus.php
deleted file mode 100644 (file)
index 28bfec1..0000000
+++ /dev/null
@@ -1,460 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Member/MembershipStatus.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MembershipStatus
- *
- * @ORM\Table(name="civicrm_membership_status")
- * @ORM\Entity
- */
-class MembershipStatus extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=128, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="start_event", type="string", length=12, nullable=true)
-   * 
-   */
-  private $startEvent;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="start_event_adjust_unit", type="string", length=8, nullable=true)
-   * 
-   */
-  private $startEventAdjustUnit;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="start_event_adjust_interval", type="int", nullable=true)
-   * 
-   */
-  private $startEventAdjustInterval;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="end_event", type="string", length=12, nullable=true)
-   * 
-   */
-  private $endEvent;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="end_event_adjust_unit", type="string", length=8, nullable=true)
-   * 
-   */
-  private $endEventAdjustUnit;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="end_event_adjust_interval", type="int", nullable=true)
-   * 
-   */
-  private $endEventAdjustInterval;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_current_member", type="boolean", nullable=true)
-   * 
-   */
-  private $isCurrentMember;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_admin", type="boolean", nullable=true)
-   * 
-   */
-  private $isAdmin;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=true)
-   * 
-   */
-  private $weight;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=true)
-   * 
-   */
-  private $isDefault;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return MembershipStatus
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return MembershipStatus
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set startEvent
-   *
-   * @param string $startEvent
-   * @return MembershipStatus
-   */
-  public function setStartEvent($startEvent) {
-    $this->startEvent = $startEvent;
-    return $this;
-  }
-
-  /**
-   * Get startEvent
-   *
-   * @return string
-   */
-  public function getStartEvent() {
-    return $this->startEvent;
-  }
-  
-  /**
-   * Set startEventAdjustUnit
-   *
-   * @param string $startEventAdjustUnit
-   * @return MembershipStatus
-   */
-  public function setStartEventAdjustUnit($startEventAdjustUnit) {
-    $this->startEventAdjustUnit = $startEventAdjustUnit;
-    return $this;
-  }
-
-  /**
-   * Get startEventAdjustUnit
-   *
-   * @return string
-   */
-  public function getStartEventAdjustUnit() {
-    return $this->startEventAdjustUnit;
-  }
-  
-  /**
-   * Set startEventAdjustInterval
-   *
-   * @param int $startEventAdjustInterval
-   * @return MembershipStatus
-   */
-  public function setStartEventAdjustInterval($startEventAdjustInterval) {
-    $this->startEventAdjustInterval = $startEventAdjustInterval;
-    return $this;
-  }
-
-  /**
-   * Get startEventAdjustInterval
-   *
-   * @return int
-   */
-  public function getStartEventAdjustInterval() {
-    return $this->startEventAdjustInterval;
-  }
-  
-  /**
-   * Set endEvent
-   *
-   * @param string $endEvent
-   * @return MembershipStatus
-   */
-  public function setEndEvent($endEvent) {
-    $this->endEvent = $endEvent;
-    return $this;
-  }
-
-  /**
-   * Get endEvent
-   *
-   * @return string
-   */
-  public function getEndEvent() {
-    return $this->endEvent;
-  }
-  
-  /**
-   * Set endEventAdjustUnit
-   *
-   * @param string $endEventAdjustUnit
-   * @return MembershipStatus
-   */
-  public function setEndEventAdjustUnit($endEventAdjustUnit) {
-    $this->endEventAdjustUnit = $endEventAdjustUnit;
-    return $this;
-  }
-
-  /**
-   * Get endEventAdjustUnit
-   *
-   * @return string
-   */
-  public function getEndEventAdjustUnit() {
-    return $this->endEventAdjustUnit;
-  }
-  
-  /**
-   * Set endEventAdjustInterval
-   *
-   * @param int $endEventAdjustInterval
-   * @return MembershipStatus
-   */
-  public function setEndEventAdjustInterval($endEventAdjustInterval) {
-    $this->endEventAdjustInterval = $endEventAdjustInterval;
-    return $this;
-  }
-
-  /**
-   * Get endEventAdjustInterval
-   *
-   * @return int
-   */
-  public function getEndEventAdjustInterval() {
-    return $this->endEventAdjustInterval;
-  }
-  
-  /**
-   * Set isCurrentMember
-   *
-   * @param boolean $isCurrentMember
-   * @return MembershipStatus
-   */
-  public function setIsCurrentMember($isCurrentMember) {
-    $this->isCurrentMember = $isCurrentMember;
-    return $this;
-  }
-
-  /**
-   * Get isCurrentMember
-   *
-   * @return boolean
-   */
-  public function getIsCurrentMember() {
-    return $this->isCurrentMember;
-  }
-  
-  /**
-   * Set isAdmin
-   *
-   * @param boolean $isAdmin
-   * @return MembershipStatus
-   */
-  public function setIsAdmin($isAdmin) {
-    $this->isAdmin = $isAdmin;
-    return $this;
-  }
-
-  /**
-   * Get isAdmin
-   *
-   * @return boolean
-   */
-  public function getIsAdmin() {
-    return $this->isAdmin;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return MembershipStatus
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return MembershipStatus
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return MembershipStatus
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return MembershipStatus
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-
-}
-
diff --git a/Civi/Member/MembershipType.php b/Civi/Member/MembershipType.php
deleted file mode 100644 (file)
index 90f3d2c..0000000
+++ /dev/null
@@ -1,628 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Member/MembershipType.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * MembershipType
- *
- * @ORM\Table(name="civicrm_membership_type", indexes={@ORM\Index(name="index_relationship_type_id", columns={"relationship_type_id"}),@ORM\Index(name="FK_civicrm_membership_type_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_membership_type_member_of_contact_id", columns={"member_of_contact_id"}),@ORM\Index(name="FK_civicrm_membership_type_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class MembershipType extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=128, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="member_of_contact_id", referencedColumnName="id", onDelete="RESTRICT")})
-   */
-  private $memberOfContact;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id")})
-   */
-  private $financialType;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="minimum_fee", type="float", nullable=false)
-   * 
-   */
-  private $minimumFee = '0';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="duration_unit", type="string", length=8, nullable=true)
-   * 
-   */
-  private $durationUnit;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="duration_interval", type="int", nullable=true)
-   * 
-   */
-  private $durationInterval;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="period_type", type="string", length=8, nullable=true)
-   * 
-   */
-  private $periodType;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="fixed_period_start_day", type="int", nullable=true)
-   * 
-   */
-  private $fixedPeriodStartDay;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="fixed_period_rollover_day", type="int", nullable=true)
-   * 
-   */
-  private $fixedPeriodRolloverDay;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="relationship_type_id", type="string", length=64, nullable=true)
-   * 
-   */
-  private $relationshipTypeId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="relationship_direction", type="string", length=128, nullable=true)
-   * 
-   */
-  private $relationshipDirection;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="max_related", type="int", nullable=true)
-   * 
-   */
-  private $maxRelated;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="visibility", type="string", length=64, nullable=true)
-   * 
-   */
-  private $visibility;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=true)
-   * 
-   */
-  private $weight;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="receipt_text_signup", type="string", length=255, nullable=true)
-   * 
-   */
-  private $receiptTextSignup;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="receipt_text_renewal", type="string", length=255, nullable=true)
-   * 
-   */
-  private $receiptTextRenewal;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="auto_renew", type="boolean", nullable=false)
-   * 
-   */
-  private $autoRenew = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return MembershipType
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return MembershipType
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return MembershipType
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set memberOfContact
-   *
-   * @param \Civi\Contact\Contact $memberOfContact
-   * @return MembershipType
-   */
-  public function setMemberOfContact(\Civi\Contact\Contact $memberOfContact = null) {
-    $this->memberOfContact = $memberOfContact;
-    return $this;
-  }
-
-  /**
-   * Get memberOfContact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getMemberOfContact() {
-    return $this->memberOfContact;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return MembershipType
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set minimumFee
-   *
-   * @param float $minimumFee
-   * @return MembershipType
-   */
-  public function setMinimumFee($minimumFee) {
-    $this->minimumFee = $minimumFee;
-    return $this;
-  }
-
-  /**
-   * Get minimumFee
-   *
-   * @return float
-   */
-  public function getMinimumFee() {
-    return $this->minimumFee;
-  }
-  
-  /**
-   * Set durationUnit
-   *
-   * @param string $durationUnit
-   * @return MembershipType
-   */
-  public function setDurationUnit($durationUnit) {
-    $this->durationUnit = $durationUnit;
-    return $this;
-  }
-
-  /**
-   * Get durationUnit
-   *
-   * @return string
-   */
-  public function getDurationUnit() {
-    return $this->durationUnit;
-  }
-  
-  /**
-   * Set durationInterval
-   *
-   * @param int $durationInterval
-   * @return MembershipType
-   */
-  public function setDurationInterval($durationInterval) {
-    $this->durationInterval = $durationInterval;
-    return $this;
-  }
-
-  /**
-   * Get durationInterval
-   *
-   * @return int
-   */
-  public function getDurationInterval() {
-    return $this->durationInterval;
-  }
-  
-  /**
-   * Set periodType
-   *
-   * @param string $periodType
-   * @return MembershipType
-   */
-  public function setPeriodType($periodType) {
-    $this->periodType = $periodType;
-    return $this;
-  }
-
-  /**
-   * Get periodType
-   *
-   * @return string
-   */
-  public function getPeriodType() {
-    return $this->periodType;
-  }
-  
-  /**
-   * Set fixedPeriodStartDay
-   *
-   * @param int $fixedPeriodStartDay
-   * @return MembershipType
-   */
-  public function setFixedPeriodStartDay($fixedPeriodStartDay) {
-    $this->fixedPeriodStartDay = $fixedPeriodStartDay;
-    return $this;
-  }
-
-  /**
-   * Get fixedPeriodStartDay
-   *
-   * @return int
-   */
-  public function getFixedPeriodStartDay() {
-    return $this->fixedPeriodStartDay;
-  }
-  
-  /**
-   * Set fixedPeriodRolloverDay
-   *
-   * @param int $fixedPeriodRolloverDay
-   * @return MembershipType
-   */
-  public function setFixedPeriodRolloverDay($fixedPeriodRolloverDay) {
-    $this->fixedPeriodRolloverDay = $fixedPeriodRolloverDay;
-    return $this;
-  }
-
-  /**
-   * Get fixedPeriodRolloverDay
-   *
-   * @return int
-   */
-  public function getFixedPeriodRolloverDay() {
-    return $this->fixedPeriodRolloverDay;
-  }
-  
-  /**
-   * Set relationshipTypeId
-   *
-   * @param string $relationshipTypeId
-   * @return MembershipType
-   */
-  public function setRelationshipTypeId($relationshipTypeId) {
-    $this->relationshipTypeId = $relationshipTypeId;
-    return $this;
-  }
-
-  /**
-   * Get relationshipTypeId
-   *
-   * @return string
-   */
-  public function getRelationshipTypeId() {
-    return $this->relationshipTypeId;
-  }
-  
-  /**
-   * Set relationshipDirection
-   *
-   * @param string $relationshipDirection
-   * @return MembershipType
-   */
-  public function setRelationshipDirection($relationshipDirection) {
-    $this->relationshipDirection = $relationshipDirection;
-    return $this;
-  }
-
-  /**
-   * Get relationshipDirection
-   *
-   * @return string
-   */
-  public function getRelationshipDirection() {
-    return $this->relationshipDirection;
-  }
-  
-  /**
-   * Set maxRelated
-   *
-   * @param int $maxRelated
-   * @return MembershipType
-   */
-  public function setMaxRelated($maxRelated) {
-    $this->maxRelated = $maxRelated;
-    return $this;
-  }
-
-  /**
-   * Get maxRelated
-   *
-   * @return int
-   */
-  public function getMaxRelated() {
-    return $this->maxRelated;
-  }
-  
-  /**
-   * Set visibility
-   *
-   * @param string $visibility
-   * @return MembershipType
-   */
-  public function setVisibility($visibility) {
-    $this->visibility = $visibility;
-    return $this;
-  }
-
-  /**
-   * Get visibility
-   *
-   * @return string
-   */
-  public function getVisibility() {
-    return $this->visibility;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return MembershipType
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set receiptTextSignup
-   *
-   * @param string $receiptTextSignup
-   * @return MembershipType
-   */
-  public function setReceiptTextSignup($receiptTextSignup) {
-    $this->receiptTextSignup = $receiptTextSignup;
-    return $this;
-  }
-
-  /**
-   * Get receiptTextSignup
-   *
-   * @return string
-   */
-  public function getReceiptTextSignup() {
-    return $this->receiptTextSignup;
-  }
-  
-  /**
-   * Set receiptTextRenewal
-   *
-   * @param string $receiptTextRenewal
-   * @return MembershipType
-   */
-  public function setReceiptTextRenewal($receiptTextRenewal) {
-    $this->receiptTextRenewal = $receiptTextRenewal;
-    return $this;
-  }
-
-  /**
-   * Get receiptTextRenewal
-   *
-   * @return string
-   */
-  public function getReceiptTextRenewal() {
-    return $this->receiptTextRenewal;
-  }
-  
-  /**
-   * Set autoRenew
-   *
-   * @param boolean $autoRenew
-   * @return MembershipType
-   */
-  public function setAutoRenew($autoRenew) {
-    $this->autoRenew = $autoRenew;
-    return $this;
-  }
-
-  /**
-   * Get autoRenew
-   *
-   * @return boolean
-   */
-  public function getAutoRenew() {
-    return $this->autoRenew;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return MembershipType
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/PCP/PCP.php b/Civi/PCP/PCP.php
deleted file mode 100644 (file)
index bf397a1..0000000
+++ /dev/null
@@ -1,460 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/PCP/PCP.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PCP
- *
- * @ORM\Table(name="civicrm_pcp", indexes={@ORM\Index(name="FK_civicrm_pcp_contact_id", columns={"contact_id"})})
- * @ORM\Entity
- */
-class PCP extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=false)
-   * 
-   */
-  private $title = 'NULL';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="intro_text", type="text", nullable=false)
-   * 
-   */
-  private $introText = 'NULL';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="page_text", type="text", nullable=false)
-   * 
-   */
-  private $pageText = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="donate_link_text", type="string", length=255, nullable=false)
-   * 
-   */
-  private $donateLinkText = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="page_id", type="integer", nullable=true)
-   * 
-   */
-  private $pageId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="page_type", type="string", length=64, nullable=false)
-   * 
-   */
-  private $pageType = 'contribute';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="pcp_block_id", type="integer", nullable=true)
-   * 
-   */
-  private $pcpBlockId;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="is_thermometer", type="integer", nullable=false)
-   * 
-   */
-  private $isThermometer = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="is_honor_roll", type="integer", nullable=false)
-   * 
-   */
-  private $isHonorRoll = '0';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="goal_amount", type="float", nullable=true)
-   * 
-   */
-  private $goalAmount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return PCP
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return PCP
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return PCP
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set introText
-   *
-   * @param text $introText
-   * @return PCP
-   */
-  public function setIntroText($introText) {
-    $this->introText = $introText;
-    return $this;
-  }
-
-  /**
-   * Get introText
-   *
-   * @return text
-   */
-  public function getIntroText() {
-    return $this->introText;
-  }
-  
-  /**
-   * Set pageText
-   *
-   * @param text $pageText
-   * @return PCP
-   */
-  public function setPageText($pageText) {
-    $this->pageText = $pageText;
-    return $this;
-  }
-
-  /**
-   * Get pageText
-   *
-   * @return text
-   */
-  public function getPageText() {
-    return $this->pageText;
-  }
-  
-  /**
-   * Set donateLinkText
-   *
-   * @param string $donateLinkText
-   * @return PCP
-   */
-  public function setDonateLinkText($donateLinkText) {
-    $this->donateLinkText = $donateLinkText;
-    return $this;
-  }
-
-  /**
-   * Get donateLinkText
-   *
-   * @return string
-   */
-  public function getDonateLinkText() {
-    return $this->donateLinkText;
-  }
-  
-  /**
-   * Set pageId
-   *
-   * @param integer $pageId
-   * @return PCP
-   */
-  public function setPageId($pageId) {
-    $this->pageId = $pageId;
-    return $this;
-  }
-
-  /**
-   * Get pageId
-   *
-   * @return integer
-   */
-  public function getPageId() {
-    return $this->pageId;
-  }
-  
-  /**
-   * Set pageType
-   *
-   * @param string $pageType
-   * @return PCP
-   */
-  public function setPageType($pageType) {
-    $this->pageType = $pageType;
-    return $this;
-  }
-
-  /**
-   * Get pageType
-   *
-   * @return string
-   */
-  public function getPageType() {
-    return $this->pageType;
-  }
-  
-  /**
-   * Set pcpBlockId
-   *
-   * @param integer $pcpBlockId
-   * @return PCP
-   */
-  public function setPcpBlockId($pcpBlockId) {
-    $this->pcpBlockId = $pcpBlockId;
-    return $this;
-  }
-
-  /**
-   * Get pcpBlockId
-   *
-   * @return integer
-   */
-  public function getPcpBlockId() {
-    return $this->pcpBlockId;
-  }
-  
-  /**
-   * Set isThermometer
-   *
-   * @param integer $isThermometer
-   * @return PCP
-   */
-  public function setIsThermometer($isThermometer) {
-    $this->isThermometer = $isThermometer;
-    return $this;
-  }
-
-  /**
-   * Get isThermometer
-   *
-   * @return integer
-   */
-  public function getIsThermometer() {
-    return $this->isThermometer;
-  }
-  
-  /**
-   * Set isHonorRoll
-   *
-   * @param integer $isHonorRoll
-   * @return PCP
-   */
-  public function setIsHonorRoll($isHonorRoll) {
-    $this->isHonorRoll = $isHonorRoll;
-    return $this;
-  }
-
-  /**
-   * Get isHonorRoll
-   *
-   * @return integer
-   */
-  public function getIsHonorRoll() {
-    return $this->isHonorRoll;
-  }
-  
-  /**
-   * Set goalAmount
-   *
-   * @param float $goalAmount
-   * @return PCP
-   */
-  public function setGoalAmount($goalAmount) {
-    $this->goalAmount = $goalAmount;
-    return $this;
-  }
-
-  /**
-   * Get goalAmount
-   *
-   * @return float
-   */
-  public function getGoalAmount() {
-    return $this->goalAmount;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return PCP
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PCP
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/Civi/PCP/PCPBlock.php b/Civi/PCP/PCPBlock.php
deleted file mode 100644 (file)
index ad31285..0000000
+++ /dev/null
@@ -1,376 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/PCP/PCPBlock.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PCPBlock
- *
- * @ORM\Table(name="civicrm_pcp_block", indexes={@ORM\Index(name="FK_civicrm_pcp_block_supporter_profile_id", columns={"supporter_profile_id"})})
- * @ORM\Entity
- */
-class PCPBlock extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="target_entity_type", type="string", length=255, nullable=false)
-   * 
-   */
-  private $targetEntityType = 'contribute';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="target_entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $targetEntityId;
-  
-  /**
-   * @var \Civi\Core\UFGroup
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\UFGroup")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="supporter_profile_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $supporterProfile = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_approval_needed", type="boolean", nullable=false)
-   * 
-   */
-  private $isApprovalNeeded = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_tellfriend_enabled", type="boolean", nullable=false)
-   * 
-   */
-  private $isTellfriendEnabled = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="tellfriend_limit", type="integer", nullable=false)
-   * 
-   */
-  private $tellfriendLimit = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="link_text", type="string", length=255, nullable=false)
-   * 
-   */
-  private $linkText = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="notify_email", type="string", length=255, nullable=false)
-   * 
-   */
-  private $notifyEmail = 'NULL';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return PCPBlock
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return PCPBlock
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set targetEntityType
-   *
-   * @param string $targetEntityType
-   * @return PCPBlock
-   */
-  public function setTargetEntityType($targetEntityType) {
-    $this->targetEntityType = $targetEntityType;
-    return $this;
-  }
-
-  /**
-   * Get targetEntityType
-   *
-   * @return string
-   */
-  public function getTargetEntityType() {
-    return $this->targetEntityType;
-  }
-  
-  /**
-   * Set targetEntityId
-   *
-   * @param integer $targetEntityId
-   * @return PCPBlock
-   */
-  public function setTargetEntityId($targetEntityId) {
-    $this->targetEntityId = $targetEntityId;
-    return $this;
-  }
-
-  /**
-   * Get targetEntityId
-   *
-   * @return integer
-   */
-  public function getTargetEntityId() {
-    return $this->targetEntityId;
-  }
-  
-  /**
-   * Set supporterProfile
-   *
-   * @param \Civi\Core\UFGroup $supporterProfile
-   * @return PCPBlock
-   */
-  public function setSupporterProfile(\Civi\Core\UFGroup $supporterProfile = null) {
-    $this->supporterProfile = $supporterProfile;
-    return $this;
-  }
-
-  /**
-   * Get supporterProfile
-   *
-   * @return \Civi\Core\UFGroup
-   */
-  public function getSupporterProfile() {
-    return $this->supporterProfile;
-  }
-  
-  /**
-   * Set isApprovalNeeded
-   *
-   * @param boolean $isApprovalNeeded
-   * @return PCPBlock
-   */
-  public function setIsApprovalNeeded($isApprovalNeeded) {
-    $this->isApprovalNeeded = $isApprovalNeeded;
-    return $this;
-  }
-
-  /**
-   * Get isApprovalNeeded
-   *
-   * @return boolean
-   */
-  public function getIsApprovalNeeded() {
-    return $this->isApprovalNeeded;
-  }
-  
-  /**
-   * Set isTellfriendEnabled
-   *
-   * @param boolean $isTellfriendEnabled
-   * @return PCPBlock
-   */
-  public function setIsTellfriendEnabled($isTellfriendEnabled) {
-    $this->isTellfriendEnabled = $isTellfriendEnabled;
-    return $this;
-  }
-
-  /**
-   * Get isTellfriendEnabled
-   *
-   * @return boolean
-   */
-  public function getIsTellfriendEnabled() {
-    return $this->isTellfriendEnabled;
-  }
-  
-  /**
-   * Set tellfriendLimit
-   *
-   * @param integer $tellfriendLimit
-   * @return PCPBlock
-   */
-  public function setTellfriendLimit($tellfriendLimit) {
-    $this->tellfriendLimit = $tellfriendLimit;
-    return $this;
-  }
-
-  /**
-   * Get tellfriendLimit
-   *
-   * @return integer
-   */
-  public function getTellfriendLimit() {
-    return $this->tellfriendLimit;
-  }
-  
-  /**
-   * Set linkText
-   *
-   * @param string $linkText
-   * @return PCPBlock
-   */
-  public function setLinkText($linkText) {
-    $this->linkText = $linkText;
-    return $this;
-  }
-
-  /**
-   * Get linkText
-   *
-   * @return string
-   */
-  public function getLinkText() {
-    return $this->linkText;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PCPBlock
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set notifyEmail
-   *
-   * @param string $notifyEmail
-   * @return PCPBlock
-   */
-  public function setNotifyEmail($notifyEmail) {
-    $this->notifyEmail = $notifyEmail;
-    return $this;
-  }
-
-  /**
-   * Get notifyEmail
-   *
-   * @return string
-   */
-  public function getNotifyEmail() {
-    return $this->notifyEmail;
-  }
-
-}
-
diff --git a/Civi/Pledge/Pledge.php b/Civi/Pledge/Pledge.php
deleted file mode 100644 (file)
index 70f3df1..0000000
+++ /dev/null
@@ -1,684 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Pledge/Pledge.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Pledge
- *
- * @ORM\Table(name="civicrm_pledge", indexes={@ORM\Index(name="index_status", columns={"status_id"}),@ORM\Index(name="FK_civicrm_pledge_contact_id", columns={"contact_id"}),@ORM\Index(name="FK_civicrm_pledge_financial_type_id", columns={"financial_type_id"}),@ORM\Index(name="FK_civicrm_pledge_contribution_page_id", columns={"contribution_page_id"}),@ORM\Index(name="FK_civicrm_pledge_campaign_id", columns={"campaign_id"})})
- * @ORM\Entity
- */
-class Pledge extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Contact\Contact
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contact\Contact")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contact_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contact;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id")})
-   */
-  private $financialType;
-  
-  /**
-   * @var \Civi\Contribute\ContributionPage
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\ContributionPage")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_page_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $contributionPage;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="amount", type="float", nullable=true)
-   * 
-   */
-  private $amount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="original_installment_amount", type="float", nullable=true)
-   * 
-   */
-  private $originalInstallmentAmount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="frequency_unit", type="string", length=8, nullable=false)
-   * 
-   */
-  private $frequencyUnit = 'month';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="frequency_interval", type="integer", nullable=false)
-   * 
-   */
-  private $frequencyInterval = '1';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="frequency_day", type="integer", nullable=false)
-   * 
-   */
-  private $frequencyDay = '3';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="installments", type="integer", nullable=false)
-   * 
-   */
-  private $installments = '1';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="start_date", type="datetime", nullable=true)
-   * 
-   */
-  private $startDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="create_date", type="datetime", nullable=true)
-   * 
-   */
-  private $createDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="acknowledge_date", type="datetime", nullable=true)
-   * 
-   */
-  private $acknowledgeDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="modified_date", type="datetime", nullable=true)
-   * 
-   */
-  private $modifiedDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="cancel_date", type="datetime", nullable=true)
-   * 
-   */
-  private $cancelDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="end_date", type="datetime", nullable=true)
-   * 
-   */
-  private $endDate;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="max_reminders", type="integer", nullable=false)
-   * 
-   */
-  private $maxReminders = '1';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="initial_reminder_day", type="integer", nullable=false)
-   * 
-   */
-  private $initialReminderDay = '5';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="additional_reminder_day", type="integer", nullable=false)
-   * 
-   */
-  private $additionalReminderDay = '5';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_test", type="boolean", nullable=false)
-   * 
-   */
-  private $isTest = '0';
-  
-  /**
-   * @var \Civi\Campaign\Campaign
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Campaign\Campaign")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="campaign_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $campaign;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set contact
-   *
-   * @param \Civi\Contact\Contact $contact
-   * @return Pledge
-   */
-  public function setContact(\Civi\Contact\Contact $contact = null) {
-    $this->contact = $contact;
-    return $this;
-  }
-
-  /**
-   * Get contact
-   *
-   * @return \Civi\Contact\Contact
-   */
-  public function getContact() {
-    return $this->contact;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return Pledge
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set contributionPage
-   *
-   * @param \Civi\Contribute\ContributionPage $contributionPage
-   * @return Pledge
-   */
-  public function setContributionPage(\Civi\Contribute\ContributionPage $contributionPage = null) {
-    $this->contributionPage = $contributionPage;
-    return $this;
-  }
-
-  /**
-   * Get contributionPage
-   *
-   * @return \Civi\Contribute\ContributionPage
-   */
-  public function getContributionPage() {
-    return $this->contributionPage;
-  }
-  
-  /**
-   * Set amount
-   *
-   * @param float $amount
-   * @return Pledge
-   */
-  public function setAmount($amount) {
-    $this->amount = $amount;
-    return $this;
-  }
-
-  /**
-   * Get amount
-   *
-   * @return float
-   */
-  public function getAmount() {
-    return $this->amount;
-  }
-  
-  /**
-   * Set originalInstallmentAmount
-   *
-   * @param float $originalInstallmentAmount
-   * @return Pledge
-   */
-  public function setOriginalInstallmentAmount($originalInstallmentAmount) {
-    $this->originalInstallmentAmount = $originalInstallmentAmount;
-    return $this;
-  }
-
-  /**
-   * Get originalInstallmentAmount
-   *
-   * @return float
-   */
-  public function getOriginalInstallmentAmount() {
-    return $this->originalInstallmentAmount;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return Pledge
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set frequencyUnit
-   *
-   * @param string $frequencyUnit
-   * @return Pledge
-   */
-  public function setFrequencyUnit($frequencyUnit) {
-    $this->frequencyUnit = $frequencyUnit;
-    return $this;
-  }
-
-  /**
-   * Get frequencyUnit
-   *
-   * @return string
-   */
-  public function getFrequencyUnit() {
-    return $this->frequencyUnit;
-  }
-  
-  /**
-   * Set frequencyInterval
-   *
-   * @param integer $frequencyInterval
-   * @return Pledge
-   */
-  public function setFrequencyInterval($frequencyInterval) {
-    $this->frequencyInterval = $frequencyInterval;
-    return $this;
-  }
-
-  /**
-   * Get frequencyInterval
-   *
-   * @return integer
-   */
-  public function getFrequencyInterval() {
-    return $this->frequencyInterval;
-  }
-  
-  /**
-   * Set frequencyDay
-   *
-   * @param integer $frequencyDay
-   * @return Pledge
-   */
-  public function setFrequencyDay($frequencyDay) {
-    $this->frequencyDay = $frequencyDay;
-    return $this;
-  }
-
-  /**
-   * Get frequencyDay
-   *
-   * @return integer
-   */
-  public function getFrequencyDay() {
-    return $this->frequencyDay;
-  }
-  
-  /**
-   * Set installments
-   *
-   * @param integer $installments
-   * @return Pledge
-   */
-  public function setInstallments($installments) {
-    $this->installments = $installments;
-    return $this;
-  }
-
-  /**
-   * Get installments
-   *
-   * @return integer
-   */
-  public function getInstallments() {
-    return $this->installments;
-  }
-  
-  /**
-   * Set startDate
-   *
-   * @param datetime $startDate
-   * @return Pledge
-   */
-  public function setStartDate($startDate) {
-    $this->startDate = $startDate;
-    return $this;
-  }
-
-  /**
-   * Get startDate
-   *
-   * @return datetime
-   */
-  public function getStartDate() {
-    return $this->startDate;
-  }
-  
-  /**
-   * Set createDate
-   *
-   * @param datetime $createDate
-   * @return Pledge
-   */
-  public function setCreateDate($createDate) {
-    $this->createDate = $createDate;
-    return $this;
-  }
-
-  /**
-   * Get createDate
-   *
-   * @return datetime
-   */
-  public function getCreateDate() {
-    return $this->createDate;
-  }
-  
-  /**
-   * Set acknowledgeDate
-   *
-   * @param datetime $acknowledgeDate
-   * @return Pledge
-   */
-  public function setAcknowledgeDate($acknowledgeDate) {
-    $this->acknowledgeDate = $acknowledgeDate;
-    return $this;
-  }
-
-  /**
-   * Get acknowledgeDate
-   *
-   * @return datetime
-   */
-  public function getAcknowledgeDate() {
-    return $this->acknowledgeDate;
-  }
-  
-  /**
-   * Set modifiedDate
-   *
-   * @param datetime $modifiedDate
-   * @return Pledge
-   */
-  public function setModifiedDate($modifiedDate) {
-    $this->modifiedDate = $modifiedDate;
-    return $this;
-  }
-
-  /**
-   * Get modifiedDate
-   *
-   * @return datetime
-   */
-  public function getModifiedDate() {
-    return $this->modifiedDate;
-  }
-  
-  /**
-   * Set cancelDate
-   *
-   * @param datetime $cancelDate
-   * @return Pledge
-   */
-  public function setCancelDate($cancelDate) {
-    $this->cancelDate = $cancelDate;
-    return $this;
-  }
-
-  /**
-   * Get cancelDate
-   *
-   * @return datetime
-   */
-  public function getCancelDate() {
-    return $this->cancelDate;
-  }
-  
-  /**
-   * Set endDate
-   *
-   * @param datetime $endDate
-   * @return Pledge
-   */
-  public function setEndDate($endDate) {
-    $this->endDate = $endDate;
-    return $this;
-  }
-
-  /**
-   * Get endDate
-   *
-   * @return datetime
-   */
-  public function getEndDate() {
-    return $this->endDate;
-  }
-  
-  /**
-   * Set maxReminders
-   *
-   * @param integer $maxReminders
-   * @return Pledge
-   */
-  public function setMaxReminders($maxReminders) {
-    $this->maxReminders = $maxReminders;
-    return $this;
-  }
-
-  /**
-   * Get maxReminders
-   *
-   * @return integer
-   */
-  public function getMaxReminders() {
-    return $this->maxReminders;
-  }
-  
-  /**
-   * Set initialReminderDay
-   *
-   * @param integer $initialReminderDay
-   * @return Pledge
-   */
-  public function setInitialReminderDay($initialReminderDay) {
-    $this->initialReminderDay = $initialReminderDay;
-    return $this;
-  }
-
-  /**
-   * Get initialReminderDay
-   *
-   * @return integer
-   */
-  public function getInitialReminderDay() {
-    return $this->initialReminderDay;
-  }
-  
-  /**
-   * Set additionalReminderDay
-   *
-   * @param integer $additionalReminderDay
-   * @return Pledge
-   */
-  public function setAdditionalReminderDay($additionalReminderDay) {
-    $this->additionalReminderDay = $additionalReminderDay;
-    return $this;
-  }
-
-  /**
-   * Get additionalReminderDay
-   *
-   * @return integer
-   */
-  public function getAdditionalReminderDay() {
-    return $this->additionalReminderDay;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return Pledge
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-  
-  /**
-   * Set isTest
-   *
-   * @param boolean $isTest
-   * @return Pledge
-   */
-  public function setIsTest($isTest) {
-    $this->isTest = $isTest;
-    return $this;
-  }
-
-  /**
-   * Get isTest
-   *
-   * @return boolean
-   */
-  public function getIsTest() {
-    return $this->isTest;
-  }
-  
-  /**
-   * Set campaign
-   *
-   * @param \Civi\Campaign\Campaign $campaign
-   * @return Pledge
-   */
-  public function setCampaign(\Civi\Campaign\Campaign $campaign = null) {
-    $this->campaign = $campaign;
-    return $this;
-  }
-
-  /**
-   * Get campaign
-   *
-   * @return \Civi\Campaign\Campaign
-   */
-  public function getCampaign() {
-    return $this->campaign;
-  }
-
-}
-
diff --git a/Civi/Pledge/PledgeBlock.php b/Civi/Pledge/PledgeBlock.php
deleted file mode 100644 (file)
index 49ba664..0000000
+++ /dev/null
@@ -1,264 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PledgeBlock
- *
- * @ORM\Table(name="civicrm_pledge_block", indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"})})
- * @ORM\Entity
- */
-class PledgeBlock extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="pledge_frequency_unit", type="string", length=128, nullable=true)
-   * 
-   */
-  private $pledgeFrequencyUnit;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_pledge_interval", type="boolean", nullable=false)
-   * 
-   */
-  private $isPledgeInterval = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="max_reminders", type="integer", nullable=false)
-   * 
-   */
-  private $maxReminders = '1';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="initial_reminder_day", type="integer", nullable=false)
-   * 
-   */
-  private $initialReminderDay = '5';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="additional_reminder_day", type="integer", nullable=false)
-   * 
-   */
-  private $additionalReminderDay = '5';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return PledgeBlock
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return PledgeBlock
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set pledgeFrequencyUnit
-   *
-   * @param string $pledgeFrequencyUnit
-   * @return PledgeBlock
-   */
-  public function setPledgeFrequencyUnit($pledgeFrequencyUnit) {
-    $this->pledgeFrequencyUnit = $pledgeFrequencyUnit;
-    return $this;
-  }
-
-  /**
-   * Get pledgeFrequencyUnit
-   *
-   * @return string
-   */
-  public function getPledgeFrequencyUnit() {
-    return $this->pledgeFrequencyUnit;
-  }
-  
-  /**
-   * Set isPledgeInterval
-   *
-   * @param boolean $isPledgeInterval
-   * @return PledgeBlock
-   */
-  public function setIsPledgeInterval($isPledgeInterval) {
-    $this->isPledgeInterval = $isPledgeInterval;
-    return $this;
-  }
-
-  /**
-   * Get isPledgeInterval
-   *
-   * @return boolean
-   */
-  public function getIsPledgeInterval() {
-    return $this->isPledgeInterval;
-  }
-  
-  /**
-   * Set maxReminders
-   *
-   * @param integer $maxReminders
-   * @return PledgeBlock
-   */
-  public function setMaxReminders($maxReminders) {
-    $this->maxReminders = $maxReminders;
-    return $this;
-  }
-
-  /**
-   * Get maxReminders
-   *
-   * @return integer
-   */
-  public function getMaxReminders() {
-    return $this->maxReminders;
-  }
-  
-  /**
-   * Set initialReminderDay
-   *
-   * @param integer $initialReminderDay
-   * @return PledgeBlock
-   */
-  public function setInitialReminderDay($initialReminderDay) {
-    $this->initialReminderDay = $initialReminderDay;
-    return $this;
-  }
-
-  /**
-   * Get initialReminderDay
-   *
-   * @return integer
-   */
-  public function getInitialReminderDay() {
-    return $this->initialReminderDay;
-  }
-  
-  /**
-   * Set additionalReminderDay
-   *
-   * @param integer $additionalReminderDay
-   * @return PledgeBlock
-   */
-  public function setAdditionalReminderDay($additionalReminderDay) {
-    $this->additionalReminderDay = $additionalReminderDay;
-    return $this;
-  }
-
-  /**
-   * Get additionalReminderDay
-   *
-   * @return integer
-   */
-  public function getAdditionalReminderDay() {
-    return $this->additionalReminderDay;
-  }
-
-}
-
diff --git a/Civi/Pledge/PledgePayment.php b/Civi/Pledge/PledgePayment.php
deleted file mode 100644 (file)
index 8360334..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Pledge/PledgePayment.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PledgePayment
- *
- * @ORM\Table(name="civicrm_pledge_payment", indexes={@ORM\Index(name="index_contribution_pledge", columns={"contribution_id,pledge_id"}),@ORM\Index(name="index_status", columns={"status_id"}),@ORM\Index(name="FK_civicrm_pledge_payment_pledge_id", columns={"pledge_id"}),@ORM\Index(name="FK_civicrm_pledge_payment_contribution_id", columns={"contribution_id"})})
- * @ORM\Entity
- */
-class PledgePayment extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Pledge\Pledge
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Pledge\Pledge")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="pledge_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $pledge;
-  
-  /**
-   * @var \Civi\Contribute\Contribution
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Contribute\Contribution")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="contribution_id", referencedColumnName="id", onDelete="CASCADE")})
-   */
-  private $contribution;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="scheduled_amount", type="float", nullable=true)
-   * 
-   */
-  private $scheduledAmount;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="actual_amount", type="float", nullable=true)
-   * 
-   */
-  private $actualAmount;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="currency", type="string", length=3, nullable=false)
-   * 
-   */
-  private $currency = 'NULL';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="scheduled_date", type="datetime", nullable=true)
-   * 
-   */
-  private $scheduledDate;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="reminder_date", type="datetime", nullable=true)
-   * 
-   */
-  private $reminderDate;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="reminder_count", type="integer", nullable=false)
-   * 
-   */
-  private $reminderCount = '0';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="status_id", type="integer", nullable=true)
-   * 
-   */
-  private $statusId;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set pledge
-   *
-   * @param \Civi\Pledge\Pledge $pledge
-   * @return PledgePayment
-   */
-  public function setPledge(\Civi\Pledge\Pledge $pledge = null) {
-    $this->pledge = $pledge;
-    return $this;
-  }
-
-  /**
-   * Get pledge
-   *
-   * @return \Civi\Pledge\Pledge
-   */
-  public function getPledge() {
-    return $this->pledge;
-  }
-  
-  /**
-   * Set contribution
-   *
-   * @param \Civi\Contribute\Contribution $contribution
-   * @return PledgePayment
-   */
-  public function setContribution(\Civi\Contribute\Contribution $contribution = null) {
-    $this->contribution = $contribution;
-    return $this;
-  }
-
-  /**
-   * Get contribution
-   *
-   * @return \Civi\Contribute\Contribution
-   */
-  public function getContribution() {
-    return $this->contribution;
-  }
-  
-  /**
-   * Set scheduledAmount
-   *
-   * @param float $scheduledAmount
-   * @return PledgePayment
-   */
-  public function setScheduledAmount($scheduledAmount) {
-    $this->scheduledAmount = $scheduledAmount;
-    return $this;
-  }
-
-  /**
-   * Get scheduledAmount
-   *
-   * @return float
-   */
-  public function getScheduledAmount() {
-    return $this->scheduledAmount;
-  }
-  
-  /**
-   * Set actualAmount
-   *
-   * @param float $actualAmount
-   * @return PledgePayment
-   */
-  public function setActualAmount($actualAmount) {
-    $this->actualAmount = $actualAmount;
-    return $this;
-  }
-
-  /**
-   * Get actualAmount
-   *
-   * @return float
-   */
-  public function getActualAmount() {
-    return $this->actualAmount;
-  }
-  
-  /**
-   * Set currency
-   *
-   * @param string $currency
-   * @return PledgePayment
-   */
-  public function setCurrency($currency) {
-    $this->currency = $currency;
-    return $this;
-  }
-
-  /**
-   * Get currency
-   *
-   * @return string
-   */
-  public function getCurrency() {
-    return $this->currency;
-  }
-  
-  /**
-   * Set scheduledDate
-   *
-   * @param datetime $scheduledDate
-   * @return PledgePayment
-   */
-  public function setScheduledDate($scheduledDate) {
-    $this->scheduledDate = $scheduledDate;
-    return $this;
-  }
-
-  /**
-   * Get scheduledDate
-   *
-   * @return datetime
-   */
-  public function getScheduledDate() {
-    return $this->scheduledDate;
-  }
-  
-  /**
-   * Set reminderDate
-   *
-   * @param datetime $reminderDate
-   * @return PledgePayment
-   */
-  public function setReminderDate($reminderDate) {
-    $this->reminderDate = $reminderDate;
-    return $this;
-  }
-
-  /**
-   * Get reminderDate
-   *
-   * @return datetime
-   */
-  public function getReminderDate() {
-    return $this->reminderDate;
-  }
-  
-  /**
-   * Set reminderCount
-   *
-   * @param integer $reminderCount
-   * @return PledgePayment
-   */
-  public function setReminderCount($reminderCount) {
-    $this->reminderCount = $reminderCount;
-    return $this;
-  }
-
-  /**
-   * Get reminderCount
-   *
-   * @return integer
-   */
-  public function getReminderCount() {
-    return $this->reminderCount;
-  }
-  
-  /**
-   * Set statusId
-   *
-   * @param integer $statusId
-   * @return PledgePayment
-   */
-  public function setStatusId($statusId) {
-    $this->statusId = $statusId;
-    return $this;
-  }
-
-  /**
-   * Get statusId
-   *
-   * @return integer
-   */
-  public function getStatusId() {
-    return $this->statusId;
-  }
-
-}
-
diff --git a/Civi/Price/LineItem.php b/Civi/Price/LineItem.php
deleted file mode 100644 (file)
index a14a0d7..0000000
+++ /dev/null
@@ -1,376 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Price/LineItem.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * LineItem
- *
- * @ORM\Table(name="civicrm_line_item", uniqueConstraints={@ORM\UniqueConstraint(name="UI_line_item_value", columns={"entity_table,entity_id,price_field_value_id,price_field_id"})}, indexes={@ORM\Index(name="index_entity", columns={"entity_table,entity_id"}),@ORM\Index(name="FK_civicrm_line_item_price_field_id", columns={"price_field_id"}),@ORM\Index(name="FK_civicrm_line_item_price_field_value_id", columns={"price_field_value_id"}),@ORM\Index(name="FK_civicrm_line_item_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class LineItem extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var \Civi\Price\PriceField
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Price\PriceField")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="price_field_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $priceField;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=false)
-   * 
-   */
-  private $label = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="qty", type="integer", nullable=true)
-   * 
-   */
-  private $qty;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="unit_price", type="float", nullable=true)
-   * 
-   */
-  private $unitPrice;
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="line_total", type="float", nullable=true)
-   * 
-   */
-  private $lineTotal;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="participant_count", type="integer", nullable=false)
-   * 
-   */
-  private $participantCount = 'NULL';
-  
-  /**
-   * @var \Civi\Price\PriceFieldValue
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Price\PriceFieldValue")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="price_field_value_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $priceFieldValue = 'NULL';
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType = 'NULL';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="deductible_amount", type="float", nullable=false)
-   * 
-   */
-  private $deductibleAmount = '0.0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return LineItem
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return LineItem
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set priceField
-   *
-   * @param \Civi\Price\PriceField $priceField
-   * @return LineItem
-   */
-  public function setPriceField(\Civi\Price\PriceField $priceField = null) {
-    $this->priceField = $priceField;
-    return $this;
-  }
-
-  /**
-   * Get priceField
-   *
-   * @return \Civi\Price\PriceField
-   */
-  public function getPriceField() {
-    return $this->priceField;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return LineItem
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set qty
-   *
-   * @param integer $qty
-   * @return LineItem
-   */
-  public function setQty($qty) {
-    $this->qty = $qty;
-    return $this;
-  }
-
-  /**
-   * Get qty
-   *
-   * @return integer
-   */
-  public function getQty() {
-    return $this->qty;
-  }
-  
-  /**
-   * Set unitPrice
-   *
-   * @param float $unitPrice
-   * @return LineItem
-   */
-  public function setUnitPrice($unitPrice) {
-    $this->unitPrice = $unitPrice;
-    return $this;
-  }
-
-  /**
-   * Get unitPrice
-   *
-   * @return float
-   */
-  public function getUnitPrice() {
-    return $this->unitPrice;
-  }
-  
-  /**
-   * Set lineTotal
-   *
-   * @param float $lineTotal
-   * @return LineItem
-   */
-  public function setLineTotal($lineTotal) {
-    $this->lineTotal = $lineTotal;
-    return $this;
-  }
-
-  /**
-   * Get lineTotal
-   *
-   * @return float
-   */
-  public function getLineTotal() {
-    return $this->lineTotal;
-  }
-  
-  /**
-   * Set participantCount
-   *
-   * @param integer $participantCount
-   * @return LineItem
-   */
-  public function setParticipantCount($participantCount) {
-    $this->participantCount = $participantCount;
-    return $this;
-  }
-
-  /**
-   * Get participantCount
-   *
-   * @return integer
-   */
-  public function getParticipantCount() {
-    return $this->participantCount;
-  }
-  
-  /**
-   * Set priceFieldValue
-   *
-   * @param \Civi\Price\PriceFieldValue $priceFieldValue
-   * @return LineItem
-   */
-  public function setPriceFieldValue(\Civi\Price\PriceFieldValue $priceFieldValue = null) {
-    $this->priceFieldValue = $priceFieldValue;
-    return $this;
-  }
-
-  /**
-   * Get priceFieldValue
-   *
-   * @return \Civi\Price\PriceFieldValue
-   */
-  public function getPriceFieldValue() {
-    return $this->priceFieldValue;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return LineItem
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set deductibleAmount
-   *
-   * @param float $deductibleAmount
-   * @return LineItem
-   */
-  public function setDeductibleAmount($deductibleAmount) {
-    $this->deductibleAmount = $deductibleAmount;
-    return $this;
-  }
-
-  /**
-   * Get deductibleAmount
-   *
-   * @return float
-   */
-  public function getDeductibleAmount() {
-    return $this->deductibleAmount;
-  }
-
-}
-
diff --git a/Civi/Price/PriceField.php b/Civi/Price/PriceField.php
deleted file mode 100644 (file)
index 6a20fbf..0000000
+++ /dev/null
@@ -1,516 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Price/PriceField.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PriceField
- *
- * @ORM\Table(name="civicrm_price_field", indexes={@ORM\Index(name="index_name", columns={"name"}),@ORM\Index(name="FK_civicrm_price_field_price_set_id", columns={"price_set_id"})})
- * @ORM\Entity
- */
-class PriceField extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Price\PriceSet
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Price\PriceSet")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="price_set_id", referencedColumnName="id")})
-   */
-  private $priceSet;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="html_type", type="string", length=12, nullable=true)
-   * 
-   */
-  private $htmlType;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_enter_qty", type="boolean", nullable=false)
-   * 
-   */
-  private $isEnterQty = '0';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_pre", type="text", nullable=true)
-   * 
-   */
-  private $helpPre;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_post", type="text", nullable=true)
-   * 
-   */
-  private $helpPost;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_display_amounts", type="boolean", nullable=false)
-   * 
-   */
-  private $isDisplayAmounts = '1';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="options_per_line", type="integer", nullable=false)
-   * 
-   */
-  private $optionsPerLine = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_required", type="boolean", nullable=false)
-   * 
-   */
-  private $isRequired = '1';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="active_on", type="datetime", nullable=false)
-   * 
-   */
-  private $activeOn = 'NULL';
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="expire_on", type="datetime", nullable=false)
-   * 
-   */
-  private $expireOn = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="javascript", type="string", length=255, nullable=true)
-   * 
-   */
-  private $javascript;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="visibility_id", type="integer", nullable=false)
-   * 
-   */
-  private $visibilityId = '1';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set priceSet
-   *
-   * @param \Civi\Price\PriceSet $priceSet
-   * @return PriceField
-   */
-  public function setPriceSet(\Civi\Price\PriceSet $priceSet = null) {
-    $this->priceSet = $priceSet;
-    return $this;
-  }
-
-  /**
-   * Get priceSet
-   *
-   * @return \Civi\Price\PriceSet
-   */
-  public function getPriceSet() {
-    return $this->priceSet;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return PriceField
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return PriceField
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set htmlType
-   *
-   * @param string $htmlType
-   * @return PriceField
-   */
-  public function setHtmlType($htmlType) {
-    $this->htmlType = $htmlType;
-    return $this;
-  }
-
-  /**
-   * Get htmlType
-   *
-   * @return string
-   */
-  public function getHtmlType() {
-    return $this->htmlType;
-  }
-  
-  /**
-   * Set isEnterQty
-   *
-   * @param boolean $isEnterQty
-   * @return PriceField
-   */
-  public function setIsEnterQty($isEnterQty) {
-    $this->isEnterQty = $isEnterQty;
-    return $this;
-  }
-
-  /**
-   * Get isEnterQty
-   *
-   * @return boolean
-   */
-  public function getIsEnterQty() {
-    return $this->isEnterQty;
-  }
-  
-  /**
-   * Set helpPre
-   *
-   * @param text $helpPre
-   * @return PriceField
-   */
-  public function setHelpPre($helpPre) {
-    $this->helpPre = $helpPre;
-    return $this;
-  }
-
-  /**
-   * Get helpPre
-   *
-   * @return text
-   */
-  public function getHelpPre() {
-    return $this->helpPre;
-  }
-  
-  /**
-   * Set helpPost
-   *
-   * @param text $helpPost
-   * @return PriceField
-   */
-  public function setHelpPost($helpPost) {
-    $this->helpPost = $helpPost;
-    return $this;
-  }
-
-  /**
-   * Get helpPost
-   *
-   * @return text
-   */
-  public function getHelpPost() {
-    return $this->helpPost;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return PriceField
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set isDisplayAmounts
-   *
-   * @param boolean $isDisplayAmounts
-   * @return PriceField
-   */
-  public function setIsDisplayAmounts($isDisplayAmounts) {
-    $this->isDisplayAmounts = $isDisplayAmounts;
-    return $this;
-  }
-
-  /**
-   * Get isDisplayAmounts
-   *
-   * @return boolean
-   */
-  public function getIsDisplayAmounts() {
-    return $this->isDisplayAmounts;
-  }
-  
-  /**
-   * Set optionsPerLine
-   *
-   * @param integer $optionsPerLine
-   * @return PriceField
-   */
-  public function setOptionsPerLine($optionsPerLine) {
-    $this->optionsPerLine = $optionsPerLine;
-    return $this;
-  }
-
-  /**
-   * Get optionsPerLine
-   *
-   * @return integer
-   */
-  public function getOptionsPerLine() {
-    return $this->optionsPerLine;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PriceField
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set isRequired
-   *
-   * @param boolean $isRequired
-   * @return PriceField
-   */
-  public function setIsRequired($isRequired) {
-    $this->isRequired = $isRequired;
-    return $this;
-  }
-
-  /**
-   * Get isRequired
-   *
-   * @return boolean
-   */
-  public function getIsRequired() {
-    return $this->isRequired;
-  }
-  
-  /**
-   * Set activeOn
-   *
-   * @param datetime $activeOn
-   * @return PriceField
-   */
-  public function setActiveOn($activeOn) {
-    $this->activeOn = $activeOn;
-    return $this;
-  }
-
-  /**
-   * Get activeOn
-   *
-   * @return datetime
-   */
-  public function getActiveOn() {
-    return $this->activeOn;
-  }
-  
-  /**
-   * Set expireOn
-   *
-   * @param datetime $expireOn
-   * @return PriceField
-   */
-  public function setExpireOn($expireOn) {
-    $this->expireOn = $expireOn;
-    return $this;
-  }
-
-  /**
-   * Get expireOn
-   *
-   * @return datetime
-   */
-  public function getExpireOn() {
-    return $this->expireOn;
-  }
-  
-  /**
-   * Set javascript
-   *
-   * @param string $javascript
-   * @return PriceField
-   */
-  public function setJavascript($javascript) {
-    $this->javascript = $javascript;
-    return $this;
-  }
-
-  /**
-   * Get javascript
-   *
-   * @return string
-   */
-  public function getJavascript() {
-    return $this->javascript;
-  }
-  
-  /**
-   * Set visibilityId
-   *
-   * @param integer $visibilityId
-   * @return PriceField
-   */
-  public function setVisibilityId($visibilityId) {
-    $this->visibilityId = $visibilityId;
-    return $this;
-  }
-
-  /**
-   * Get visibilityId
-   *
-   * @return integer
-   */
-  public function getVisibilityId() {
-    return $this->visibilityId;
-  }
-
-}
-
diff --git a/Civi/Price/PriceFieldValue.php b/Civi/Price/PriceFieldValue.php
deleted file mode 100644 (file)
index f2a46ea..0000000
+++ /dev/null
@@ -1,460 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Price/PriceFieldValue.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PriceFieldValue
- *
- * @ORM\Table(name="civicrm_price_field_value", indexes={@ORM\Index(name="FK_civicrm_price_field_value_price_field_id", columns={"price_field_id"}),@ORM\Index(name="FK_civicrm_price_field_value_membership_type_id", columns={"membership_type_id"}),@ORM\Index(name="FK_civicrm_price_field_value_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class PriceFieldValue extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Price\PriceField
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Price\PriceField")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="price_field_id", referencedColumnName="id")})
-   */
-  private $priceField;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="label", type="string", length=255, nullable=true)
-   * 
-   */
-  private $label;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="description", type="text", nullable=false)
-   * 
-   */
-  private $description = 'NULL';
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="amount", type="string", length=512, nullable=true)
-   * 
-   */
-  private $amount;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="count", type="integer", nullable=false)
-   * 
-   */
-  private $count = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="max_value", type="integer", nullable=false)
-   * 
-   */
-  private $maxValue = 'NULL';
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=false)
-   * 
-   */
-  private $weight = '1';
-  
-  /**
-   * @var \Civi\Member\MembershipType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Member\MembershipType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="membership_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $membershipType = 'NULL';
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="membership_num_terms", type="integer", nullable=false)
-   * 
-   */
-  private $membershipNumTerms = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=false)
-   * 
-   */
-  private $isDefault = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType = 'NULL';
-  
-  /**
-   * @var float
-   *
-   * @ORM\Column(name="deductible_amount", type="float", nullable=false)
-   * 
-   */
-  private $deductibleAmount = '0.0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set priceField
-   *
-   * @param \Civi\Price\PriceField $priceField
-   * @return PriceFieldValue
-   */
-  public function setPriceField(\Civi\Price\PriceField $priceField = null) {
-    $this->priceField = $priceField;
-    return $this;
-  }
-
-  /**
-   * Get priceField
-   *
-   * @return \Civi\Price\PriceField
-   */
-  public function getPriceField() {
-    return $this->priceField;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return PriceFieldValue
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set label
-   *
-   * @param string $label
-   * @return PriceFieldValue
-   */
-  public function setLabel($label) {
-    $this->label = $label;
-    return $this;
-  }
-
-  /**
-   * Get label
-   *
-   * @return string
-   */
-  public function getLabel() {
-    return $this->label;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param text $description
-   * @return PriceFieldValue
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return text
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set amount
-   *
-   * @param string $amount
-   * @return PriceFieldValue
-   */
-  public function setAmount($amount) {
-    $this->amount = $amount;
-    return $this;
-  }
-
-  /**
-   * Get amount
-   *
-   * @return string
-   */
-  public function getAmount() {
-    return $this->amount;
-  }
-  
-  /**
-   * Set count
-   *
-   * @param integer $count
-   * @return PriceFieldValue
-   */
-  public function setCount($count) {
-    $this->count = $count;
-    return $this;
-  }
-
-  /**
-   * Get count
-   *
-   * @return integer
-   */
-  public function getCount() {
-    return $this->count;
-  }
-  
-  /**
-   * Set maxValue
-   *
-   * @param integer $maxValue
-   * @return PriceFieldValue
-   */
-  public function setMaxValue($maxValue) {
-    $this->maxValue = $maxValue;
-    return $this;
-  }
-
-  /**
-   * Get maxValue
-   *
-   * @return integer
-   */
-  public function getMaxValue() {
-    return $this->maxValue;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return PriceFieldValue
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set membershipType
-   *
-   * @param \Civi\Member\MembershipType $membershipType
-   * @return PriceFieldValue
-   */
-  public function setMembershipType(\Civi\Member\MembershipType $membershipType = null) {
-    $this->membershipType = $membershipType;
-    return $this;
-  }
-
-  /**
-   * Get membershipType
-   *
-   * @return \Civi\Member\MembershipType
-   */
-  public function getMembershipType() {
-    return $this->membershipType;
-  }
-  
-  /**
-   * Set membershipNumTerms
-   *
-   * @param integer $membershipNumTerms
-   * @return PriceFieldValue
-   */
-  public function setMembershipNumTerms($membershipNumTerms) {
-    $this->membershipNumTerms = $membershipNumTerms;
-    return $this;
-  }
-
-  /**
-   * Get membershipNumTerms
-   *
-   * @return integer
-   */
-  public function getMembershipNumTerms() {
-    return $this->membershipNumTerms;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return PriceFieldValue
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PriceFieldValue
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return PriceFieldValue
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set deductibleAmount
-   *
-   * @param float $deductibleAmount
-   * @return PriceFieldValue
-   */
-  public function setDeductibleAmount($deductibleAmount) {
-    $this->deductibleAmount = $deductibleAmount;
-    return $this;
-  }
-
-  /**
-   * Get deductibleAmount
-   *
-   * @return float
-   */
-  public function getDeductibleAmount() {
-    return $this->deductibleAmount;
-  }
-
-}
-
diff --git a/Civi/Price/PriceSet.php b/Civi/Price/PriceSet.php
deleted file mode 100644 (file)
index 49b1262..0000000
+++ /dev/null
@@ -1,376 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Price/PriceSet.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PriceSet
- *
- * @ORM\Table(name="civicrm_price_set", uniqueConstraints={@ORM\UniqueConstraint(name="UI_name", columns={"name"})}, indexes={@ORM\Index(name="FK_civicrm_price_set_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_price_set_financial_type_id", columns={"financial_type_id"})})
- * @ORM\Entity
- */
-class PriceSet extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '1';
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_pre", type="text", nullable=true)
-   * 
-   */
-  private $helpPre;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="help_post", type="text", nullable=true)
-   * 
-   */
-  private $helpPost;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="javascript", type="string", length=64, nullable=true)
-   * 
-   */
-  private $javascript;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="extends", type="string", length=255, nullable=true)
-   * 
-   */
-  private $extends;
-  
-  /**
-   * @var \Civi\Financial\FinancialType
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Financial\FinancialType")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="financial_type_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $financialType = 'NULL';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_quick_config", type="boolean", nullable=false)
-   * 
-   */
-  private $isQuickConfig = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return PriceSet
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return PriceSet
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return PriceSet
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return PriceSet
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set helpPre
-   *
-   * @param text $helpPre
-   * @return PriceSet
-   */
-  public function setHelpPre($helpPre) {
-    $this->helpPre = $helpPre;
-    return $this;
-  }
-
-  /**
-   * Get helpPre
-   *
-   * @return text
-   */
-  public function getHelpPre() {
-    return $this->helpPre;
-  }
-  
-  /**
-   * Set helpPost
-   *
-   * @param text $helpPost
-   * @return PriceSet
-   */
-  public function setHelpPost($helpPost) {
-    $this->helpPost = $helpPost;
-    return $this;
-  }
-
-  /**
-   * Get helpPost
-   *
-   * @return text
-   */
-  public function getHelpPost() {
-    return $this->helpPost;
-  }
-  
-  /**
-   * Set javascript
-   *
-   * @param string $javascript
-   * @return PriceSet
-   */
-  public function setJavascript($javascript) {
-    $this->javascript = $javascript;
-    return $this;
-  }
-
-  /**
-   * Get javascript
-   *
-   * @return string
-   */
-  public function getJavascript() {
-    return $this->javascript;
-  }
-  
-  /**
-   * Set extends
-   *
-   * @param string $extends
-   * @return PriceSet
-   */
-  public function setExtends($extends) {
-    $this->extends = $extends;
-    return $this;
-  }
-
-  /**
-   * Get extends
-   *
-   * @return string
-   */
-  public function getExtends() {
-    return $this->extends;
-  }
-  
-  /**
-   * Set financialType
-   *
-   * @param \Civi\Financial\FinancialType $financialType
-   * @return PriceSet
-   */
-  public function setFinancialType(\Civi\Financial\FinancialType $financialType = null) {
-    $this->financialType = $financialType;
-    return $this;
-  }
-
-  /**
-   * Get financialType
-   *
-   * @return \Civi\Financial\FinancialType
-   */
-  public function getFinancialType() {
-    return $this->financialType;
-  }
-  
-  /**
-   * Set isQuickConfig
-   *
-   * @param boolean $isQuickConfig
-   * @return PriceSet
-   */
-  public function setIsQuickConfig($isQuickConfig) {
-    $this->isQuickConfig = $isQuickConfig;
-    return $this;
-  }
-
-  /**
-   * Get isQuickConfig
-   *
-   * @return boolean
-   */
-  public function getIsQuickConfig() {
-    return $this->isQuickConfig;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return PriceSet
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-
-}
-
diff --git a/Civi/Price/PriceSetEntity.php b/Civi/Price/PriceSetEntity.php
deleted file mode 100644 (file)
index a5427c5..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Price/PriceSetEntity.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * PriceSetEntity
- *
- * @ORM\Table(name="civicrm_price_set_entity", uniqueConstraints={@ORM\UniqueConstraint(name="UI_entity", columns={"entity_table,entity_id"})}, indexes={@ORM\Index(name="FK_civicrm_price_set_entity_price_set_id", columns={"price_set_id"})})
- * @ORM\Entity
- */
-class PriceSetEntity extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="entity_table", type="string", length=64, nullable=true)
-   * 
-   */
-  private $entityTable;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="entity_id", type="integer", nullable=true)
-   * 
-   */
-  private $entityId;
-  
-  /**
-   * @var \Civi\Price\PriceSet
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Price\PriceSet")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="price_set_id", referencedColumnName="id")})
-   */
-  private $priceSet;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set entityTable
-   *
-   * @param string $entityTable
-   * @return PriceSetEntity
-   */
-  public function setEntityTable($entityTable) {
-    $this->entityTable = $entityTable;
-    return $this;
-  }
-
-  /**
-   * Get entityTable
-   *
-   * @return string
-   */
-  public function getEntityTable() {
-    return $this->entityTable;
-  }
-  
-  /**
-   * Set entityId
-   *
-   * @param integer $entityId
-   * @return PriceSetEntity
-   */
-  public function setEntityId($entityId) {
-    $this->entityId = $entityId;
-    return $this;
-  }
-
-  /**
-   * Get entityId
-   *
-   * @return integer
-   */
-  public function getEntityId() {
-    return $this->entityId;
-  }
-  
-  /**
-   * Set priceSet
-   *
-   * @param \Civi\Price\PriceSet $priceSet
-   * @return PriceSetEntity
-   */
-  public function setPriceSet(\Civi\Price\PriceSet $priceSet = null) {
-    $this->priceSet = $priceSet;
-    return $this;
-  }
-
-  /**
-   * Get priceSet
-   *
-   * @return \Civi\Price\PriceSet
-   */
-  public function getPriceSet() {
-    return $this->priceSet;
-  }
-
-}
-
diff --git a/Civi/Queue/QueueItem.php b/Civi/Queue/QueueItem.php
deleted file mode 100644 (file)
index 0be5391..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Queue/QueueItem.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * QueueItem
- *
- * @ORM\Table(name="civicrm_queue_item", indexes={@ORM\Index(name="index_queueids", columns={"queue_name,weight,id"})})
- * @ORM\Entity
- */
-class QueueItem extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="queue_name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $queueName;
-  
-  /**
-   * @var int
-   *
-   * @ORM\Column(name="weight", type="int", nullable=true)
-   * 
-   */
-  private $weight;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="submit_time", type="datetime", nullable=true)
-   * 
-   */
-  private $submitTime;
-  
-  /**
-   * @var datetime
-   *
-   * @ORM\Column(name="release_time", type="datetime", nullable=true)
-   * 
-   */
-  private $releaseTime;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="data", type="text", nullable=true)
-   * 
-   */
-  private $data;
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set queueName
-   *
-   * @param string $queueName
-   * @return QueueItem
-   */
-  public function setQueueName($queueName) {
-    $this->queueName = $queueName;
-    return $this;
-  }
-
-  /**
-   * Get queueName
-   *
-   * @return string
-   */
-  public function getQueueName() {
-    return $this->queueName;
-  }
-  
-  /**
-   * Set weight
-   *
-   * @param int $weight
-   * @return QueueItem
-   */
-  public function setWeight($weight) {
-    $this->weight = $weight;
-    return $this;
-  }
-
-  /**
-   * Get weight
-   *
-   * @return int
-   */
-  public function getWeight() {
-    return $this->weight;
-  }
-  
-  /**
-   * Set submitTime
-   *
-   * @param datetime $submitTime
-   * @return QueueItem
-   */
-  public function setSubmitTime($submitTime) {
-    $this->submitTime = $submitTime;
-    return $this;
-  }
-
-  /**
-   * Get submitTime
-   *
-   * @return datetime
-   */
-  public function getSubmitTime() {
-    return $this->submitTime;
-  }
-  
-  /**
-   * Set releaseTime
-   *
-   * @param datetime $releaseTime
-   * @return QueueItem
-   */
-  public function setReleaseTime($releaseTime) {
-    $this->releaseTime = $releaseTime;
-    return $this;
-  }
-
-  /**
-   * Get releaseTime
-   *
-   * @return datetime
-   */
-  public function getReleaseTime() {
-    return $this->releaseTime;
-  }
-  
-  /**
-   * Set data
-   *
-   * @param text $data
-   * @return QueueItem
-   */
-  public function setData($data) {
-    $this->data = $data;
-    return $this;
-  }
-
-  /**
-   * Get data
-   *
-   * @return text
-   */
-  public function getData() {
-    return $this->data;
-  }
-
-}
-
diff --git a/Civi/Report/ReportInstance.php b/Civi/Report/ReportInstance.php
deleted file mode 100644 (file)
index c3c1a36..0000000
+++ /dev/null
@@ -1,572 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/Report/ReportInstance.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * ReportInstance
- *
- * @ORM\Table(name="civicrm_report_instance", indexes={@ORM\Index(name="FK_civicrm_report_instance_domain_id", columns={"domain_id"}),@ORM\Index(name="FK_civicrm_report_instance_navigation_id", columns={"navigation_id"}),@ORM\Index(name="FK_civicrm_report_instance_drilldown_id", columns={"drilldown_id"})})
- * @ORM\Entity
- */
-class ReportInstance extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var \Civi\Core\Domain
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Domain")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="domain_id", referencedColumnName="id")})
-   */
-  private $domain;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=255, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="report_id", type="string", length=64, nullable=true)
-   * 
-   */
-  private $reportId;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=255, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="args", type="string", length=255, nullable=true)
-   * 
-   */
-  private $args;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="description", type="string", length=255, nullable=true)
-   * 
-   */
-  private $description;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="permission", type="string", length=255, nullable=true)
-   * 
-   */
-  private $permission;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="grouprole", type="string", length=1024, nullable=true)
-   * 
-   */
-  private $grouprole;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="form_values", type="text", nullable=true)
-   * 
-   */
-  private $formValues;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=true)
-   * 
-   */
-  private $isActive;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="email_subject", type="string", length=255, nullable=true)
-   * 
-   */
-  private $emailSubject;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="email_to", type="text", nullable=true)
-   * 
-   */
-  private $emailTo;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="email_cc", type="text", nullable=true)
-   * 
-   */
-  private $emailCc;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="header", type="text", nullable=true)
-   * 
-   */
-  private $header;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="footer", type="text", nullable=true)
-   * 
-   */
-  private $footer;
-  
-  /**
-   * @var \Civi\Core\Navigation
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Core\Navigation")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="navigation_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $navigation;
-  
-  /**
-   * @var \Civi\Report\ReportInstance
-   *
-   * @ORM\ManyToOne(targetEntity="Civi\Report\ReportInstance")
-   * @ORM\JoinColumns({@ORM\JoinColumn(name="drilldown_id", referencedColumnName="id", onDelete="SET NULL")})
-   */
-  private $drilldown;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_reserved", type="boolean", nullable=false)
-   * 
-   */
-  private $isReserved = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set domain
-   *
-   * @param \Civi\Core\Domain $domain
-   * @return ReportInstance
-   */
-  public function setDomain(\Civi\Core\Domain $domain = null) {
-    $this->domain = $domain;
-    return $this;
-  }
-
-  /**
-   * Get domain
-   *
-   * @return \Civi\Core\Domain
-   */
-  public function getDomain() {
-    return $this->domain;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return ReportInstance
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set reportId
-   *
-   * @param string $reportId
-   * @return ReportInstance
-   */
-  public function setReportId($reportId) {
-    $this->reportId = $reportId;
-    return $this;
-  }
-
-  /**
-   * Get reportId
-   *
-   * @return string
-   */
-  public function getReportId() {
-    return $this->reportId;
-  }
-  
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return ReportInstance
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set args
-   *
-   * @param string $args
-   * @return ReportInstance
-   */
-  public function setArgs($args) {
-    $this->args = $args;
-    return $this;
-  }
-
-  /**
-   * Get args
-   *
-   * @return string
-   */
-  public function getArgs() {
-    return $this->args;
-  }
-  
-  /**
-   * Set description
-   *
-   * @param string $description
-   * @return ReportInstance
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * Get description
-   *
-   * @return string
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-  
-  /**
-   * Set permission
-   *
-   * @param string $permission
-   * @return ReportInstance
-   */
-  public function setPermission($permission) {
-    $this->permission = $permission;
-    return $this;
-  }
-
-  /**
-   * Get permission
-   *
-   * @return string
-   */
-  public function getPermission() {
-    return $this->permission;
-  }
-  
-  /**
-   * Set grouprole
-   *
-   * @param string $grouprole
-   * @return ReportInstance
-   */
-  public function setGrouprole($grouprole) {
-    $this->grouprole = $grouprole;
-    return $this;
-  }
-
-  /**
-   * Get grouprole
-   *
-   * @return string
-   */
-  public function getGrouprole() {
-    return $this->grouprole;
-  }
-  
-  /**
-   * Set formValues
-   *
-   * @param text $formValues
-   * @return ReportInstance
-   */
-  public function setFormValues($formValues) {
-    $this->formValues = $formValues;
-    return $this;
-  }
-
-  /**
-   * Get formValues
-   *
-   * @return text
-   */
-  public function getFormValues() {
-    return $this->formValues;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return ReportInstance
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-  
-  /**
-   * Set emailSubject
-   *
-   * @param string $emailSubject
-   * @return ReportInstance
-   */
-  public function setEmailSubject($emailSubject) {
-    $this->emailSubject = $emailSubject;
-    return $this;
-  }
-
-  /**
-   * Get emailSubject
-   *
-   * @return string
-   */
-  public function getEmailSubject() {
-    return $this->emailSubject;
-  }
-  
-  /**
-   * Set emailTo
-   *
-   * @param text $emailTo
-   * @return ReportInstance
-   */
-  public function setEmailTo($emailTo) {
-    $this->emailTo = $emailTo;
-    return $this;
-  }
-
-  /**
-   * Get emailTo
-   *
-   * @return text
-   */
-  public function getEmailTo() {
-    return $this->emailTo;
-  }
-  
-  /**
-   * Set emailCc
-   *
-   * @param text $emailCc
-   * @return ReportInstance
-   */
-  public function setEmailCc($emailCc) {
-    $this->emailCc = $emailCc;
-    return $this;
-  }
-
-  /**
-   * Get emailCc
-   *
-   * @return text
-   */
-  public function getEmailCc() {
-    return $this->emailCc;
-  }
-  
-  /**
-   * Set header
-   *
-   * @param text $header
-   * @return ReportInstance
-   */
-  public function setHeader($header) {
-    $this->header = $header;
-    return $this;
-  }
-
-  /**
-   * Get header
-   *
-   * @return text
-   */
-  public function getHeader() {
-    return $this->header;
-  }
-  
-  /**
-   * Set footer
-   *
-   * @param text $footer
-   * @return ReportInstance
-   */
-  public function setFooter($footer) {
-    $this->footer = $footer;
-    return $this;
-  }
-
-  /**
-   * Get footer
-   *
-   * @return text
-   */
-  public function getFooter() {
-    return $this->footer;
-  }
-  
-  /**
-   * Set navigation
-   *
-   * @param \Civi\Core\Navigation $navigation
-   * @return ReportInstance
-   */
-  public function setNavigation(\Civi\Core\Navigation $navigation = null) {
-    $this->navigation = $navigation;
-    return $this;
-  }
-
-  /**
-   * Get navigation
-   *
-   * @return \Civi\Core\Navigation
-   */
-  public function getNavigation() {
-    return $this->navigation;
-  }
-  
-  /**
-   * Set drilldown
-   *
-   * @param \Civi\Report\ReportInstance $drilldown
-   * @return ReportInstance
-   */
-  public function setDrilldown(\Civi\Report\ReportInstance $drilldown = null) {
-    $this->drilldown = $drilldown;
-    return $this;
-  }
-
-  /**
-   * Get drilldown
-   *
-   * @return \Civi\Report\ReportInstance
-   */
-  public function getDrilldown() {
-    return $this->drilldown;
-  }
-  
-  /**
-   * Set isReserved
-   *
-   * @param boolean $isReserved
-   * @return ReportInstance
-   */
-  public function setIsReserved($isReserved) {
-    $this->isReserved = $isReserved;
-    return $this;
-  }
-
-  /**
-   * Get isReserved
-   *
-   * @return boolean
-   */
-  public function getIsReserved() {
-    return $this->isReserved;
-  }
-
-}
-
diff --git a/Civi/SMS/Provider.php b/Civi/SMS/Provider.php
deleted file mode 100644 (file)
index 2d796b6..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from xml/schema/CRM/SMS/Provider.xml
- * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * Provider
- *
- * @ORM\Table(name="civicrm_sms_provider")
- * @ORM\Entity
- */
-class Provider extends \Civi\Core\Entity {
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-    
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="name", type="string", length=64, nullable=true)
-   * 
-   */
-  private $name;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="title", type="string", length=64, nullable=true)
-   * 
-   */
-  private $title;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="username", type="string", length=255, nullable=true)
-   * 
-   */
-  private $username;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="password", type="string", length=255, nullable=true)
-   * 
-   */
-  private $password;
-  
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="api_type", type="integer", nullable=true)
-   * 
-   */
-  private $apiType;
-  
-  /**
-   * @var string
-   *
-   * @ORM\Column(name="api_url", type="string", length=128, nullable=true)
-   * 
-   */
-  private $apiUrl;
-  
-  /**
-   * @var text
-   *
-   * @ORM\Column(name="api_params", type="text", nullable=true)
-   * 
-   */
-  private $apiParams;
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_default", type="boolean", nullable=false)
-   * 
-   */
-  private $isDefault = '0';
-  
-  /**
-   * @var boolean
-   *
-   * @ORM\Column(name="is_active", type="boolean", nullable=false)
-   * 
-   */
-  private $isActive = '0';
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {
-    return $this->id;
-  }
-    
-  /**
-   * Set name
-   *
-   * @param string $name
-   * @return Provider
-   */
-  public function setName($name) {
-    $this->name = $name;
-    return $this;
-  }
-
-  /**
-   * Get name
-   *
-   * @return string
-   */
-  public function getName() {
-    return $this->name;
-  }
-  
-  /**
-   * Set title
-   *
-   * @param string $title
-   * @return Provider
-   */
-  public function setTitle($title) {
-    $this->title = $title;
-    return $this;
-  }
-
-  /**
-   * Get title
-   *
-   * @return string
-   */
-  public function getTitle() {
-    return $this->title;
-  }
-  
-  /**
-   * Set username
-   *
-   * @param string $username
-   * @return Provider
-   */
-  public function setUsername($username) {
-    $this->username = $username;
-    return $this;
-  }
-
-  /**
-   * Get username
-   *
-   * @return string
-   */
-  public function getUsername() {
-    return $this->username;
-  }
-  
-  /**
-   * Set password
-   *
-   * @param string $password
-   * @return Provider
-   */
-  public function setPassword($password) {
-    $this->password = $password;
-    return $this;
-  }
-
-  /**
-   * Get password
-   *
-   * @return string
-   */
-  public function getPassword() {
-    return $this->password;
-  }
-  
-  /**
-   * Set apiType
-   *
-   * @param integer $apiType
-   * @return Provider
-   */
-  public function setApiType($apiType) {
-    $this->apiType = $apiType;
-    return $this;
-  }
-
-  /**
-   * Get apiType
-   *
-   * @return integer
-   */
-  public function getApiType() {
-    return $this->apiType;
-  }
-  
-  /**
-   * Set apiUrl
-   *
-   * @param string $apiUrl
-   * @return Provider
-   */
-  public function setApiUrl($apiUrl) {
-    $this->apiUrl = $apiUrl;
-    return $this;
-  }
-
-  /**
-   * Get apiUrl
-   *
-   * @return string
-   */
-  public function getApiUrl() {
-    return $this->apiUrl;
-  }
-  
-  /**
-   * Set apiParams
-   *
-   * @param text $apiParams
-   * @return Provider
-   */
-  public function setApiParams($apiParams) {
-    $this->apiParams = $apiParams;
-    return $this;
-  }
-
-  /**
-   * Get apiParams
-   *
-   * @return text
-   */
-  public function getApiParams() {
-    return $this->apiParams;
-  }
-  
-  /**
-   * Set isDefault
-   *
-   * @param boolean $isDefault
-   * @return Provider
-   */
-  public function setIsDefault($isDefault) {
-    $this->isDefault = $isDefault;
-    return $this;
-  }
-
-  /**
-   * Get isDefault
-   *
-   * @return boolean
-   */
-  public function getIsDefault() {
-    return $this->isDefault;
-  }
-  
-  /**
-   * Set isActive
-   *
-   * @param boolean $isActive
-   * @return Provider
-   */
-  public function setIsActive($isActive) {
-    $this->isActive = $isActive;
-    return $this;
-  }
-
-  /**
-   * Get isActive
-   *
-   * @return boolean
-   */
-  public function getIsActive() {
-    return $this->isActive;
-  }
-
-}
-
diff --git a/xml/schema/SMS/History.xml b/xml/schema/SMS/History.xml
new file mode 100644 (file)
index 0000000..c5713ab
--- /dev/null
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+
+<table>
+  <base>CRM/SMS</base>
+  <class>History</class>
+  <name>civicrm_sms_history</name>
+  <comment>SMS History can be linked to any object in the application.</comment>
+  <add>1.4</add>
+  <drop>2.0</drop>
+  <field>
+      <name>id</name>
+      <type>int unsigned</type>
+      <required>true</required>
+      <comment>SMS History ID</comment>
+       <add>1.4</add>
+  </field>
+  <primaryKey>
+       <name>id</name>
+       <autoincrement>true</autoincrement>
+  </primaryKey>
+  <field>
+       <name>message</name>
+       <type>text</type>
+       <comment>Contents of the SMS.</comment>
+       <html>
+         <type>TextArea</type>
+         <rows>5</rows>
+         <cols>80</cols>
+       </html>
+       <add>1.4</add>
+  </field>
+  <field>
+      <name>contact_id</name>
+      <type>int unsigned</type>
+      <required>true</required>
+      <comment>FK to Contact who is sending this SMS</comment>
+       <add>1.4</add>
+       <html>
+         <type>Autocomplete-Select</type>
+       </html>
+  </field>
+  <foreignKey>
+       <name>contact_id</name>
+       <table>civicrm_contact</table>
+       <key>id</key>
+       <add>1.4</add>
+  </foreignKey>
+  <field>
+       <name>sent_date</name>
+       <type>date</type>
+       <comment>When was this SMS sent</comment>
+       <add>1.4</add>
+  </field>
+</table>
index d94fded706ab6e71fb66926bc7194f3d217d74c1..3cb65b07bf54cde5d899095fad812985b4c5a011 100644 (file)
@@ -2,6 +2,7 @@
 
 <tables xmlns:xi="http://www.w3.org/2001/XInclude">
 
+<xi:include href="History.xml" parse="xml" />
 <xi:include href="Provider.xml" parse="xml" />
 
 </tables>
diff --git a/xml/templates/entity.tpl b/xml/templates/entity.tpl
deleted file mode 100644 (file)
index 3f7a20a..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
- *
- * Generated from {$table.sourceFile}
- * {$generated}
- */
-
-namespace Civi\Core;
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * {$table.className}
- *
- * {$table.tableInfo}
- * @ORM\Entity
- */
-class {$table.className} extends \Civi\Core\Entity {ldelim}
-
-  /**
-   * @var integer
-   *
-   * @ORM\Column(name="id", type="integer", nullable=false)
-   * @ORM\Id
-   * @ORM\GeneratedValue(strategy="IDENTITY")
-   */
-  private $id;
-{foreach from=$table.fields item=field}
-  {if $field.name eq 'id'}{continue}{/if}
-
-  /**
-   * @var {$field.columnType}
-   *
-   * {$field.columnInfo}
-   * {$field.columnJoin}
-   */
-  private ${$field.propertyName}{if isset($field.default)} = '{$field.default}'{/if};
-{/foreach}
-
-  /**
-   * Get id
-   *
-   * @return integer
-   */
-  public function getId() {ldelim}
-    return $this->id;
-  {rdelim}
-{foreach from=$table.fields item=field}
-  {if $field.name eq 'id'}{continue}{/if}
-
-  /**
-   * Set {$field.propertyName}
-   *
-   * @param {$field.columnType} ${$field.propertyName}
-   * @return {$table.className}
-   */
-  public function set{$field.functionName}({$field.setFunctionInput}) {ldelim}
-    $this->{$field.propertyName} = ${$field.propertyName};
-    return $this;
-  {rdelim}
-
-  /**
-   * Get {$field.propertyName}
-   *
-   * @return {$field.columnType}
-   */
-  public function get{$field.functionName}() {ldelim}
-    return $this->{$field.propertyName};
-  {rdelim}
-{/foreach}
-
-{rdelim}
-
-