| Modifier and Type | Field and Description |
|---|---|
| public static final EclipseLinkVersion | DEFAULT_VERSION
A constant that points to the current release of EclipseLink, which is 4.0. |
| private final double | version
The real version number. |
| public static final EclipseLinkVersion | VERSION_1_x
The constant for the EclipseLink 1.x release. |
| public static final EclipseLinkVersion | VERSION_2_0
The constant for the EclipseLink 2.0 release. |
| public static final EclipseLinkVersion | VERSION_2_1
The constant for the EclipseLink 2.1 release. |
| public static final EclipseLinkVersion | VERSION_2_2
The constant for the EclipseLink 2.2 release. |
| public static final EclipseLinkVersion | VERSION_2_3
The constant for the EclipseLink 2.3 release. |
| public static final EclipseLinkVersion | VERSION_2_4
The constant for the EclipseLink 2.4 release. |
| public static final EclipseLinkVersion | VERSION_2_5
The constant for the EclipseLink 2.5 release. |
| public static final EclipseLinkVersion | VERSION_2_6
The constant for the EclipseLink 2.6 release. |
| public static final EclipseLinkVersion | VERSION_3_0
The constant for the EclipseLink 3.0 release. |
| public static final EclipseLinkVersion | VERSION_4_0
The constant for the EclipseLink 4.0 release. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The string value of the versionReturns the real version this constant represents. |
| public boolean | Returns: true if this constant represents a newer version and the given constant
represents a version that is older; false if the given constant represents a
newer and this constant represents an older versionThe constant to verify if it's representing a version that is older than this one version)Determines whether this constant represents a version that is newer than the given version. |
| public boolean | Returns: true if this constant represents a newer version and the given constant
represents a version that is older or if it's the same constant; false if the
given constant represents a newer and this constant represents an older versionThe constant to verify if it's representing a version that is older than this
one or if it's the same than this one version)Determines whether this constant represents a version that is newer than the given version or if it's the same version. |
| public boolean | Returns: true if this constant represents an earlier version and the given
constant represents a version that is more recent; false if the given constant
represents an earlier version and this constant represents a more recent versionThe constant to verify if it's representing a version that is more recent than
this one version)Determines whether this constant represents a version that is older than the given version. |
| public boolean | Returns: true if this constant represents an earlier version and the given
constant represents a version that is more recent or if it's the same constant; false
if the given constant represents an earlier version and this constant represents a more recent
versionThe constant to verify if it's representing a version that is more recent than
this one or if it's the same than this one version)Determines whether this constant represents a version that is older than the given version or if it's the same version. |
| public EclipseLinkVersion | Returns: Either this same constant or the actual version constantConverts the current constant to one of the known versions, this means if the constant is
|
| public String | toString()
Overrides java. |
| public static EclipseLinkVersion | |
| public static EclipseLinkVersion | |
| public static EclipseLinkVersion[] | |
| public static EclipseLinkVersion[] | Returns: The list of unique constantsReturns the list of |
| DEFAULT_VERSION | back to summary |
|---|---|
| public static final EclipseLinkVersion DEFAULT_VERSION A constant that points to the current release of EclipseLink, which is 4.0. | |
| version | back to summary |
|---|---|
| private final double version The real version number. | |
| VERSION_1_x | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_1_x The constant for the EclipseLink 1.x release. | |
| VERSION_2_0 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_2_0 The constant for the EclipseLink 2.0 release. | |
| VERSION_2_1 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_2_1 The constant for the EclipseLink 2.1 release. | |
| VERSION_2_2 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_2_2 The constant for the EclipseLink 2.2 release. | |
| VERSION_2_3 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_2_3 The constant for the EclipseLink 2.3 release. | |
| VERSION_2_4 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_2_4 The constant for the EclipseLink 2.4 release. | |
| VERSION_2_5 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_2_5 The constant for the EclipseLink 2.5 release. | |
| VERSION_2_6 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_2_6 The constant for the EclipseLink 2.6 release. | |
| VERSION_3_0 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_3_0 The constant for the EclipseLink 3.0 release. | |
| VERSION_4_0 | back to summary |
|---|---|
| public static final EclipseLinkVersion VERSION_4_0 The constant for the EclipseLink 4.0 release. | |
| EclipseLinkVersion | back to summary |
|---|---|
| private EclipseLinkVersion(double version) Creates a new
| |
| getVersion | back to summary |
|---|---|
| public String getVersion() Returns the real version this constant represents.
| |
| isNewerThan | back to summary |
|---|---|
| public boolean isNewerThan(EclipseLinkVersion version) Determines whether this constant represents a version that is newer than the given version.
| |
| isNewerThanOrEqual | back to summary |
|---|---|
| public boolean isNewerThanOrEqual(EclipseLinkVersion version) Determines whether this constant represents a version that is newer than the given version or if it's the same version.
| |
| isOlderThan | back to summary |
|---|---|
| public boolean isOlderThan(EclipseLinkVersion version) Determines whether this constant represents a version that is older than the given version.
| |
| isOlderThanOrEqual | back to summary |
|---|---|
| public boolean isOlderThanOrEqual(EclipseLinkVersion version) Determines whether this constant represents a version that is older than the given version or if it's the same version.
| |
| toCurrentVersion | back to summary |
|---|---|
| public EclipseLinkVersion toCurrentVersion() Converts the current constant to one of the known versions, this means if the constant is
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| value | back to summary |
|---|---|
| public static EclipseLinkVersion value(String value) Retrieves the enumeration constant for the given value. If the value is not known, then
| |
| valueOf | back to summary |
|---|---|
| public static EclipseLinkVersion valueOf(String name) | |
| values | back to summary |
|---|---|
| public static EclipseLinkVersion[] values() | |
| versions | back to summary |
|---|---|
| public static EclipseLinkVersion[] versions() Returns the list of
| |