public enum AdqlVersion extends Enum<AdqlVersion>
Enum Constant and Description |
---|
V20
ADQL version 2.0.
|
V21
ADQL version 2.1.
|
Modifier and Type | Method and Description |
---|---|
static AdqlVersion |
byIvoid(Ivoid ivoid)
Returns the AdqlVersion instance corresponding to an IVOID.
|
static AdqlVersion |
byNumber(String number)
Returns the AdqlVersion instance corresponding to a version number.
|
Ivoid[] |
getFeatureUris()
Returns an array of all the language feature URIs defined by this
version.
|
Ivoid |
getIvoid()
Returns the version identifier string.
|
String |
getName()
Returns the informal name of this version.
|
String |
getNumber()
Returns the version number as a string.
|
String |
toString() |
static AdqlVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdqlVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdqlVersion V20
public static final AdqlVersion V21
public static AdqlVersion[] values()
for (AdqlVersion c : AdqlVersion.values()) System.out.println(c);
public static AdqlVersion 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 getName()
public String getNumber()
public Ivoid getIvoid()
public Ivoid[] getFeatureUris()
ivo://ivoa.net/std/TAPRegExt#features-*
".
These are defined in the TAPRegExt and ADQL standards.public String toString()
toString
in class Enum<AdqlVersion>
public static AdqlVersion byNumber(String number)
number
- version number of the form X.Ypublic static AdqlVersion byIvoid(Ivoid ivoid)
ivoid
- URI, currently of the form ivo://ivoa.net/std/ADQL#vX.YCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.