Enum PlacesAdviceEnum
- java.lang.Object
-
- java.lang.Enum<PlacesAdviceEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.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 Summary
Enum Constants Enum Constant Description AROUND_BENDS_IN_THE_ROADAround bends in the road.AT_CUSTOMS_POSTSAt customs posts.AT_HIGH_ALTITUDESAt high altitudes.AT_TOLL_PLAZASAt toll plazas.IN_GALLARIESIn gallaries.IN_LOW_LYING_AREASIn low lying areas.IN_ROADWORKS_AREASIn roadworks areas.IN_SHADED_AREASIn shaded areas.IN_THE_CITY_CENTREIn the city centre.IN_THE_INNER_CITY_AREASIn the inner city areas.IN_TUNNELSIn tunnels.ON_BRIDGESOn bridges.ON_ENTERING_OR_LEAVING_TUNNELSOn entering or leaving tunnels.ON_MOTORWAYSOn motorways.ON_ROUNDABOUTSOn roundabouts.ON_SLIP_ROADSOn slip roads.ON_UNDERGROUND_SECTIONSOn underground sections of the road.OTHEROther than as defined in this enumeration.OVER_THE_CREST_OF_HILLSOver the crest of hills.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlacesAdviceEnumfromValue(String v)Stringvalue()static PlacesAdviceEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PlacesAdviceEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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_GALLARIES
public static final PlacesAdviceEnum IN_GALLARIES
In gallaries.
-
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.
-
IN_TUNNELS
public static final PlacesAdviceEnum IN_TUNNELS
In tunnels.
-
ON_BRIDGES
public static final PlacesAdviceEnum ON_BRIDGES
On bridges.
-
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_MOTORWAYS
public static final PlacesAdviceEnum ON_MOTORWAYS
On motorways.
-
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 nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static PlacesAdviceEnum fromValue(String v)
-
-