public class Link extends Annotatable
Constructor and Description |
---|
Link() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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.
|
EntityCollection |
getInlineEntitySet()
Gets in-line entity set.
|
String |
getMediaETag()
Gets Media ETag.
|
String |
getRel()
Gets rel info.
|
String |
getTitle()
Gets title.
|
String |
getType()
Gets type.
|
int |
hashCode() |
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(EntityCollection entitySet)
Sets in-line entity set.
|
void |
setMediaETag(String mediaETag)
Sets Media ETag.
|
void |
setRel(String rel)
Sets rel info.
|
void |
setTitle(String title)
Sets title.
|
void |
setType(String type)
Sets type.
|
getAnnotations
public String getTitle()
public void setTitle(String title)
title
- title.public String getRel()
public void setRel(String rel)
rel
- rel info.public String getHref()
public void setHref(String href)
href
- href.public String getType()
public void setType(String type)
type
- type.public String getMediaETag()
public void setMediaETag(String mediaETag)
mediaETag
- media ETagpublic Entity getInlineEntity()
public void setInlineEntity(Entity entity)
entity
- entity.public EntityCollection getInlineEntitySet()
public void setInlineEntitySet(EntityCollection entitySet)
entitySet
- entity set.public String getBindingLink()
public List<String> getBindingLinks()
public void setBindingLink(String bindingLink)
bindingLink
- name of binding linkpublic void setBindingLinks(List<String> bindingLinks)
bindingLinks
- list of binding link namesCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.