Package org.opennms.netmgt.enlinkd.model
Enum CdpLink.CiscoNetworkProtocolType
- java.lang.Object
-
- java.lang.Enum<CdpLink.CiscoNetworkProtocolType>
-
- org.opennms.netmgt.enlinkd.model.CdpLink.CiscoNetworkProtocolType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CdpLink.CiscoNetworkProtocolType>
- Enclosing class:
- CdpLink
public static enum CdpLink.CiscoNetworkProtocolType extends java.lang.Enum<CdpLink.CiscoNetworkProtocolType>
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Map<java.lang.Integer,java.lang.String>
s_typeMap
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CdpLink.CiscoNetworkProtocolType
get(java.lang.Integer code)
static java.lang.String
getTypeString(java.lang.Integer code)
java.lang.Integer
getValue()
static CdpLink.CiscoNetworkProtocolType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CdpLink.CiscoNetworkProtocolType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ip
public static final CdpLink.CiscoNetworkProtocolType ip
-
decnet
public static final CdpLink.CiscoNetworkProtocolType decnet
-
pup
public static final CdpLink.CiscoNetworkProtocolType pup
-
chaos
public static final CdpLink.CiscoNetworkProtocolType chaos
-
xns
public static final CdpLink.CiscoNetworkProtocolType xns
-
x121
public static final CdpLink.CiscoNetworkProtocolType x121
-
appletalk
public static final CdpLink.CiscoNetworkProtocolType appletalk
-
clns
public static final CdpLink.CiscoNetworkProtocolType clns
-
lat
public static final CdpLink.CiscoNetworkProtocolType lat
-
vines
public static final CdpLink.CiscoNetworkProtocolType vines
-
cons
public static final CdpLink.CiscoNetworkProtocolType cons
-
apollo
public static final CdpLink.CiscoNetworkProtocolType apollo
-
stun
public static final CdpLink.CiscoNetworkProtocolType stun
-
novell
public static final CdpLink.CiscoNetworkProtocolType novell
-
qllc
public static final CdpLink.CiscoNetworkProtocolType qllc
-
snapshot
public static final CdpLink.CiscoNetworkProtocolType snapshot
-
atmIlmi
public static final CdpLink.CiscoNetworkProtocolType atmIlmi
-
bstun
public static final CdpLink.CiscoNetworkProtocolType bstun
-
x25pvc
public static final CdpLink.CiscoNetworkProtocolType x25pvc
-
ipv6
public static final CdpLink.CiscoNetworkProtocolType ipv6
-
cdm
public static final CdpLink.CiscoNetworkProtocolType cdm
-
nbf
public static final CdpLink.CiscoNetworkProtocolType nbf
-
bpxIgx
public static final CdpLink.CiscoNetworkProtocolType bpxIgx
-
clnsPfx
public static final CdpLink.CiscoNetworkProtocolType clnsPfx
-
http
public static final CdpLink.CiscoNetworkProtocolType http
-
unknown
public static final CdpLink.CiscoNetworkProtocolType unknown
-
-
Method Detail
-
values
public static CdpLink.CiscoNetworkProtocolType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CdpLink.CiscoNetworkProtocolType c : CdpLink.CiscoNetworkProtocolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CdpLink.CiscoNetworkProtocolType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getTypeString
public static java.lang.String getTypeString(java.lang.Integer code)
-
get
public static CdpLink.CiscoNetworkProtocolType get(java.lang.Integer code)
-
getValue
public java.lang.Integer getValue()
-
-