public enum SwitchingCapabilities extends Enum<SwitchingCapabilities> implements Enumeration
Enum Constant and Description |
---|
FSC
Fiber-Switch Capable (FSC)
|
L2SC
Layer-2 Switch Capable (L2SC)
|
LSC
Lambda-Switch Capable (LSC)
|
PSC1
Packet-Switch Capable-1 (PSC-1)
|
PSC2
Packet-Switch Capable-2 (PSC-2)
|
PSC3
Packet-Switch Capable-3 (PSC-3)
|
PSC4
Packet-Switch Capable-4 (PSC-4)
|
TDM
Time-Division-Multiplex Capable (TDM)
|
Modifier and Type | Method and Description |
---|---|
static Optional<SwitchingCapabilities> |
forName(String name)
Return the enumeration member whose
getName() matches specified value. |
static SwitchingCapabilities |
forValue(int intValue)
Return the enumeration member whose
getIntValue() matches specified value. |
int |
getIntValue()
Returns the assigned value of the enumeration item as it is specified in the input YANG.
|
String |
getName()
Returns the assigned name of the enumeration item as it is specified in the input YANG.
|
static SwitchingCapabilities |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwitchingCapabilities[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwitchingCapabilities PSC1
public static final SwitchingCapabilities PSC2
public static final SwitchingCapabilities PSC3
public static final SwitchingCapabilities PSC4
public static final SwitchingCapabilities L2SC
public static final SwitchingCapabilities TDM
public static final SwitchingCapabilities LSC
public static final SwitchingCapabilities FSC
public static SwitchingCapabilities[] values()
for (SwitchingCapabilities c : SwitchingCapabilities.values()) System.out.println(c);
public static SwitchingCapabilities 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 String getName()
Enumeration
getName
in interface Enumeration
public int getIntValue()
Enumeration
getIntValue
in interface Enumeration
public static Optional<SwitchingCapabilities> forName(String name)
getName()
matches specified value.name
- YANG assigned nameNullPointerException
- if name is nullpublic static SwitchingCapabilities forValue(int intValue)
getIntValue()
matches specified value.intValue
- integer valueCopyright © 2019 OpenDaylight. All rights reserved.