public enum DayType extends Enum<DayType>
Clase Java para DayType.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="DayType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="L"/>
<enumeration value="A"/>
<enumeration value="F"/>
<enumeration value="P"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static DayType |
fromValue(String v) |
String |
value() |
static DayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayType L
public static final DayType A
public static final DayType F
public static final DayType P
public static DayType[] values()
for (DayType c : DayType.values()) System.out.println(c);
public static DayType 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()
Copyright © 2018. All rights reserved.