public class HapiVersion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static HapiVersion |
ASSUMED
Version suitable for use if no version information is available.
|
static HapiVersion |
V20
Version 2.0.
|
static HapiVersion |
V30
Version 3.0.
|
Modifier and Type | Method and Description |
---|---|
static HapiVersion |
fromText(java.lang.String name)
Returns an effective version instance for a version specification string.
|
java.lang.String |
getDatasetRequestParam()
Returns the name for the dataset specification request parameter.
|
java.lang.String |
getName()
Return the version string for this version.
|
static HapiVersion[] |
getStandardVersions()
Returns standard supported versions.
|
java.lang.String |
getStartRequestParam()
Returns the name for the start time request parameter.
|
java.lang.String |
getStopRequestParam()
Returns the name for the stop time request parameter.
|
public static final HapiVersion ASSUMED
public static final HapiVersion V20
public static final HapiVersion V30
public java.lang.String getName()
public java.lang.String getDatasetRequestParam()
public java.lang.String getStartRequestParam()
public java.lang.String getStopRequestParam()
public static HapiVersion fromText(java.lang.String name)
name
- version identifierpublic static HapiVersion[] getStandardVersions()