|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OpCode>
org.apache.directory.server.dns.messages.OpCode
public enum OpCode
Enum Constant Summary | |
---|---|
IQUERY
Inverse query |
|
NOTIFY
Zone transfer notification |
|
QUERY
Standard query |
|
STATUS
Server status request |
|
UPDATE
Dynamic update message |
Method Summary | |
---|---|
java.lang.Byte |
convert()
Convert the enum to another type. |
static OpCode |
convert(byte value)
Converts an ordinal value into an OpCode . |
static OpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OpCode[] |
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 |
---|
public static final OpCode QUERY
public static final OpCode IQUERY
public static final OpCode STATUS
public static final OpCode NOTIFY
public static final OpCode UPDATE
Method Detail |
---|
public static OpCode[] values()
for (OpCode c : OpCode.values()) System.out.println(c);
public static OpCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.Byte convert()
EnumConverter
convert
in interface EnumConverter<java.lang.Byte>
public static OpCode convert(byte value)
OpCode
.
value
-
OpCode
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |