net.sf.snmpadaptor4j.core.mapping.jaxb
Enum GenericTrapCode

java.lang.Object
  extended by java.lang.Enum<GenericTrapCode>
      extended by net.sf.snmpadaptor4j.core.mapping.jaxb.GenericTrapCode
All Implemented Interfaces:
Serializable, Comparable<GenericTrapCode>

public enum GenericTrapCode
extends Enum<GenericTrapCode>

Java class for GenericTrapCode.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="GenericTrapCode">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="coldStart"/>
     <enumeration value="warmStart"/>
     <enumeration value="linkDown"/>
     <enumeration value="linkUp"/>
     <enumeration value="authenticationFailure"/>
     <enumeration value="egpNeighborLoss"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
AUTHENTICATION_FAILURE
           
COLD_START
           
EGP_NEIGHBOR_LOSS
           
LINK_DOWN
           
LINK_UP
           
WARM_START
           
 
Method Summary
static GenericTrapCode fromValue(String v)
           
 String value()
           
static GenericTrapCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GenericTrapCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COLD_START

public static final GenericTrapCode COLD_START

WARM_START

public static final GenericTrapCode WARM_START

LINK_DOWN

public static final GenericTrapCode LINK_DOWN

LINK_UP

public static final GenericTrapCode LINK_UP

AUTHENTICATION_FAILURE

public static final GenericTrapCode AUTHENTICATION_FAILURE

EGP_NEIGHBOR_LOSS

public static final GenericTrapCode EGP_NEIGHBOR_LOSS
Method Detail

values

public static GenericTrapCode[] 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 (GenericTrapCode c : GenericTrapCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GenericTrapCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static GenericTrapCode fromValue(String v)


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.