Enum PlacesAdviceEnum

  • All Implemented Interfaces:
    Serializable, Comparable<PlacesAdviceEnum>

    public enum PlacesAdviceEnum
    extends Enum<PlacesAdviceEnum>

    Java class for PlacesAdviceEnum.

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

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

      • AROUND_BENDS_IN_THE_ROAD

        public static final PlacesAdviceEnum AROUND_BENDS_IN_THE_ROAD
        Around bends in the road.
      • AT_CUSTOMS_POSTS

        public static final PlacesAdviceEnum AT_CUSTOMS_POSTS
        At customs posts.
      • AT_HIGH_ALTITUDES

        public static final PlacesAdviceEnum AT_HIGH_ALTITUDES
        At high altitudes.
      • AT_TOLL_PLAZAS

        public static final PlacesAdviceEnum AT_TOLL_PLAZAS
        At toll plazas.
      • IN_LOW_LYING_AREAS

        public static final PlacesAdviceEnum IN_LOW_LYING_AREAS
        In low lying areas.
      • IN_SHADED_AREAS

        public static final PlacesAdviceEnum IN_SHADED_AREAS
        In shaded areas.
      • IN_THE_CITY_CENTRE

        public static final PlacesAdviceEnum IN_THE_CITY_CENTRE
        In the city centre.
      • IN_THE_INNER_CITY_AREAS

        public static final PlacesAdviceEnum IN_THE_INNER_CITY_AREAS
        In the inner city areas.
      • IN_ROADWORKS_AREAS

        public static final PlacesAdviceEnum IN_ROADWORKS_AREAS
        In roadworks areas.
      • ON_ENTERING_OR_LEAVING_TUNNELS

        public static final PlacesAdviceEnum ON_ENTERING_OR_LEAVING_TUNNELS
        On entering or leaving tunnels.
      • ON_SLIP_ROADS

        public static final PlacesAdviceEnum ON_SLIP_ROADS
        On slip roads.
      • OVER_THE_CREST_OF_HILLS

        public static final PlacesAdviceEnum OVER_THE_CREST_OF_HILLS
        Over the crest of hills.
      • ON_ROUNDABOUTS

        public static final PlacesAdviceEnum ON_ROUNDABOUTS
        On roundabouts.
      • ON_UNDERGROUND_SECTIONS

        public static final PlacesAdviceEnum ON_UNDERGROUND_SECTIONS
        On underground sections of the road.
      • OTHER

        public static final PlacesAdviceEnum OTHER
        Other than as defined in this enumeration.
    • Method Detail

      • values

        public static PlacesAdviceEnum[] 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 (PlacesAdviceEnum c : PlacesAdviceEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PlacesAdviceEnum 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()