|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.olingo.odata2.api.ODataServiceVersion
public class ODataServiceVersion
This class is a container for the supported ODataServiceVersions.
| Field Summary | |
|---|---|
static String |
V10
ODataServiceVersion 1.0 |
static String |
V20
ODataServiceVersion 2.0 |
static String |
V30
ODataServiceVersion 3.0 |
| Constructor Summary | |
|---|---|
ODataServiceVersion()
|
|
| Method Summary | |
|---|---|
static boolean |
isBiggerThan(String actual,
String comparedTo)
actual > comparedTo |
static boolean |
validateDataServiceVersion(String version)
Validates format and range of a data service version string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String V10
public static final String V20
public static final String V30
| Constructor Detail |
|---|
public ODataServiceVersion()
| Method Detail |
|---|
public static boolean validateDataServiceVersion(String version)
version - version string
true for a valid version
public static boolean isBiggerThan(String actual,
String comparedTo)
actual - comparedTo -
true if actual is bigger than comparedTo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||