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