public class ODataLink extends ODataItem
| Modifier and Type | Class and Description |
|---|---|
static class |
ODataLink.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
mediaETag
ETag for media edit links.
|
protected String |
rel
Link rel.
|
protected ODataLinkType |
type
Link type.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ODataLink(ODataServiceVersion version,
URI uri,
ODataLinkType type,
String title)
Constructor.
|
protected |
ODataLink(ODataServiceVersion version,
URI baseURI,
String href,
ODataLinkType type,
String title)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ODataInlineEntity |
asInlineEntity() |
ODataInlineEntitySet |
asInlineEntitySet() |
String |
getMediaETag()
Gets Media ETag.
|
String |
getRel()
Gets link rel.
|
ODataLinkType |
getType()
Gets link type.
|
protected final ODataLinkType type
protected final String rel
protected String mediaETag
protected ODataLink(ODataServiceVersion version, URI uri, ODataLinkType type, String title)
version - OData service version.uri - URI.type - type.title - title.protected ODataLink(ODataServiceVersion version, URI baseURI, String href, ODataLinkType type, String title)
version - OData service version.baseURI - base URI.href - href.type - type.title - title.public ODataLinkType getType()
public ODataInlineEntity asInlineEntity()
public ODataInlineEntitySet asInlineEntitySet()
public String getRel()
public String getMediaETag()
Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.