|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VelTimeUnitType> net.ivoa.xml.stc.stc_v1_30.VelTimeUnitType
public enum VelTimeUnitType
Java class for velTimeUnitType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="velTimeUnitType"> <restriction base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}unitType"> <enumeration value="s"/> <enumeration value="h"/> <enumeration value="d"/> <enumeration value="a"/> <enumeration value="yr"/> <enumeration value="cy"/> </restriction> </simpleType>
Enum Constant Summary | |
---|---|
A
|
|
CY
|
|
D
|
|
H
|
|
S
|
|
YR
|
Method Summary | |
---|---|
static VelTimeUnitType |
fromValue(java.lang.String v)
|
java.lang.String |
value()
|
static VelTimeUnitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VelTimeUnitType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VelTimeUnitType S
public static final VelTimeUnitType H
public static final VelTimeUnitType D
public static final VelTimeUnitType A
public static final VelTimeUnitType YR
public static final VelTimeUnitType CY
Method Detail |
---|
public static VelTimeUnitType[] values()
for (VelTimeUnitType c : VelTimeUnitType.values()) System.out.println(c);
public static VelTimeUnitType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static VelTimeUnitType fromValue(java.lang.String v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |