public class Links extends Object implements Serializable
| Constructor and Description |
|---|
Links(Map<String,Link> linkMap)
Create new Links.
|
| Modifier and Type | Method and Description |
|---|---|
Link |
getFirst()
Convenience method for returning the
first link. |
Link |
getLast()
Convenience method for returning the
last link. |
Link |
getLink(String linkName)
Convenience method for returning named link.
|
Map<String,Link> |
getLinks()
Gets all registered links.
|
Link |
getNext()
Convenience method for returning the
next link. |
Link |
getPrevious()
Convenience method for returning the
prev link. |
Link |
getRelated()
Convenience method for returning the
related link. |
Link |
getSelf()
Convenience method for returning the
self link. |
public Link getLink(String linkName)
linkName - name of the link to returnnull if the named link does not existpublic Link getPrevious()
prev link.null if the named link does not existpublic Link getFirst()
first link.null if the named link does not existpublic Link getNext()
next link.null if the named link does not existpublic Link getLast()
last link.null if the named link does not existpublic Link getSelf()
self link.null if the named link does not existpublic Link getRelated()
related link.null if the named link does not existCopyright © 2017. All rights reserved.