public enum TransAttribute extends 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 |
|---|---|
String |
toString() |
static TransAttribute |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<TransAttribute>Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.