Your IP : 10.10.0.253


Current Path : /var/www/administrator/components/com_breezingforms/libraries/salesforce/
Upload File :
Current File : /var/www/administrator/components/com_breezingforms/libraries/salesforce/SforceMetaObject.php

<?php
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
/*
 * Copyright (c) 2007, salesforce.com, inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification, are permitted provided
 * that the following conditions are met:
 *
 *    Redistributions of source code must retain the above copyright notice, this list of conditions and the
 *    following disclaimer.
 *
 *    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
 *    the following disclaimer in the documentation and/or other materials provided with the distribution.
 *
 *    Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or
 *    promote products derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */
require_once('SforceFieldTypes.php');

class SforceCustomObject {
  public function setDeploymentStatus($deploymentStatus) {
    $this->deploymentStatus = $deploymentStatus;
  }

  public function setDescription($description) {
    $this->description = $description;
  }

  public function setEnableActivities($enableActivities) {
    $this->enableActivities = $enableActivities;
  }

  public function setEnableDivisions($enableDivisions) {
    $this->enableDivisions = $enableDivisions;
  }

  public function setEnableHistory($enableHistory) {
    $this->enableHistory = $enableHistory;
  }

  public function setEnableReports($enableReports) {
    $this->enableReports = $enableReports;
  }

  public function setFields($fields) {
    $this->fields = $fields;
  }

  public function setFullName($fullName) {
    $this->fullName = $fullName;
  }

  public function setGender($gender) {
    $this->gender = $gender;
  }

  public function setHousehold($household) {
    $this->household = $household;
  }

  public function setLabel($label) {
    $this->label = $label;
  }

  public function setNameField($nameField) {
    $this->nameField = $nameField;
  }

  public function setPluralLabel($pluralLabel) {
    $this->pluralLabel = $pluralLabel;
  }

  public function setSharingModel($sharingModel) {
    $this->sharingModel = $sharingModel;
  }

  public function setStartsWith($startsWith) {
    $this->startsWith = $startsWith;
  }
}

class SforceCustomField {
  public function setCaseSensitive($caseSensitive) {
    $this->caseSensitive = $caseSensitive;
  }

  public function setDefaultValue($defaultValue) {
    $this->defaultValue = $defaultValue;
  }

  public function setDescription($description) {
    $this->description = $description;
  }

  public function setDisplayFormat($displayFormat) {
    $this->displayFormat = $displayFormat;
  }

  public function setExternalId($externalId) {
    $this->externalId = $externalId;
  }

  public function setFormula($formula) {
    $this->formula = $formula;
  }

  public function setFormulaTreatBlankAs($formulaTreatBlankAs) {
    $this->formulaTreatBlankAs = $formulaTreatBlankAs;
  }

  public function setFullName($fullName) {
    $this->fullName = $fullName;
  }

  public function setInlineHelpText($inlineHelpText) {
    $this->inlineHelpText = $inlineHelpText;
  }

  public function setLabel($label) {
    $this->label = $label;
  }

  public function setLength($length) {
    $this->length = $length;
  }

  public function setMaskChar($maskChar) {
    $this->maskChar = $maskChar;
  }

  public function setMaskType($maskType) {
    $this->maskType = $maskType;
  }

  public function setPicklist($picklist) {
    $this->picklist = $picklist;
  }

  public function setPopulateExistingRows($populateExistingRows) {
    $this->populateExistingRows = $populateExistingRows;
  }

  public function setPrecision($precision) {
    $this->precision = $precision;
  }

  public function setReferenceTo($referenceTo) {
    $this->referenceTo = $referenceTo;
  }

  public function setRelationshipName($relationshipName) {
    $this->relationshipName = $relationshipName;
  }

  public function setRequired($required) {
    $this->required = $required;
  }

  public function setScale($scale) {
    $this->scale = $scale;
  }

  public function setStartingNumber($startingNumber) {
    $this->startingNumber = $startingNumber;
  }

  public function setSummarizeField($summarizeField) {
    $this->summarizeField = $summarizeField;
  }

  public function setSummaryFilterItems($summaryFilterItems) {
    $this->summaryFilterItems = $summaryFilterItems;
  }

  public function setSummaryForeignKey($summaryForeignKey) {
    $this->summaryForeignKey = $summaryForeignKey;
  }

  public function setSummaryOperation($summaryOperation) {
    $this->summaryOperation = $summaryOperation;
  }

  public function setType($type) {
    $this->type = $type;
  }

  public function setUnique($unique) {
    $this->unique = $unique;
  }

  public function setVisibleLines($visibleLines) {
    $this->visibleLines = $visibleLines;
  }
}
?>