public enum TemporalType extends Enum<TemporalType>
temporal-type
xsd typeEnum Constant and Description |
---|
_DATE |
_TIME |
_TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static TemporalType |
getFromStringValue(String value) |
String |
toString() |
static TemporalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemporalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemporalType _DATE
public static final TemporalType _TIME
public static final TemporalType _TIMESTAMP
public static TemporalType[] values()
for (TemporalType c : TemporalType.values()) System.out.println(c);
public static TemporalType 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<TemporalType>
public static TemporalType getFromStringValue(String value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.