public enum ClientLinkType extends Enum<ClientLinkType>
| Enum Constant and Description | 
|---|
| ASSOCIATIONAssociation link. | 
| ENTITY_BINDINGEntity binding link. | 
| ENTITY_COLLECTION_BINDINGEntity collection binding link. | 
| ENTITY_NAVIGATIONEntity navigation link. | 
| ENTITY_SET_NAVIGATIONEntity set navigation link. | 
| MEDIA_EDITMedia-edit link. | 
| MEDIA_READMedia-read link | 
| Modifier and Type | Method and Description | 
|---|---|
| static ClientLinkType | fromString(String rel,
          String type)Gets
  LinkTypeinstance 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–2023 The Apache Software Foundation. All rights reserved.