public interface Link extends Annotatable
Modifier and Type | Method and Description |
---|---|
String |
getBindingLink()
If this is a "toOne" relationship this method delivers the binding link or null if not set.
|
List<String> |
getBindingLinks()
If this is a "toMany" relationship this method delivers the binding links or emptyList if not set.
|
String |
getHref()
Gets href.
|
Entity |
getInlineEntity()
Gets in-line entity.
|
EntitySet |
getInlineEntitySet()
Gets in-line entity set.
|
String |
getMediaETag()
Gets Media ETag.
|
String |
getRel()
Gets rel info.
|
String |
getTitle()
Gets title.
|
String |
getType()
Gets type.
|
void |
setBindingLink(String bindingLink)
Sets the binding link.
|
void |
setBindingLinks(List<String> bindingLinks)
Sets the binding links.
|
void |
setHref(String href)
Sets href.
|
void |
setInlineEntity(Entity entity)
Sets in-line entity.
|
void |
setInlineEntitySet(EntitySet entitySet)
Sets in-line entity set.
|
void |
setMediaETag(String etag)
Sets Media ETag.
|
void |
setRel(String rel)
Sets rel info.
|
void |
setTitle(String title)
Sets title.
|
void |
setType(String type)
Sets type.
|
getAnnotations
String getRel()
void setRel(String rel)
rel
- rel info.String getType()
void setType(String type)
type
- type.String getTitle()
void setTitle(String title)
title
- title.String getHref()
void setHref(String href)
href
- href.String getMediaETag()
void setMediaETag(String etag)
etag
- media ETagEntity getInlineEntity()
void setInlineEntity(Entity entity)
entity
- entity.EntitySet getInlineEntitySet()
void setInlineEntitySet(EntitySet entitySet)
entitySet
- entity set.String getBindingLink()
void setBindingLink(String bindingLink)
bindingLink
- List<String> getBindingLinks()
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.