public enum JaxbCacheModeAttribute extends Enum<JaxbCacheModeAttribute>
Java class for cache-mode-attribute.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="cache-mode-attribute"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="get"/> <enumeration value="ignore"/> <enumeration value="normal"/> <enumeration value="put"/> <enumeration value="refresh"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static JaxbCacheModeAttribute |
fromValue(String v) |
String |
value() |
static JaxbCacheModeAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JaxbCacheModeAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JaxbCacheModeAttribute GET
public static final JaxbCacheModeAttribute IGNORE
public static final JaxbCacheModeAttribute NORMAL
public static final JaxbCacheModeAttribute PUT
public static final JaxbCacheModeAttribute REFRESH
public static JaxbCacheModeAttribute[] values()
for (JaxbCacheModeAttribute c : JaxbCacheModeAttribute.values()) System.out.println(c);
public static JaxbCacheModeAttribute 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 JaxbCacheModeAttribute fromValue(String v)
Copyright © 2018 JBoss by Red Hat. All rights reserved.