|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.linkedin.data.template.RecordTemplate
com.linkedin.restli.common.Link
public class Link
A atom:link-inspired link
| Constructor Summary | |
|---|---|
Link()
Initialize a new link with no data. |
|
Link(com.linkedin.data.DataMap data)
Initialize a new link with the given underlying data. |
|
| Method Summary | |
|---|---|
java.lang.String |
getHref()
Get href attribute of the Link. |
java.lang.String |
getHref(com.linkedin.data.template.GetMode mode)
Returns the href attribute of the Link. |
java.lang.String |
getRel()
Get rel attribute of the Link. |
java.lang.String |
getRel(com.linkedin.data.template.GetMode mode)
Returns the rel attribute of the Link. |
java.lang.String |
getTitle()
Get title attribute of the Link. |
java.lang.String |
getTitle(com.linkedin.data.template.GetMode mode)
Returns title href attribute of the Link. |
java.lang.String |
getType()
Get type attribute of the Link. |
java.lang.String |
getType(com.linkedin.data.template.GetMode mode)
Returns the type attribute of the Link. |
boolean |
hasHref()
|
boolean |
hasRel()
|
boolean |
hasTitle()
|
boolean |
hasType()
|
void |
removeHref()
Remove the href attribute from this Link. |
void |
removeRel()
Remove the rel attribute from this Link. |
void |
removeTitle()
Remove the title attribute from this Link. |
void |
removeType()
Remove the type attribute from this Link. |
void |
setHref(java.lang.String value)
Set the rel attribute. |
void |
setRel(java.lang.String value)
Set the rel attribute. |
void |
setTitle(java.lang.String value)
Set the title attribute. |
void |
setType(java.lang.String value)
Set the type attribute. |
| Methods inherited from class com.linkedin.data.template.RecordTemplate |
|---|
clone, contains, copy, data, equals, hashCode, obtainDirect, obtainWrapped, putDirect, putDirect, putDirect, putWrapped, putWrapped, remove, schema, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Link()
public Link(com.linkedin.data.DataMap data)
data - a DataMap representing the data in a Link| Method Detail |
|---|
public boolean hasRel()
public void removeRel()
public java.lang.String getRel(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the attribute is not present
public java.lang.String getRel()
GetMode.STRICT.
public void setRel(java.lang.String value)
value - rel attribute valuepublic boolean hasHref()
public void removeHref()
public java.lang.String getHref(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the attribute is not present
public java.lang.String getHref()
GetMode.STRICT.
public void setHref(java.lang.String value)
value - rel attribute valuepublic boolean hasType()
public void removeType()
public java.lang.String getType(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the attribute is not present
public java.lang.String getType()
GetMode.STRICT.
public void setType(java.lang.String value)
value - rel attribute valuepublic boolean hasTitle()
public void removeTitle()
public java.lang.String getTitle(com.linkedin.data.template.GetMode mode)
mode.
mode - determines behavior if the attribute is not present
public java.lang.String getTitle()
GetMode.STRICT.
public void setTitle(java.lang.String value)
value - rel attribute value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||