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