Enum PlacesEnum

  • All Implemented Interfaces:
    Serializable, Comparable<PlacesEnum>

    public enum PlacesEnum
    extends Enum<PlacesEnum>

    Java class for PlacesEnum.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="PlacesEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="aroundBendsInTheRoad"/>
         <enumeration value="atCustomsPosts"/>
         <enumeration value="atHighAltitudes"/>
         <enumeration value="atTollPlazas"/>
         <enumeration value="inGalleries"/>
         <enumeration value="inLowLyingAreas"/>
         <enumeration value="inRoadworksAreas"/>
         <enumeration value="inShadedAreas"/>
         <enumeration value="inTheCityCentre"/>
         <enumeration value="inTheInnerCityAreas"/>
         <enumeration value="inTunnels"/>
         <enumeration value="onBridges"/>
         <enumeration value="onElevatedSections"/>
         <enumeration value="onEnteringOrLeavingTunnels"/>
         <enumeration value="onEnteringTheCountry"/>
         <enumeration value="onFlyovers"/>
         <enumeration value="onLeavingTheCountry"/>
         <enumeration value="onMotorways"/>
         <enumeration value="onNonMotorways"/>
         <enumeration value="onRoundabouts"/>
         <enumeration value="onSlipRoads"/>
         <enumeration value="onUndergroundSections"/>
         <enumeration value="onUnderpasses"/>
         <enumeration value="overTheCrestOfHills"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • AROUND_BENDS_IN_THE_ROAD

        public static final PlacesEnum AROUND_BENDS_IN_THE_ROAD
      • AT_CUSTOMS_POSTS

        public static final PlacesEnum AT_CUSTOMS_POSTS
      • AT_HIGH_ALTITUDES

        public static final PlacesEnum AT_HIGH_ALTITUDES
      • AT_TOLL_PLAZAS

        public static final PlacesEnum AT_TOLL_PLAZAS
      • IN_GALLERIES

        public static final PlacesEnum IN_GALLERIES
      • IN_LOW_LYING_AREAS

        public static final PlacesEnum IN_LOW_LYING_AREAS
      • IN_ROADWORKS_AREAS

        public static final PlacesEnum IN_ROADWORKS_AREAS
      • IN_SHADED_AREAS

        public static final PlacesEnum IN_SHADED_AREAS
      • IN_THE_CITY_CENTRE

        public static final PlacesEnum IN_THE_CITY_CENTRE
      • IN_THE_INNER_CITY_AREAS

        public static final PlacesEnum IN_THE_INNER_CITY_AREAS
      • IN_TUNNELS

        public static final PlacesEnum IN_TUNNELS
      • ON_BRIDGES

        public static final PlacesEnum ON_BRIDGES
      • ON_ELEVATED_SECTIONS

        public static final PlacesEnum ON_ELEVATED_SECTIONS
      • ON_ENTERING_OR_LEAVING_TUNNELS

        public static final PlacesEnum ON_ENTERING_OR_LEAVING_TUNNELS
      • ON_ENTERING_THE_COUNTRY

        public static final PlacesEnum ON_ENTERING_THE_COUNTRY
      • ON_FLYOVERS

        public static final PlacesEnum ON_FLYOVERS
      • ON_LEAVING_THE_COUNTRY

        public static final PlacesEnum ON_LEAVING_THE_COUNTRY
      • ON_MOTORWAYS

        public static final PlacesEnum ON_MOTORWAYS
      • ON_NON_MOTORWAYS

        public static final PlacesEnum ON_NON_MOTORWAYS
      • ON_ROUNDABOUTS

        public static final PlacesEnum ON_ROUNDABOUTS
      • ON_SLIP_ROADS

        public static final PlacesEnum ON_SLIP_ROADS
      • ON_UNDERGROUND_SECTIONS

        public static final PlacesEnum ON_UNDERGROUND_SECTIONS
      • ON_UNDERPASSES

        public static final PlacesEnum ON_UNDERPASSES
      • OVER_THE_CREST_OF_HILLS

        public static final PlacesEnum OVER_THE_CREST_OF_HILLS
    • Method Detail

      • values

        public static PlacesEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PlacesEnum c : PlacesEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PlacesEnum valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()