Enum CarriagewayEnum

  • All Implemented Interfaces:
    Serializable, Comparable<CarriagewayEnum>

    public enum CarriagewayEnum
    extends Enum<CarriagewayEnum>

    Java class for CarriagewayEnum.

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

     <simpleType name="CarriagewayEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="connectingCarriageway"/>
         <enumeration value="entrySlipRoad"/>
         <enumeration value="exitSlipRoad"/>
         <enumeration value="flyover"/>
         <enumeration value="leftHandFeederRoad"/>
         <enumeration value="leftHandParallelCarriageway"/>
         <enumeration value="mainCarriageway"/>
         <enumeration value="oppositeCarriageway"/>
         <enumeration value="parallelCarriageway"/>
         <enumeration value="rightHandFeederRoad"/>
         <enumeration value="rightHandParallelCarriageway"/>
         <enumeration value="serviceRoad"/>
         <enumeration value="slipRoads"/>
         <enumeration value="underpass"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • CONNECTING_CARRIAGEWAY

        public static final CarriagewayEnum CONNECTING_CARRIAGEWAY
        On the connecting carriageway.
      • ENTRY_SLIP_ROAD

        public static final CarriagewayEnum ENTRY_SLIP_ROAD
        On the entry slip road.
      • EXIT_SLIP_ROAD

        public static final CarriagewayEnum EXIT_SLIP_ROAD
        On the exit slip road.
      • LEFT_HAND_FEEDER_ROAD

        public static final CarriagewayEnum LEFT_HAND_FEEDER_ROAD
        On the left hand feeder road.
      • LEFT_HAND_PARALLEL_CARRIAGEWAY

        public static final CarriagewayEnum LEFT_HAND_PARALLEL_CARRIAGEWAY
        On the left hand parrallel carriageway.
      • MAIN_CARRIAGEWAY

        public static final CarriagewayEnum MAIN_CARRIAGEWAY
        On the main carriageway.
      • OPPOSITE_CARRIAGEWAY

        public static final CarriagewayEnum OPPOSITE_CARRIAGEWAY
        On the opposite carriageway.
      • PARALLEL_CARRIAGEWAY

        public static final CarriagewayEnum PARALLEL_CARRIAGEWAY
        On the adjacent parallel carriageway.
      • RIGHT_HAND_FEEDER_ROAD

        public static final CarriagewayEnum RIGHT_HAND_FEEDER_ROAD
        On the right hand feeder road.
      • RIGHT_HAND_PARALLEL_CARRIAGEWAY

        public static final CarriagewayEnum RIGHT_HAND_PARALLEL_CARRIAGEWAY
        On the right hand parallel carriageway.
      • SERVICE_ROAD

        public static final CarriagewayEnum SERVICE_ROAD
        On the adjacent service road.
      • SLIP_ROADS

        public static final CarriagewayEnum SLIP_ROADS
        On the slip roads.
      • UNDERPASS

        public static final CarriagewayEnum UNDERPASS
        On the underpass.
    • Method Detail

      • values

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

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