Enum CarParkStatusEnum

  • All Implemented Interfaces:
    Serializable, Comparable<CarParkStatusEnum>

    public enum CarParkStatusEnum
    extends Enum<CarParkStatusEnum>

    Java class for CarParkStatusEnum.

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

     <simpleType name="CarParkStatusEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="carParkClosed"/>
         <enumeration value="allCarParksFull"/>
         <enumeration value="carParkFacilityFaulty"/>
         <enumeration value="carParkFull"/>
         <enumeration value="carParkStatusUnknown"/>
         <enumeration value="enoughSpacesAvailable"/>
         <enumeration value="multiStoryCarParksFull"/>
         <enumeration value="noMoreParkingSpacesAvailable"/>
         <enumeration value="noParkAndRideInformation"/>
         <enumeration value="noParkingAllowed"/>
         <enumeration value="noParkingInformationAvailable"/>
         <enumeration value="normalParkingRestrictionsLifted"/>
         <enumeration value="onlyAFewSpacesAvailable"/>
         <enumeration value="parkAndRideServiceNotOperating"/>
         <enumeration value="parkAndRideServiceOperating"/>
         <enumeration value="specialParkingRestrictionsInForce"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • CAR_PARK_CLOSED

        public static final CarParkStatusEnum CAR_PARK_CLOSED
        The specified car park is closed.
      • ALL_CAR_PARKS_FULL

        public static final CarParkStatusEnum ALL_CAR_PARKS_FULL
        All car parks are full within a specified area.
      • CAR_PARK_FACILITY_FAULTY

        public static final CarParkStatusEnum CAR_PARK_FACILITY_FAULTY
        The specified car parking facility is not operating normally.
      • CAR_PARK_FULL

        public static final CarParkStatusEnum CAR_PARK_FULL
        A specified car park is completely occupied.
      • CAR_PARK_STATUS_UNKNOWN

        public static final CarParkStatusEnum CAR_PARK_STATUS_UNKNOWN
        The status of the specified car park(s) is unknown.
      • ENOUGH_SPACES_AVAILABLE

        public static final CarParkStatusEnum ENOUGH_SPACES_AVAILABLE
        Specified car parks have car-parking spaces available.
      • MULTI_STORY_CAR_PARKS_FULL

        public static final CarParkStatusEnum MULTI_STORY_CAR_PARKS_FULL
        Multi level car parks are fully occupied.
      • NO_MORE_PARKING_SPACES_AVAILABLE

        public static final CarParkStatusEnum NO_MORE_PARKING_SPACES_AVAILABLE
        Specified car parks are fully occupied.
      • NO_PARK_AND_RIDE_INFORMATION

        public static final CarParkStatusEnum NO_PARK_AND_RIDE_INFORMATION
        No park and ride information will be available until the specified time.
      • NO_PARKING_ALLOWED

        public static final CarParkStatusEnum NO_PARKING_ALLOWED
        No parking allowed until the specified time.
      • NO_PARKING_INFORMATION_AVAILABLE

        public static final CarParkStatusEnum NO_PARKING_INFORMATION_AVAILABLE
        Car-parking information is not available until a specified time.
      • NORMAL_PARKING_RESTRICTIONS_LIFTED

        public static final CarParkStatusEnum NORMAL_PARKING_RESTRICTIONS_LIFTED
        The parking restrictions that normally apply in the specified location have been temporarily lifted.
      • ONLY_A_FEW_SPACES_AVAILABLE

        public static final CarParkStatusEnum ONLY_A_FEW_SPACES_AVAILABLE
        Specified car parks have 95% or greater occupancy.
      • PARK_AND_RIDE_SERVICE_NOT_OPERATING

        public static final CarParkStatusEnum PARK_AND_RIDE_SERVICE_NOT_OPERATING
        Park and ride services are not operating until the specified time.
      • PARK_AND_RIDE_SERVICE_OPERATING

        public static final CarParkStatusEnum PARK_AND_RIDE_SERVICE_OPERATING
        Park and ride services are operating until the specified time.
      • SPECIAL_PARKING_RESTRICTIONS_IN_FORCE

        public static final CarParkStatusEnum SPECIAL_PARKING_RESTRICTIONS_IN_FORCE
        Parking restrictions, other than those that normally apply, are in force in a specified area.
    • Method Detail

      • values

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

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