Enum MessageDestinationUsageType
- java.lang.Object
-
- java.lang.Enum<MessageDestinationUsageType>
-
- org.jboss.shrinkwrap.descriptor.api.javaee6.MessageDestinationUsageType
-
- All Implemented Interfaces:
Serializable,Comparable<MessageDestinationUsageType>
public enum MessageDestinationUsageType extends Enum<MessageDestinationUsageType>
This class implements themessage-destination-usageTypexsd type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _CONSUMES_CONSUMESPRODUCES_PRODUCES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageDestinationUsageTypegetFromStringValue(String value)StringtoString()static MessageDestinationUsageTypevalueOf(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.
-
-
-
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(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<MessageDestinationUsageType>
-
getFromStringValue
public static MessageDestinationUsageType getFromStringValue(String value)
-
-