Class ClientLink
java.lang.Object
org.apache.olingo.client.api.domain.ClientItem
org.apache.olingo.client.api.domain.ClientLink
- All Implemented Interfaces:
ClientAnnotatable
- Direct Known Subclasses:
ClientInlineEntity
,ClientInlineEntitySet
OData link.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ClientLink
(URI baseURI, String href, ClientLinkType type, String title) Constructor.ClientLink
(URI uri, ClientLinkType type, String title) Constructor.ClientLink
(URI uri, ClientLinkType type, String title, String eTag) -
Method Summary
-
Constructor Details
-
ClientLink
Constructor.- Parameters:
uri
- URI.type
- type.title
- title.
-
ClientLink
-
ClientLink
Constructor.- Parameters:
version
- OData service version.baseURI
- base URI.href
- href.type
- type.title
- title.
-
-
Method Details
-
getType
Gets link type.- Returns:
- link type;
-
asInlineEntity
-
asInlineEntitySet
-
getRel
Gets link rel.- Returns:
- link rel
-
getMediaETag
Gets Media ETag.- Returns:
- media ETag
-
getAnnotations
- Specified by:
getAnnotations
in interfaceClientAnnotatable
-