public static enum SellerInfo.Fields extends Enum<SellerInfo.Fields>
Enum Constant and Description |
---|
CITY |
COUNTRY |
DESCRIPTION |
NAME |
PHONE |
WORK_HOURS |
Modifier and Type | Method and Description |
---|---|
static SellerInfo.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SellerInfo.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SellerInfo.Fields COUNTRY
public static final SellerInfo.Fields NAME
public static final SellerInfo.Fields DESCRIPTION
public static final SellerInfo.Fields CITY
public static final SellerInfo.Fields WORK_HOURS
public static final SellerInfo.Fields PHONE
public static SellerInfo.Fields[] values()
for (SellerInfo.Fields c : SellerInfo.Fields.values()) System.out.println(c);
public static SellerInfo.Fields 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 nullCopyright © 2016. All rights reserved.