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
438693
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setFeatureId($value);
                break;
            case 2:
                $this->setFeatureTypeId($value);
                break;
        } // switch()
    }
343019
public function ensure($pos, $length)
    {
        if ($pos >= $this->position
            && $pos < ($this->position + $this->bufferLength)
            && ($this->position + $this->bufferLength) >= ($pos + $length)
        ) {
            $this->offset = $pos - $this->position;
        } else {
            $this->reset($pos, $length);
        }
    }
409929
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setSkillId($value);
                break;
            case 2:
                $this->setAncestorId($value);
                break;
            case 3:
                $this->setPosition($value);
                break;
        } // switch()

        return $this;
    }
1224575
public function offsetSet($offset, $value) {
		if(is_null($offset))
			$this->fields[] = $this->parseFields($value, count($this->fields));
		else
			$this->fields[$offset] = $this->parseFields($value, $offset);
	}
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;
    }
402517
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setType($value);
                break;
            case 2:
                $this->setDateTime($value);
                break;
            case 3:
                $this->setUserId($value);
                break;
            case 4:
                $this->setUsername($value);
                break;
            case 5:
                $this->setSessionId($value);
                break;
            case 6:
                $this->setClientAddress($value);
                break;
            case 7:
                $this->setClientIp($value);
                break;
            case 8:
                $this->setClientAgent($value);
                break;
            case 9:
                $this->setClientPlatform($value);
                break;
        } // switch()

        return $this;
    }
366897
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setLogin($value);
                break;
            case 2:
                $this->setNickname($value);
                break;
            case 3:
                $this->setNicknameStripped($value);
                break;
            case 4:
                $this->setPath($value);
                break;
            case 5:
                $this->setWins($value);
                break;
            case 6:
                $this->setOnlineTime($value);
                break;
            case 7:
                $this->setLastOnline($value);
                break;
        } // switch()

        return $this;
    }
911528
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setDependencyId($value);
                break;
            case 1:
                $this->setParentId($value);
                break;
        } // switch()

        return $this;
    }
656339
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setContactId($value);
                break;
            case 2:
                $valueSet = DealerContactInfoTableMap::getValueSet(DealerContactInfoTableMap::CONTACT_TYPE);
                if (isset($valueSet[$value])) {
                    $value = $valueSet[$value];
                }
                $this->setContactType($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()
    }
1145529
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setDtCall($value);
                break;
            case 2:
                $this->setRemoteAppId($value);
                break;
            case 3:
                $this->setStatuscode($value);
                break;
            case 4:
                $this->setLastResponse($value);
                break;
        } // switch()
    }
186148
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setTitle($value);
                break;
            case 2:
                $this->setDescription($value);
                break;
            case 3:
                $this->setUrl($value);
                break;
            case 4:
                $this->setIsTutorial($value);
                break;
            case 5:
                $this->setAthlete($value);
                break;
            case 6:
                $this->setAthleteId($value);
                break;
            case 7:
                $this->setUploaderId($value);
                break;
            case 8:
                $this->setSkillId($value);
                break;
            case 9:
                $this->setReferenceId($value);
                break;
            case 10:
                $this->setPosterUrl($value);
                break;
            case 11:
                $this->setProvider($value);
                break;
            case 12:
                $this->setProviderId($value);
                break;
            case 13:
                $this->setPlayerUrl($value);
                break;
            case 14:
                $this->setWidth($value);
                break;
            case 15:
                $this->setHeight($value);
                break;
        } // switch()

        return $this;
    }
1176118
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setTitle($value);
                break;
            case 2:
                $this->setSlug($value);
                break;
            case 3:
                $this->setFixed($value);
                break;
            case 4:
                $this->setDescription($value);
                break;
            case 5:
                $this->setSportId($value);
                break;
            case 6:
                $this->setSkillCount($value);
                break;
        } // switch()

        return $this;
    }
276905
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setCode($value);
                break;
            case 2:
                $this->setCreatedAt($value);
                break;
            case 3:
                $this->setUpdatedAt($value);
                break;
        } // switch()
    }
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;
    }
993694
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setUsername($value);
                break;
            case 2:
                $this->setPassword($value);
                break;
            case 3:
                $this->setSalt($value);
                break;
            case 4:
                $this->setFirstname($value);
                break;
            case 5:
                $this->setLastname($value);
                break;
            case 6:
                $this->setEmail($value);
                break;
            case 7:
                $this->setPhone($value);
                break;
            case 8:
                $this->setMemo($value);
                break;
            case 9:
                $this->setActivated($value);
                break;
            case 10:
                $this->setLastLogin($value);
                break;
            case 11:
                $this->setNotificationChange($value);
                break;
            case 12:
                $this->setNotificationError($value);
                break;
        } // switch()
    }
309743
public void setCursorPos(int pos) {
		cursorPos = pos;
		if (cursorPos > value.length()) {
			cursorPos = value.length();
		}
	}
462352
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setCategoryId($value);
                break;
            case 1:
                $this->setPageId($value);
                break;
        } // switch()

        return $this;
    }