public static enum RouteSuggestion.RouteType extends Enum<RouteSuggestion.RouteType>
| Enum Constant and Description |
|---|
ALTERNATIVE
Alternative route type.
|
MANDATORY
Mandatory route type.
|
RECOMMENDED
Recommended route type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Gets type.
|
static RouteSuggestion.RouteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteSuggestion.RouteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteSuggestion.RouteType MANDATORY
public static final RouteSuggestion.RouteType RECOMMENDED
public static final RouteSuggestion.RouteType ALTERNATIVE
public static RouteSuggestion.RouteType[] values()
for (RouteSuggestion.RouteType c : RouteSuggestion.RouteType.values()) System.out.println(c);
public static RouteSuggestion.RouteType 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 int getType()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.