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

@param      int $pos position in xml schema
@return mixed Value of field at $pos
975521
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getCode();
                break;
            case 2:
                return $this->getCreatedAt();
                break;
            case 3:
                return $this->getUpdatedAt();
                break;
            case 4:
                return $this->getVersion();
                break;
            case 5:
                return $this->getVersionCreatedAt();
                break;
            case 6:
                return $this->getVersionCreatedBy();
                break;
            case 7:
                return $this->getPersonFunctionLinkIds();
                break;
            case 8:
                return $this->getPersonFunctionLinkVersions();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1106548
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getMaxClients();
                break;
            case 2:
                return $this->getDomain();
                break;
            case 3:
                return $this->getValidUntil();
                break;
            case 4:
                return $this->getSerial();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1030020
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getPersonId();
                break;
            case 2:
                return $this->getFunctionId();
                break;
            case 3:
                return $this->getCreatedAt();
                break;
            case 4:
                return $this->getUpdatedAt();
                break;
            case 5:
                return $this->getVersion();
                break;
            case 6:
                return $this->getVersionCreatedAt();
                break;
            case 7:
                return $this->getVersionCreatedBy();
                break;
            case 8:
                return $this->getPersonIdVersion();
                break;
            case 9:
                return $this->getFunctionIdVersion();
                break;
            default:
                return null;
                break;
        } // switch()
    }
730887
static public function ExtractUShort($str, &$pos)
    {
        $bytes = substr($str, $pos, 2);
        $ushort = Utility::Word2UShort($bytes);
        $pos += 2;

        return $ushort;
    }
297206
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getTitle();
                break;
            case 2:
                return $this->getDescription();
                break;
            case 3:
                return $this->getUrl();
                break;
            case 4:
                return $this->getIsTutorial();
                break;
            case 5:
                return $this->getAthlete();
                break;
            case 6:
                return $this->getAthleteId();
                break;
            case 7:
                return $this->getUploaderId();
                break;
            case 8:
                return $this->getSkillId();
                break;
            case 9:
                return $this->getReferenceId();
                break;
            case 10:
                return $this->getPosterUrl();
                break;
            case 11:
                return $this->getProvider();
                break;
            case 12:
                return $this->getProviderId();
                break;
            case 13:
                return $this->getPlayerUrl();
                break;
            case 14:
                return $this->getWidth();
                break;
            case 15:
                return $this->getHeight();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1335508
private function getSourcePosition($pos)
    {
        $low = 0;
        $high = count($this->sourcePositions);

        while ($low < $high) {
            $mid = (int) (($high + $low) / 2);

            if ($pos < $this->sourcePositions[$mid]) {
                $high = $mid - 1;
                continue;
            }

            if ($pos >= $this->sourcePositions[$mid + 1]) {
                $low = $mid + 1;
                continue;
            }

            return [$mid + 1, $pos - $this->sourcePositions[$mid]];
        }

        return [$low + 1, $pos - $this->sourcePositions[$low]];
    }
334490
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getActive();
                break;
            case 2:
                return $this->getFiltertype();
                break;
            case 3:
                return $this->getCode();
                break;
            default:
                return null;
                break;
        } // switch()
    }
696709
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getVisible();
                break;
            case 2:
                return $this->getCode();
                break;
            case 3:
                return $this->getTitle();
                break;
            case 4:
                return $this->getType();
                break;
            case 5:
                return $this->getEntity();
                break;
            case 6:
                return $this->getSerializedColumns();
                break;
            case 7:
                return $this->getSerializedCondition();
                break;
            case 8:
                return $this->getIndexEngineDriverConfigurationId();
                break;
            case 9:
                return $this->getCreatedAt();
                break;
            case 10:
                return $this->getUpdatedAt();
                break;
            case 11:
                return $this->getVersion();
                break;
            case 12:
                return $this->getVersionCreatedAt();
                break;
            case 13:
                return $this->getVersionCreatedBy();
                break;
            default:
                return;
                break;
        } // switch()
    }
674771
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getPersonId();
                break;
            case 2:
                return $this->getTeamId();
                break;
            case 3:
                return $this->getCreatedAt();
                break;
            case 4:
                return $this->getUpdatedAt();
                break;
            case 5:
                return $this->getVersion();
                break;
            case 6:
                return $this->getVersionCreatedAt();
                break;
            case 7:
                return $this->getVersionCreatedBy();
                break;
            case 8:
                return $this->getPersonIdVersion();
                break;
            case 9:
                return $this->getTeamIdVersion();
                break;
            default:
                return null;
                break;
        } // switch()
    }
79445
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->setFirstName($value);
                break;
            case 4:
                $this->setLastName($value);
                break;
            case 5:
                $this->setCreateDate($value);
                break;
            case 6:
                $this->setUpdateDate($value);
                break;
            case 7:
                $this->setStatus($value);
                break;
        } // switch()

        return $this;
    }
676256
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getLogin();
                break;
            case 2:
                return $this->getMapuid();
                break;
            case 3:
                return $this->getScore();
                break;
            case 4:
                return $this->getCreatedAt();
                break;
            case 5:
                return $this->getUpdatedAt();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1063824
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setStructureNodeId($value);
                break;
            case 1:
                $this->setParentId($value);
                break;
        } // switch()

        return $this;
    }
1368730
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getVisible();
                break;
            case 2:
                return $this->getAddress1();
                break;
            case 3:
                return $this->getAddress2();
                break;
            case 4:
                return $this->getAddress3();
                break;
            case 5:
                return $this->getZipcode();
                break;
            case 6:
                return $this->getCity();
                break;
            case 7:
                return $this->getCountryId();
                break;
            case 8:
                return $this->getLatitude();
                break;
            case 9:
                return $this->getLongitude();
                break;
            case 10:
                return $this->getCreatedAt();
                break;
            case 11:
                return $this->getUpdatedAt();
                break;
            case 12:
                return $this->getVersion();
                break;
            case 13:
                return $this->getVersionCreatedAt();
                break;
            case 14:
                return $this->getVersionCreatedBy();
                break;
            case 15:
                return $this->getDealerShedulesIds();
                break;
            case 16:
                return $this->getDealerShedulesVersions();
                break;
            case 17:
                return $this->getDealerContactIds();
                break;
            case 18:
                return $this->getDealerContactVersions();
                break;
            case 19:
                return $this->getDealerContentIds();
                break;
            case 20:
                return $this->getDealerContentVersions();
                break;
            case 21:
                return $this->getDealerFolderIds();
                break;
            case 22:
                return $this->getDealerFolderVersions();
                break;
            case 23:
                return $this->getDealerBrandIds();
                break;
            case 24:
                return $this->getDealerBrandVersions();
                break;
            case 25:
                return $this->getDealerProductIds();
                break;
            case 26:
                return $this->getDealerProductVersions();
                break;
            case 27:
                return $this->getDealerAdminIds();
                break;
            case 28:
                return $this->getDealerAdminVersions();
                break;
            default:
                return null;
                break;
        } // switch()
    }
812932
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getTrackuid();
                break;
            case 2:
                return $this->getGbxmapname();
                break;
            case 3:
                return $this->getTrackid();
                break;
            case 4:
                return $this->getUserid();
                break;
            case 5:
                return $this->getUsername();
                break;
            case 6:
                return $this->getUploadedat();
                break;
            case 7:
                return $this->getUpdatedat();
                break;
            case 8:
                return $this->getMaptype();
                break;
            case 9:
                return $this->getTitlepack();
                break;
            case 10:
                return $this->getStylename();
                break;
            case 11:
                return $this->getDisplaycost();
                break;
            case 12:
                return $this->getModname();
                break;
            case 13:
                return $this->getLightmap();
                break;
            case 14:
                return $this->getExeversion();
                break;
            case 15:
                return $this->getExebuild();
                break;
            case 16:
                return $this->getEnvironmentname();
                break;
            case 17:
                return $this->getVehiclename();
                break;
            case 18:
                return $this->getUnlimiterrequired();
                break;
            case 19:
                return $this->getRoutename();
                break;
            case 20:
                return $this->getLengthname();
                break;
            case 21:
                return $this->getLaps();
                break;
            case 22:
                return $this->getDifficultyname();
                break;
            case 23:
                return $this->getReplaytypename();
                break;
            case 24:
                return $this->getReplaywrid();
                break;
            case 25:
                return $this->getReplaywrtime();
                break;
            case 26:
                return $this->getReplaywruserid();
                break;
            case 27:
                return $this->getReplaywrusername();
                break;
            case 28:
                return $this->getRatingvotecount();
                break;
            case 29:
                return $this->getRatingvoteaverage();
                break;
            case 30:
                return $this->getReplaycount();
                break;
            case 31:
                return $this->getTrackvalue();
                break;
            case 32:
                return $this->getComments();
                break;
            case 33:
                return $this->getCommentscount();
                break;
            case 34:
                return $this->getAwardcount();
                break;
            case 35:
                return $this->getHasscreenshot();
                break;
            case 36:
                return $this->getHasthumbnail();
                break;
            case 37:
                return $this->getHasghostblocks();
                break;
            case 38:
                return $this->getEmbeddedobjectscount();
                break;
            default:
                return null;
                break;
        } // switch()
    }
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;
    }
1193803
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getUserId();
                break;
            case 2:
                return $this->getCustomerId();
                break;
            default:
                return null;
                break;
        } // switch()
    }
33445
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getRemoteAppId();
                break;
            case 2:
                return $this->getApiversion();
                break;
            case 3:
                return $this->getName();
                break;
            case 4:
                return $this->getVersion();
                break;
            case 5:
                return $this->getConfigDisplayerrors();
                break;
            case 6:
                return $this->getConfigBypasscache();
                break;
            case 7:
                return $this->getConfigMinifymarkup();
                break;
            case 8:
                return $this->getConfigDebugmode();
                break;
            case 9:
                return $this->getConfigMaintenancemode();
                break;
            case 10:
                return $this->getConfigGzipscripts();
                break;
            case 11:
                return $this->getConfigRewriteurl();
                break;
            case 12:
                return $this->getConfigAdminemail();
                break;
            case 13:
                return $this->getConfigCachemode();
                break;
            case 14:
                return $this->getStatuscode();
                break;
            case 15:
                return $this->getExtensions();
                break;
            case 16:
                return $this->getLog();
                break;
            case 17:
                return $this->getPHP();
                break;
            case 18:
                return $this->getMySQL();
                break;
            default:
                return null;
                break;
        } // switch()
    }