org.jboss.shrinkwrap.descriptor.api.javaee6
Enum MessageDestinationUsageType

java.lang.Object
  extended by java.lang.Enum<MessageDestinationUsageType>
      extended by org.jboss.shrinkwrap.descriptor.api.javaee6.MessageDestinationUsageType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MessageDestinationUsageType>

public enum MessageDestinationUsageType
extends java.lang.Enum<MessageDestinationUsageType>

This class implements the message-destination-usageType xsd type

Original Documentation:



The message-destination-usageType specifies the use of the
message destination indicated by the reference. The value
indicates whether messages are consumed from the message
destination, produced for the destination, or both. The
Assembler makes use of this information in linking producers
of a destination with its consumers.

The value of the message-destination-usage element must be
one of the following:
Consumes
Produces
ConsumesProduces


Since:
Generation date :2011-07-19T22:55:02.759+02:00
Author:
Ralf Battenfeld

Enum Constant Summary
_CONSUMES
           
_CONSUMESPRODUCES
           
_PRODUCES
           
 
Method Summary
static MessageDestinationUsageType getFromStringValue(java.lang.String value)
           
 java.lang.String toString()
           
static MessageDestinationUsageType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MessageDestinationUsageType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

_CONSUMES

public static final MessageDestinationUsageType _CONSUMES

_PRODUCES

public static final MessageDestinationUsageType _PRODUCES

_CONSUMESPRODUCES

public static final MessageDestinationUsageType _CONSUMESPRODUCES
Method Detail

values

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

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

valueOf

public static MessageDestinationUsageType 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<MessageDestinationUsageType>

getFromStringValue

public static MessageDestinationUsageType getFromStringValue(java.lang.String value)