<?php

namespace EnumType;

/**
 * This class stands for BusSubmodesOfTransportEnumeration EnumType
 * Meta informations extracted from the WSDL
 * - documentation: Values for Bus ModesOfTransport: TPEG pti_table_05, loc_table_10.
 * @subpackage Enumerations
 */
class BusSubmodesOfTransportEnumeration
{
    /**
     * Constant for value 'pti5_0'
     * @return string 'pti5_0'
     */
    const VALUE_PTI_5_0 = 'pti5_0';
    /**
     * Constant for value 'loc10_0'
     * @return string 'loc10_0'
     */
    const VALUE_LOC_10_0 = 'loc10_0';
    /**
     * Constant for value 'unknown'
     * @return string 'unknown'
     */
    const VALUE_UNKNOWN = 'unknown';
    /**
     * Constant for value 'pti5_1'
     * @return string 'pti5_1'
     */
    const VALUE_PTI_5_1 = 'pti5_1';
    /**
     * Constant for value 'loc10_6'
     * @return string 'loc10_6'
     */
    const VALUE_LOC_10_6 = 'loc10_6';
    /**
     * Constant for value 'regionalBus'
     * @return string 'regionalBus'
     */
    const VALUE_REGIONAL_BUS = 'regionalBus';
    /**
     * Constant for value 'pti5_2'
     * @return string 'pti5_2'
     */
    const VALUE_PTI_5_2 = 'pti5_2';
    /**
     * Constant for value 'loc10_1'
     * @return string 'loc10_1'
     */
    const VALUE_LOC_10_1 = 'loc10_1';
    /**
     * Constant for value 'expressBus'
     * @return string 'expressBus'
     */
    const VALUE_EXPRESS_BUS = 'expressBus';
    /**
     * Constant for value 'pti5_3'
     * @return string 'pti5_3'
     */
    const VALUE_PTI_5_3 = 'pti5_3';
    /**
     * Constant for value 'bus'
     * @return string 'bus'
     */
    const VALUE_BUS = 'bus';
    /**
     * Constant for value 'pti5_4'
     * @return string 'pti5_4'
     */
    const VALUE_PTI_5_4 = 'pti5_4';
    /**
     * Constant for value 'loc10_5'
     * @return string 'loc10_5'
     */
    const VALUE_LOC_10_5 = 'loc10_5';
    /**
     * Constant for value 'localBusService'
     * @return string 'localBusService'
     */
    const VALUE_LOCAL_BUS_SERVICE = 'localBusService';
    /**
     * Constant for value 'pti5_5'
     * @return string 'pti5_5'
     */
    const VALUE_PTI_5_5 = 'pti5_5';
    /**
     * Constant for value 'loc10_2'
     * @return string 'loc10_2'
     */
    const VALUE_LOC_10_2 = 'loc10_2';
    /**
     * Constant for value 'nightBus'
     * @return string 'nightBus'
     */
    const VALUE_NIGHT_BUS = 'nightBus';
    /**
     * Constant for value 'pti5_6'
     * @return string 'pti5_6'
     */
    const VALUE_PTI_5_6 = 'pti5_6';
    /**
     * Constant for value 'loc10_4'
     * @return string 'loc10_4'
     */
    const VALUE_LOC_10_4 = 'loc10_4';
    /**
     * Constant for value 'postBus'
     * @return string 'postBus'
     */
    const VALUE_POST_BUS = 'postBus';
    /**
     * Constant for value 'pti5_7'
     * @return string 'pti5_7'
     */
    const VALUE_PTI_5_7 = 'pti5_7';
    /**
     * Constant for value 'loc10_8'
     * @return string 'loc10_8'
     */
    const VALUE_LOC_10_8 = 'loc10_8';
    /**
     * Constant for value 'specialNeedsBus'
     * @return string 'specialNeedsBus'
     */
    const VALUE_SPECIAL_NEEDS_BUS = 'specialNeedsBus';
    /**
     * Constant for value 'pti5_8'
     * @return string 'pti5_8'
     */
    const VALUE_PTI_5_8 = 'pti5_8';
    /**
     * Constant for value 'mobilityBus'
     * @return string 'mobilityBus'
     */
    const VALUE_MOBILITY_BUS = 'mobilityBus';
    /**
     * Constant for value 'pti5_9'
     * @return string 'pti5_9'
     */
    const VALUE_PTI_5_9 = 'pti5_9';
    /**
     * Constant for value 'mobilityBusForRegisteredDisabled'
     * @return string 'mobilityBusForRegisteredDisabled'
     */
    const VALUE_MOBILITY_BUS_FOR_REGISTERED_DISABLED = 'mobilityBusForRegisteredDisabled';
    /**
     * Constant for value 'pti5_10'
     * @return string 'pti5_10'
     */
    const VALUE_PTI_5_10 = 'pti5_10';
    /**
     * Constant for value 'loc10_9'
     * @return string 'loc10_9'
     */
    const VALUE_LOC_10_9 = 'loc10_9';
    /**
     * Constant for value 'sightseeingBus'
     * @return string 'sightseeingBus'
     */
    const VALUE_SIGHTSEEING_BUS = 'sightseeingBus';
    /**
     * Constant for value 'pti5_11'
     * @return string 'pti5_11'
     */
    const VALUE_PTI_5_11 = 'pti5_11';
    /**
     * Constant for value 'shuttleBus'
     * @return string 'shuttleBus'
     */
    const VALUE_SHUTTLE_BUS = 'shuttleBus';
    /**
     * Constant for value 'pti5_12'
     * @return string 'pti5_12'
     */
    const VALUE_PTI_5_12 = 'pti5_12';
    /**
     * Constant for value 'loc10_7'
     * @return string 'loc10_7'
     */
    const VALUE_LOC_10_7 = 'loc10_7';
    /**
     * Constant for value 'schoolBus'
     * @return string 'schoolBus'
     */
    const VALUE_SCHOOL_BUS = 'schoolBus';
    /**
     * Constant for value 'pti5_13'
     * @return string 'pti5_13'
     */
    const VALUE_PTI_5_13 = 'pti5_13';
    /**
     * Constant for value 'loc10_13'
     * @return string 'loc10_13'
     */
    const VALUE_LOC_10_13 = 'loc10_13';
    /**
     * Constant for value 'schoolAndPublicServiceBus'
     * @return string 'schoolAndPublicServiceBus'
     */
    const VALUE_SCHOOL_AND_PUBLIC_SERVICE_BUS = 'schoolAndPublicServiceBus';
    /**
     * Constant for value 'pti5_14'
     * @return string 'pti5_14'
     */
    const VALUE_PTI_5_14 = 'pti5_14';
    /**
     * Constant for value 'railReplacementBus'
     * @return string 'railReplacementBus'
     */
    const VALUE_RAIL_REPLACEMENT_BUS = 'railReplacementBus';
    /**
     * Constant for value 'pti5_15'
     * @return string 'pti5_15'
     */
    const VALUE_PTI_5_15 = 'pti5_15';
    /**
     * Constant for value 'demandAndResponseBus'
     * @return string 'demandAndResponseBus'
     */
    const VALUE_DEMAND_AND_RESPONSE_BUS = 'demandAndResponseBus';
    /**
     * Constant for value 'pti5_16'
     * @return string 'pti5_16'
     */
    const VALUE_PTI_5_16 = 'pti5_16';
    /**
     * Constant for value 'allBusServices'
     * @return string 'allBusServices'
     */
    const VALUE_ALL_BUS_SERVICES = 'allBusServices';
    /**
     * Constant for value 'loc_10'
     * @return string 'loc_10'
     */
    const VALUE_LOC_10 = 'loc_10';
    /**
     * Constant for value 'airportLinkBus'
     * @return string 'airportLinkBus'
     */
    const VALUE_AIRPORT_LINK_BUS = 'airportLinkBus';
    /**
     * Constant for value 'pti5_255'
     * @return string 'pti5_255'
     */
    const VALUE_PTI_5_255 = 'pti5_255';
    /**
     * Constant for value 'loc10_255'
     * @return string 'loc10_255'
     */
    const VALUE_LOC_10_255 = 'loc10_255';
    /**
     * Constant for value 'undefined'
     * @return string 'undefined'
     */
    const VALUE_UNDEFINED = 'undefined';
    /**
     * Return true if value is allowed
     * @uses self::getValidValues()
     * @param mixed $value value
     * @return bool true|false
     */
    public static function valueIsValid($value)
    {
        return ($value === null) || in_array($value, self::getValidValues(), true);
    }
    /**
     * Return allowed values
     * @uses self::VALUE_PTI_5_0
     * @uses self::VALUE_LOC_10_0
     * @uses self::VALUE_UNKNOWN
     * @uses self::VALUE_PTI_5_1
     * @uses self::VALUE_LOC_10_6
     * @uses self::VALUE_REGIONAL_BUS
     * @uses self::VALUE_PTI_5_2
     * @uses self::VALUE_LOC_10_1
     * @uses self::VALUE_EXPRESS_BUS
     * @uses self::VALUE_PTI_5_3
     * @uses self::VALUE_BUS
     * @uses self::VALUE_PTI_5_4
     * @uses self::VALUE_LOC_10_5
     * @uses self::VALUE_LOCAL_BUS_SERVICE
     * @uses self::VALUE_PTI_5_5
     * @uses self::VALUE_LOC_10_2
     * @uses self::VALUE_NIGHT_BUS
     * @uses self::VALUE_PTI_5_6
     * @uses self::VALUE_LOC_10_4
     * @uses self::VALUE_POST_BUS
     * @uses self::VALUE_PTI_5_7
     * @uses self::VALUE_LOC_10_8
     * @uses self::VALUE_SPECIAL_NEEDS_BUS
     * @uses self::VALUE_PTI_5_8
     * @uses self::VALUE_MOBILITY_BUS
     * @uses self::VALUE_PTI_5_9
     * @uses self::VALUE_MOBILITY_BUS_FOR_REGISTERED_DISABLED
     * @uses self::VALUE_PTI_5_10
     * @uses self::VALUE_LOC_10_9
     * @uses self::VALUE_SIGHTSEEING_BUS
     * @uses self::VALUE_PTI_5_11
     * @uses self::VALUE_SHUTTLE_BUS
     * @uses self::VALUE_PTI_5_12
     * @uses self::VALUE_LOC_10_7
     * @uses self::VALUE_SCHOOL_BUS
     * @uses self::VALUE_PTI_5_13
     * @uses self::VALUE_LOC_10_13
     * @uses self::VALUE_SCHOOL_AND_PUBLIC_SERVICE_BUS
     * @uses self::VALUE_PTI_5_14
     * @uses self::VALUE_RAIL_REPLACEMENT_BUS
     * @uses self::VALUE_PTI_5_15
     * @uses self::VALUE_DEMAND_AND_RESPONSE_BUS
     * @uses self::VALUE_PTI_5_16
     * @uses self::VALUE_ALL_BUS_SERVICES
     * @uses self::VALUE_LOC_10
     * @uses self::VALUE_AIRPORT_LINK_BUS
     * @uses self::VALUE_PTI_5_255
     * @uses self::VALUE_LOC_10_255
     * @uses self::VALUE_UNDEFINED
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_PTI_5_0,
            self::VALUE_LOC_10_0,
            self::VALUE_UNKNOWN,
            self::VALUE_PTI_5_1,
            self::VALUE_LOC_10_6,
            self::VALUE_REGIONAL_BUS,
            self::VALUE_PTI_5_2,
            self::VALUE_LOC_10_1,
            self::VALUE_EXPRESS_BUS,
            self::VALUE_PTI_5_3,
            self::VALUE_BUS,
            self::VALUE_PTI_5_4,
            self::VALUE_LOC_10_5,
            self::VALUE_LOCAL_BUS_SERVICE,
            self::VALUE_PTI_5_5,
            self::VALUE_LOC_10_2,
            self::VALUE_NIGHT_BUS,
            self::VALUE_PTI_5_6,
            self::VALUE_LOC_10_4,
            self::VALUE_POST_BUS,
            self::VALUE_PTI_5_7,
            self::VALUE_LOC_10_8,
            self::VALUE_SPECIAL_NEEDS_BUS,
            self::VALUE_PTI_5_8,
            self::VALUE_MOBILITY_BUS,
            self::VALUE_PTI_5_9,
            self::VALUE_MOBILITY_BUS_FOR_REGISTERED_DISABLED,
            self::VALUE_PTI_5_10,
            self::VALUE_LOC_10_9,
            self::VALUE_SIGHTSEEING_BUS,
            self::VALUE_PTI_5_11,
            self::VALUE_SHUTTLE_BUS,
            self::VALUE_PTI_5_12,
            self::VALUE_LOC_10_7,
            self::VALUE_SCHOOL_BUS,
            self::VALUE_PTI_5_13,
            self::VALUE_LOC_10_13,
            self::VALUE_SCHOOL_AND_PUBLIC_SERVICE_BUS,
            self::VALUE_PTI_5_14,
            self::VALUE_RAIL_REPLACEMENT_BUS,
            self::VALUE_PTI_5_15,
            self::VALUE_DEMAND_AND_RESPONSE_BUS,
            self::VALUE_PTI_5_16,
            self::VALUE_ALL_BUS_SERVICES,
            self::VALUE_LOC_10,
            self::VALUE_AIRPORT_LINK_BUS,
            self::VALUE_PTI_5_255,
            self::VALUE_LOC_10_255,
            self::VALUE_UNDEFINED,
        );
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
