org.jnetpcap.packet.annotate
Enum Field.Property

java.lang.Object
  extended by java.lang.Enum<Field.Property>
      extended by org.jnetpcap.packet.annotate.Field.Property
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Field.Property>
Enclosing class:
Field

public static enum Field.Property
extends java.lang.Enum<Field.Property>

The Enum Property.


Enum Constant Summary
CHECK
          The CHECK.
DESCRIPTION
          The DESCRIPTION.
DISPLAY
          The DISPLAY.
LENGTH
          The LENGTH.
MASK
          The MASK.
OFFSET
          The OFFSET.
UNITS
          The UNITS.
VALUE
          The VALUE.
 
Method Summary
static Field.Property valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Field.Property[] 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

CHECK

public static final Field.Property CHECK
The CHECK.


OFFSET

public static final Field.Property OFFSET
The OFFSET.


LENGTH

public static final Field.Property LENGTH
The LENGTH.


VALUE

public static final Field.Property VALUE
The VALUE.


DESCRIPTION

public static final Field.Property DESCRIPTION
The DESCRIPTION.


DISPLAY

public static final Field.Property DISPLAY
The DISPLAY.


MASK

public static final Field.Property MASK
The MASK.


UNITS

public static final Field.Property UNITS
The UNITS.

Method Detail

values

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

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

valueOf

public static Field.Property 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 name
java.lang.NullPointerException - if the argument is null