public enum DatalinkVersion extends Enum<DatalinkVersion>
Enum Constant and Description |
---|
V10
DataLink version 1.0.
|
V11
DataLink version 1.1.
|
Modifier and Type | Method and Description |
---|---|
String |
getFullName()
Returns full specification of version.
|
String |
getName()
Returns a human-readable, possibly adorned, version name.
|
String |
getNumber()
Returns the basic version number in the form MAJOR.MINOR.
|
Ivoid |
getStandardId()
Returns the Standard ID
|
boolean |
is11()
True if this version is greater than or equal to DataLink version 1.1.
|
String |
toString() |
static DatalinkVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatalinkVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatalinkVersion V10
public static final DatalinkVersion V11
public static DatalinkVersion[] values()
for (DatalinkVersion c : DatalinkVersion.values()) System.out.println(c);
public static DatalinkVersion 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 getNumber()
public String getName()
public String getFullName()
public Ivoid getStandardId()
public boolean is11()
public String toString()
toString
in class Enum<DatalinkVersion>
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.