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