public enum OrderCategory extends Enum<OrderCategory>
Enum Constant and Description |
---|
NO_VALUE
Identifies no value.
|
ORDER
Order.
|
QUOTE
Quote.
|
Modifier and Type | Method and Description |
---|---|
static OrderCategory |
forValue(char value) |
char |
getValue() |
static OrderCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderCategory NO_VALUE
public static final OrderCategory ORDER
public static final OrderCategory QUOTE
public static OrderCategory[] values()
for (OrderCategory c : OrderCategory.values()) System.out.println(c);
public static OrderCategory 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 char getValue()
public static OrderCategory forValue(char value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.