Enum Class EvcsLocationType

java.lang.Object
java.lang.Enum<EvcsLocationType>
edu.ie3.datamodel.models.input.system.type.evcslocation.EvcsLocationType
All Implemented Interfaces:
Serializable, Comparable<EvcsLocationType>, Constable

public enum EvcsLocationType extends Enum<EvcsLocationType>
Describes type of location of an EvcsInput. Parsing strings into one of these types is done in EvcsLocationTypeUtils.
  • Enum Constant Details

    • HOME

      public static final EvcsLocationType HOME
      Charging at home (private home or apartment building, type: private location)
    • WORK

      public static final EvcsLocationType WORK
      Charging at work (type: private location)
    • CUSTOMER_PARKING

      public static final EvcsLocationType CUSTOMER_PARKING
      Charging at store parking lots (type: public location)
    • STREET

      public static final EvcsLocationType STREET
      Charging at street side (type: public location)
    • CHARGING_HUB_TOWN

      public static final EvcsLocationType CHARGING_HUB_TOWN
      Charging at hub in town (type: public location)
    • CHARGING_HUB_HIGHWAY

      public static final EvcsLocationType CHARGING_HUB_HIGHWAY
      Charging at hub out of town, highway (type: public location)
  • Method Details

    • values

      public static EvcsLocationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EvcsLocationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null