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