org.sca4j.binding.jms.provision
Enum PayloadType
java.lang.Object
java.lang.Enum<PayloadType>
org.sca4j.binding.jms.provision.PayloadType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PayloadType>
public enum PayloadType
- extends java.lang.Enum<PayloadType>
The payload type for bound service or reference.
- Version:
- $Revision$ $Date$
|
Method Summary |
static PayloadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PayloadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
TEXT
public static final PayloadType TEXT
OBJECT
public static final PayloadType OBJECT
STREAM
public static final PayloadType STREAM
SHORT
public static final PayloadType SHORT
INTEGER
public static final PayloadType INTEGER
DOUBLE
public static final PayloadType DOUBLE
FLOAT
public static final PayloadType FLOAT
LONG
public static final PayloadType LONG
CHARACTER
public static final PayloadType CHARACTER
BOOLEAN
public static final PayloadType BOOLEAN
BYTE
public static final PayloadType BYTE
values
public static final PayloadType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(PayloadType c : PayloadType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static PayloadType 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
Copyright © 2008-2010 Service Symphony. All Rights Reserved.