public enum ODataLinkType extends Enum<ODataLinkType>
| Enum Constant and Description |
|---|
ASSOCIATION
Association link.
|
ENTITY_NAVIGATION
Entity navigation link.
|
ENTITY_SET_NAVIGATION
Entity set navigation link.
|
MEDIA_EDIT
Media-edit link.
|
| Modifier and Type | Method and Description |
|---|---|
static ODataLinkType |
fromString(ODataServiceVersion version,
String rel,
String type)
Gets
LinkType instance from the given rel and type. |
String |
toString() |
static ODataLinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ODataLinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ODataLinkType ENTITY_NAVIGATION
public static final ODataLinkType ENTITY_SET_NAVIGATION
public static final ODataLinkType ASSOCIATION
public static final ODataLinkType MEDIA_EDIT
public static ODataLinkType[] values()
for (ODataLinkType c : ODataLinkType.values()) System.out.println(c);
public static ODataLinkType 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 static ODataLinkType fromString(ODataServiceVersion version, String rel, String type)
LinkType instance from the given rel and type.version - OData protocol version.rel - rel.type - type.ODataLinkType object.public String toString()
toString in class Enum<ODataLinkType>Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.