public enum JaxbUsageAttribute extends Enum<JaxbUsageAttribute>
Java class for usage-attribute.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="usage-attribute"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="nonstrict-read-write"/> <enumeration value="read-only"/> <enumeration value="read-write"/> <enumeration value="transactional"/> </restriction> </simpleType>
Enum Constant and Description |
---|
NONSTRICT_READ_WRITE |
READ_ONLY |
READ_WRITE |
TRANSACTIONAL |
Modifier and Type | Method and Description |
---|---|
static JaxbUsageAttribute |
fromValue(String v) |
String |
value() |
static JaxbUsageAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JaxbUsageAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JaxbUsageAttribute NONSTRICT_READ_WRITE
public static final JaxbUsageAttribute READ_ONLY
public static final JaxbUsageAttribute READ_WRITE
public static final JaxbUsageAttribute TRANSACTIONAL
public static JaxbUsageAttribute[] values()
for (JaxbUsageAttribute c : JaxbUsageAttribute.values()) System.out.println(c);
public static JaxbUsageAttribute 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 value()
public static JaxbUsageAttribute fromValue(String v)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.