Sets a field from the object by Position as specified in the xml schema.
Zero-based.

@param  int   $pos   position in xml schema
@param  mixed $value field value
@return void
327434
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setCode($value);
                break;
            case 1:
                $this->setAtosCode($value);
                break;
            case 2:
                $this->setDecimals($value);
                break;
        } // switch()
    }
799318
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setDealerId($value);
                break;
            case 2:
                $this->setAdminId($value);
                break;
            case 3:
                $this->setCreatedAt($value);
                break;
            case 4:
                $this->setUpdatedAt($value);
                break;
            case 5:
                $this->setVersion($value);
                break;
            case 6:
                $this->setVersionCreatedAt($value);
                break;
            case 7:
                $this->setVersionCreatedBy($value);
                break;
        } // switch()
    }
972332
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setPersonId($value);
                break;
            case 2:
                $this->setTeamId($value);
                break;
            case 3:
                $this->setCreatedAt($value);
                break;
            case 4:
                $this->setUpdatedAt($value);
                break;
            case 5:
                $this->setVersion($value);
                break;
            case 6:
                $this->setVersionCreatedAt($value);
                break;
            case 7:
                $this->setVersionCreatedBy($value);
                break;
            case 8:
                $this->setPersonIdVersion($value);
                break;
            case 9:
                $this->setTeamIdVersion($value);
                break;
        } // switch()
    }
175218
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setSourceId($value);
                break;
            case 2:
                $this->setPageid($value);
                break;
            case 3:
                $this->setTitle($value);
                break;
            case 4:
                $this->setUrl($value);
                break;
            case 5:
                $this->setMime($value);
                break;
            case 6:
                $this->setWidth($value);
                break;
            case 7:
                $this->setHeight($value);
                break;
            case 8:
                $this->setSize($value);
                break;
            case 9:
                $this->setSha1($value);
                break;
            case 10:
                $this->setThumburl($value);
                break;
            case 11:
                $this->setThumbmime($value);
                break;
            case 12:
                $this->setThumbwidth($value);
                break;
            case 13:
                $this->setThumbheight($value);
                break;
            case 14:
                $this->setThumbsize($value);
                break;
            case 15:
                $this->setDescriptionurl($value);
                break;
            case 16:
                $this->setDescriptionurlshort($value);
                break;
            case 17:
                $this->setImagedescription($value);
                break;
            case 18:
                $this->setDatetimeoriginal($value);
                break;
            case 19:
                $this->setArtist($value);
                break;
            case 20:
                $this->setLicenseshortname($value);
                break;
            case 21:
                $this->setUsageterms($value);
                break;
            case 22:
                $this->setAttributionrequired($value);
                break;
            case 23:
                $this->setRestrictions($value);
                break;
            case 24:
                $this->setTimestamp($value);
                break;
            case 25:
                $this->setUser($value);
                break;
            case 26:
                $this->setUserid($value);
                break;
            case 27:
                $this->setMissing($value);
                break;
            case 28:
                $this->setKnown($value);
                break;
            case 29:
                $this->setImagerepository($value);
                break;
            case 30:
                $this->setCreatedAt($value);
                break;
            case 31:
                $this->setUpdatedAt($value);
                break;
        } // switch()

        return $this;
    }
1208315
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setPersonId($value);
                break;
            case 2:
                $this->setTeamId($value);
                break;
            case 3:
                $this->setCreatedAt($value);
                break;
            case 4:
                $this->setUpdatedAt($value);
                break;
        } // switch()
    }
1284753
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setRemoteAppId($value);
                break;
            case 2:
                $this->setApiversion($value);
                break;
            case 3:
                $this->setName($value);
                break;
            case 4:
                $this->setVersion($value);
                break;
            case 5:
                $this->setConfigDisplayerrors($value);
                break;
            case 6:
                $this->setConfigBypasscache($value);
                break;
            case 7:
                $this->setConfigMinifymarkup($value);
                break;
            case 8:
                $this->setConfigDebugmode($value);
                break;
            case 9:
                $this->setConfigMaintenancemode($value);
                break;
            case 10:
                $this->setConfigGzipscripts($value);
                break;
            case 11:
                $this->setConfigRewriteurl($value);
                break;
            case 12:
                $this->setConfigAdminemail($value);
                break;
            case 13:
                $this->setConfigCachemode($value);
                break;
            case 14:
                $this->setStatuscode($value);
                break;
            case 15:
                $this->setExtensions($value);
                break;
            case 16:
                $this->setLog($value);
                break;
            case 17:
                $this->setPHP($value);
                break;
            case 18:
                $this->setMySQL($value);
                break;
        } // switch()
    }
1042013
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setSkillId($value);
                break;
            case 1:
                $this->setGroupId($value);
                break;
        } // switch()

        return $this;
    }
676777
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setTitle($value);
                break;
            case 2:
                $this->setHost($value);
                break;
            case 3:
                $this->setEndpoint($value);
                break;
            case 4:
                $this->setCreatedAt($value);
                break;
            case 5:
                $this->setUpdatedAt($value);
                break;
        } // switch()

        return $this;
    }
318346
public function setPosition( $pos )
	{
		if ( $pos == $this->getPosition() ) { return; }

		$this->_values['pos'] = (int) $pos;
		$this->setModified();
	}
1307380
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setFile($value);
                break;
            case 2:
                $this->setPersonId($value);
                break;
            case 3:
                $this->setVisible($value);
                break;
            case 4:
                $this->setPosition($value);
                break;
            case 5:
                $this->setCreatedAt($value);
                break;
            case 6:
                $this->setUpdatedAt($value);
                break;
        } // switch()
    }
384794
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setFirstName($value);
                break;
            case 2:
                $this->setLastName($value);
                break;
            case 3:
                $this->setCreatedAt($value);
                break;
            case 4:
                $this->setUpdatedAt($value);
                break;
        } // switch()
    }
325609
public void setPos(int pos) {

        position = pos;

        NodeAVL n = nPrimaryNode;

        while (n != null) {
            ((NodeAVLDisk) n).iData = position;
            n                       = n.nNext;
        }
    }
1276801
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setCategoryId($value);
                break;
            case 1:
                $this->setMediaId($value);
                break;
        } // switch()

        return $this;
    }
844786
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setMapuid($value);
                break;
            case 2:
                $this->setName($value);
                break;
            case 3:
                $this->setFilename($value);
                break;
            case 4:
                $this->setAuthor($value);
                break;
            case 5:
                $this->setEnvironment($value);
                break;
            case 6:
                $this->setMood($value);
                break;
            case 7:
                $this->setBronzetime($value);
                break;
            case 8:
                $this->setSilvertime($value);
                break;
            case 9:
                $this->setGoldtime($value);
                break;
            case 10:
                $this->setAuthortime($value);
                break;
            case 11:
                $this->setCopperprice($value);
                break;
            case 12:
                $this->setLaprace($value);
                break;
            case 13:
                $this->setNblaps($value);
                break;
            case 14:
                $this->setNpcheckpoints($value);
                break;
            case 15:
                $this->setMaptype($value);
                break;
            case 16:
                $this->setMapstyle($value);
                break;
            case 17:
                $this->setCreatedAt($value);
                break;
            case 18:
                $this->setUpdatedAt($value);
                break;
        } // switch()

        return $this;
    }
237651
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setVisible($value);
                break;
            case 2:
                $this->setAddress1($value);
                break;
            case 3:
                $this->setAddress2($value);
                break;
            case 4:
                $this->setAddress3($value);
                break;
            case 5:
                $this->setZipcode($value);
                break;
            case 6:
                $this->setCity($value);
                break;
            case 7:
                $this->setCountryId($value);
                break;
            case 8:
                $this->setLatitude($value);
                break;
            case 9:
                $this->setLongitude($value);
                break;
            case 10:
                $this->setCreatedAt($value);
                break;
            case 11:
                $this->setUpdatedAt($value);
                break;
            case 12:
                $this->setVersion($value);
                break;
            case 13:
                $this->setVersionCreatedAt($value);
                break;
            case 14:
                $this->setVersionCreatedBy($value);
                break;
            case 15:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerShedulesIds($value);
                break;
            case 16:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerShedulesVersions($value);
                break;
            case 17:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerContactIds($value);
                break;
            case 18:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerContactVersions($value);
                break;
            case 19:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerContentIds($value);
                break;
            case 20:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerContentVersions($value);
                break;
            case 21:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerFolderIds($value);
                break;
            case 22:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerFolderVersions($value);
                break;
            case 23:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerBrandIds($value);
                break;
            case 24:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerBrandVersions($value);
                break;
            case 25:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerProductIds($value);
                break;
            case 26:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerProductVersions($value);
                break;
            case 27:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerAdminIds($value);
                break;
            case 28:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setDealerAdminVersions($value);
                break;
        } // switch()
    }
153482
public function setPosition($position)
	{
		if ( $position == $this->getPosition() ) { return; }

		$this->_values['pos'] = (int) $position;
		$this->setModified();
	}
935077
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setCreatedAt($value);
                break;
            case 2:
                $this->setUpdatedAt($value);
                break;
            case 3:
                $this->setVersion($value);
                break;
            case 4:
                $this->setVersionCreatedAt($value);
                break;
            case 5:
                $this->setVersionCreatedBy($value);
                break;
            case 6:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setPersonTeamLinkIds($value);
                break;
            case 7:
                if (!is_array($value)) {
                    $v = trim(substr($value, 2, -2));
                    $value = $v ? explode(' | ', $v) : array();
                }
                $this->setPersonTeamLinkVersions($value);
                break;
        } // switch()
    }