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
Describes type of location of an
EvcsInput
. Parsing
strings into one of these types is done in EvcsLocationTypeUtils
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCharging at hub out of town, highway (type: public location)Charging at hub in town (type: public location)Charging at store parking lots (type: public location)Charging at home (private home or apartment building, type: private location)Charging at street side (type: public location)Charging at work (type: private location) -
Method Summary
Modifier and TypeMethodDescriptionstatic EvcsLocationType
Returns the enum constant of this class with the specified name.static EvcsLocationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOME
Charging at home (private home or apartment building, type: private location) -
WORK
Charging at work (type: private location) -
CUSTOMER_PARKING
Charging at store parking lots (type: public location) -
STREET
Charging at street side (type: public location) -
CHARGING_HUB_TOWN
Charging at hub in town (type: public location) -
CHARGING_HUB_HIGHWAY
Charging at hub out of town, highway (type: public location)
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-