public static enum KahaDestination.DestinationType extends java.lang.Enum<KahaDestination.DestinationType>
| Enum Constant and Description |
|---|
QUEUE |
TEMP_QUEUE |
TEMP_TOPIC |
TOPIC |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
java.lang.String |
toString() |
static KahaDestination.DestinationType |
valueOf(int value) |
static KahaDestination.DestinationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KahaDestination.DestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KahaDestination.DestinationType QUEUE
public static final KahaDestination.DestinationType TOPIC
public static final KahaDestination.DestinationType TEMP_QUEUE
public static final KahaDestination.DestinationType TEMP_TOPIC
public static KahaDestination.DestinationType[] values()
for (KahaDestination.DestinationType c : KahaDestination.DestinationType.values()) System.out.println(c);
public static KahaDestination.DestinationType 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 namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
public final java.lang.String toString()
toString in class java.lang.Enum<KahaDestination.DestinationType>public static KahaDestination.DestinationType valueOf(int value)
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.