public static enum ColdDrink.LeafIdentifier extends Enum<ColdDrink.LeafIdentifier> implements org.onosproject.yang.model.LeafIdentifier
| Enum Constant and Description |
|---|
FLAVOR
Represents flavor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLeafIndex() |
static ColdDrink.LeafIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColdDrink.LeafIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColdDrink.LeafIdentifier FLAVOR
public static ColdDrink.LeafIdentifier[] values()
for (ColdDrink.LeafIdentifier c : ColdDrink.LeafIdentifier.values()) System.out.println(c);
public static ColdDrink.LeafIdentifier 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 getLeafIndex()
Copyright © 2017. All rights reserved.