public class ClientLink extends ClientItem implements ClientAnnotatable
Modifier and Type | Class and Description |
---|---|
static class |
ClientLink.Builder |
Modifier | Constructor and Description |
---|---|
|
ClientLink(URI uri,
ClientLinkType type,
String title)
Constructor.
|
|
ClientLink(URI uri,
ClientLinkType type,
String title,
String eTag) |
protected |
ClientLink(URI baseURI,
String href,
ClientLinkType type,
String title)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ClientInlineEntity |
asInlineEntity() |
ClientInlineEntitySet |
asInlineEntitySet() |
List<ClientAnnotation> |
getAnnotations() |
String |
getMediaETag()
Gets Media ETag.
|
String |
getRel()
Gets link rel.
|
ClientLinkType |
getType()
Gets link type.
|
public ClientLink(URI uri, ClientLinkType type, String title)
uri
- URI.type
- type.title
- title.public ClientLink(URI uri, ClientLinkType type, String title, String eTag)
protected ClientLink(URI baseURI, String href, ClientLinkType type, String title)
version
- OData service version.baseURI
- base URI.href
- href.type
- type.title
- title.public ClientLinkType getType()
public ClientInlineEntity asInlineEntity()
public ClientInlineEntitySet asInlineEntitySet()
public String getRel()
public String getMediaETag()
public List<ClientAnnotation> getAnnotations()
getAnnotations
in interface ClientAnnotatable
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.