public static enum CdpElement.CdpGlobalDeviceIdFormat extends Enum<CdpElement.CdpGlobalDeviceIdFormat>
| Enum Constant and Description |
|---|
macAddress |
other |
serialNumber
SYNTAX INTEGER {
serialNumber(1),
macAddress(2),
other(3)
}
|
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Integer,String> |
s_typeMap |
| Modifier and Type | Method and Description |
|---|---|
static CdpElement.CdpGlobalDeviceIdFormat |
get(Integer code) |
static String |
getTypeString(Integer code) |
Integer |
getValue() |
static CdpElement.CdpGlobalDeviceIdFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdpElement.CdpGlobalDeviceIdFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdpElement.CdpGlobalDeviceIdFormat serialNumber
public static final CdpElement.CdpGlobalDeviceIdFormat macAddress
public static final CdpElement.CdpGlobalDeviceIdFormat other
public static CdpElement.CdpGlobalDeviceIdFormat[] values()
for (CdpElement.CdpGlobalDeviceIdFormat c : CdpElement.CdpGlobalDeviceIdFormat.values()) System.out.println(c);
public static CdpElement.CdpGlobalDeviceIdFormat 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 Integer getValue()
public static CdpElement.CdpGlobalDeviceIdFormat get(Integer code)
Copyright © 2020. All rights reserved.