public enum RoadAccess extends Enum<RoadAccess>
Enum Constant and Description |
---|
AGRICULTURAL |
CUSTOMERS |
DELIVERY |
DESTINATION |
FORESTRY |
NO |
OTHER |
PRIVATE |
YES |
Modifier and Type | Method and Description |
---|---|
static RoadAccess |
find(String name) |
String |
toString() |
static RoadAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoadAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoadAccess YES
public static final RoadAccess DESTINATION
public static final RoadAccess CUSTOMERS
public static final RoadAccess DELIVERY
public static final RoadAccess FORESTRY
public static final RoadAccess AGRICULTURAL
public static final RoadAccess PRIVATE
public static final RoadAccess OTHER
public static final RoadAccess NO
public static final String KEY
public static RoadAccess[] values()
for (RoadAccess c : RoadAccess.values()) System.out.println(c);
public static RoadAccess valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<RoadAccess>
public static RoadAccess find(String name)
Copyright © 2012–2020. All rights reserved.