public enum TransAttribute extends java.lang.Enum<TransAttribute>
Java class for trans-attributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="trans-attributeType"> <simpleContent> <restriction base="<http://java.sun.com/xml/ns/javaee>string"> </restriction> </simpleContent> </complexType>
Enum Constant and Description |
---|
MANDATORY |
NEVER |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static TransAttribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransAttribute NOT_SUPPORTED
public static final TransAttribute SUPPORTS
public static final TransAttribute REQUIRED
public static final TransAttribute REQUIRES_NEW
public static final TransAttribute MANDATORY
public static final TransAttribute NEVER
public static TransAttribute[] values()
for (TransAttribute c : TransAttribute.values()) System.out.println(c);
public static TransAttribute 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 java.lang.String toString()
toString
in class java.lang.Enum<TransAttribute>