public enum DealerType extends Enum<DealerType>
| Enum Constant and Description |
|---|
BAR |
CLUB |
COMMUNITY |
HACKERSPACE |
OTHER |
RESTAURANT |
RETAIL |
| Modifier and Type | Method and Description |
|---|---|
String |
type() |
static DealerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DealerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DealerType BAR
public static final DealerType CLUB
public static final DealerType RETAIL
public static final DealerType RESTAURANT
public static final DealerType OTHER
public static final DealerType HACKERSPACE
public static final DealerType COMMUNITY
public static DealerType[] values()
for (DealerType c : DealerType.values()) System.out.println(c);
public static DealerType 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 type()
Copyright © 2015. All rights reserved.