public enum TimeUnitTypeType extends Enum<TimeUnitTypeType>
time-unit-typeType
xsd typeEnum Constant and Description |
---|
_DAYS |
_HOURS |
_MICROSECONDS |
_MILLISECONDS |
_MINUTES |
_NANOSECONDS |
_SECONDS |
Modifier and Type | Method and Description |
---|---|
static TimeUnitTypeType |
getFromStringValue(String value) |
String |
toString() |
static TimeUnitTypeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnitTypeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeUnitTypeType _DAYS
public static final TimeUnitTypeType _HOURS
public static final TimeUnitTypeType _MINUTES
public static final TimeUnitTypeType _SECONDS
public static final TimeUnitTypeType _MILLISECONDS
public static final TimeUnitTypeType _MICROSECONDS
public static final TimeUnitTypeType _NANOSECONDS
public static TimeUnitTypeType[] values()
for (TimeUnitTypeType c : TimeUnitTypeType.values()) System.out.println(c);
public static TimeUnitTypeType 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<TimeUnitTypeType>
public static TimeUnitTypeType getFromStringValue(String value)
Copyright © 2022 JBoss by Red Hat. All rights reserved.