com.sun.xml.ws.tx.at.validation
Enum TXAttributesValidator.TransactionAttributeType

java.lang.Object
  extended by java.lang.Enum<TXAttributesValidator.TransactionAttributeType>
      extended by com.sun.xml.ws.tx.at.validation.TXAttributesValidator.TransactionAttributeType
All Implemented Interfaces:
Serializable, Comparable<TXAttributesValidator.TransactionAttributeType>
Enclosing class:
TXAttributesValidator

public static enum TXAttributesValidator.TransactionAttributeType
extends Enum<TXAttributesValidator.TransactionAttributeType>


Enum Constant Summary
MANDATORY
           
NEVER
           
NOT_SUPPORTED
           
REQUIRED
           
REQUIRES_NEW
           
SUPPORTS
           
 
Method Summary
static TXAttributesValidator.TransactionAttributeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TXAttributesValidator.TransactionAttributeType[] 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

MANDATORY

public static final TXAttributesValidator.TransactionAttributeType MANDATORY

REQUIRED

public static final TXAttributesValidator.TransactionAttributeType REQUIRED

REQUIRES_NEW

public static final TXAttributesValidator.TransactionAttributeType REQUIRES_NEW

SUPPORTS

public static final TXAttributesValidator.TransactionAttributeType SUPPORTS

NOT_SUPPORTED

public static final TXAttributesValidator.TransactionAttributeType NOT_SUPPORTED

NEVER

public static final TXAttributesValidator.TransactionAttributeType NEVER
Method Detail

values

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

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

valueOf

public static TXAttributesValidator.TransactionAttributeType 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 name
NullPointerException - if the argument is null


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.