Enum SubjectTypeOfWorksEnum
- java.lang.Object
-
- java.lang.Enum<SubjectTypeOfWorksEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.SubjectTypeOfWorksEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SubjectTypeOfWorksEnum>
public enum SubjectTypeOfWorksEnum extends Enum<SubjectTypeOfWorksEnum>
Java class for SubjectTypeOfWorksEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SubjectTypeOfWorksEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="bridge"/> <enumeration value="buriedCables"/> <enumeration value="buriedServices"/> <enumeration value="carriageway"/> <enumeration value="centralReservation"/> <enumeration value="crashBarrier"/> <enumeration value="gallery"/> <enumeration value="gasMainWork"/> <enumeration value="interchange"/> <enumeration value="junction"/> <enumeration value="lane"/> <enumeration value="levelCrossing"/> <enumeration value="lightingSystem"/> <enumeration value="measurementEquipment"/> <enumeration value="road"/> <enumeration value="roadsideEquipment"/> <enumeration value="roadSigns"/> <enumeration value="roundabout"/> <enumeration value="tunnel"/> <enumeration value="waterMain"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRIDGEBridge on, over or under the highway.BURIED_CABLESBuried cables under or along the highway.BURIED_SERVICESUnspecified buried services on, under or along the highway.CARRIAGEWAYRoad carriageway comprising one or more lanes.CENTRAL_RESERVATIONCentral reservation (median).CRASH_BARRIERCrash barrier.GALLERYGallery.GAS_MAIN_WORKGas mains.INTERCHANGEMotorway or major road interchange.JUNCTIONMotorway or major road junction.LANELane either along or adjacent to an existing carriageway.LEVEL_CROSSINGLevel-crossing or associated equipment.LIGHTING_SYSTEMRoad lighting system.MEASUREMENT_EQUIPMENTEquipment used for determining traffic measurements.OTHEROther than as defined in this enumeration.ROADRoad.ROAD_SIGNSRoad signs.ROADSIDE_EQUIPMENTRoad side equipment.ROUNDABOUTRoundabout.TUNNELRoad tunnel.WATER_MAINWater main under or along the highway.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubjectTypeOfWorksEnumfromValue(String v)Stringvalue()static SubjectTypeOfWorksEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SubjectTypeOfWorksEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BRIDGE
public static final SubjectTypeOfWorksEnum BRIDGE
Bridge on, over or under the highway.
-
BURIED_CABLES
public static final SubjectTypeOfWorksEnum BURIED_CABLES
Buried cables under or along the highway.
-
BURIED_SERVICES
public static final SubjectTypeOfWorksEnum BURIED_SERVICES
Unspecified buried services on, under or along the highway.
-
CARRIAGEWAY
public static final SubjectTypeOfWorksEnum CARRIAGEWAY
Road carriageway comprising one or more lanes.
-
CENTRAL_RESERVATION
public static final SubjectTypeOfWorksEnum CENTRAL_RESERVATION
Central reservation (median).
-
CRASH_BARRIER
public static final SubjectTypeOfWorksEnum CRASH_BARRIER
Crash barrier.
-
GALLERY
public static final SubjectTypeOfWorksEnum GALLERY
Gallery.
-
GAS_MAIN_WORK
public static final SubjectTypeOfWorksEnum GAS_MAIN_WORK
Gas mains.
-
INTERCHANGE
public static final SubjectTypeOfWorksEnum INTERCHANGE
Motorway or major road interchange.
-
JUNCTION
public static final SubjectTypeOfWorksEnum JUNCTION
Motorway or major road junction.
-
LANE
public static final SubjectTypeOfWorksEnum LANE
Lane either along or adjacent to an existing carriageway.
-
LEVEL_CROSSING
public static final SubjectTypeOfWorksEnum LEVEL_CROSSING
Level-crossing or associated equipment.
-
LIGHTING_SYSTEM
public static final SubjectTypeOfWorksEnum LIGHTING_SYSTEM
Road lighting system.
-
MEASUREMENT_EQUIPMENT
public static final SubjectTypeOfWorksEnum MEASUREMENT_EQUIPMENT
Equipment used for determining traffic measurements.
-
ROAD
public static final SubjectTypeOfWorksEnum ROAD
Road.
-
ROADSIDE_EQUIPMENT
public static final SubjectTypeOfWorksEnum ROADSIDE_EQUIPMENT
Road side equipment.
-
ROAD_SIGNS
public static final SubjectTypeOfWorksEnum ROAD_SIGNS
Road signs.
-
ROUNDABOUT
public static final SubjectTypeOfWorksEnum ROUNDABOUT
Roundabout.
-
TUNNEL
public static final SubjectTypeOfWorksEnum TUNNEL
Road tunnel.
-
WATER_MAIN
public static final SubjectTypeOfWorksEnum WATER_MAIN
Water main under or along the highway.
-
OTHER
public static final SubjectTypeOfWorksEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static SubjectTypeOfWorksEnum[] 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 (SubjectTypeOfWorksEnum c : SubjectTypeOfWorksEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubjectTypeOfWorksEnum 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 SubjectTypeOfWorksEnum fromValue(String v)
-
-