Class LinkWithName
- java.lang.Object
-
- org.springframework.hateoas.Link
-
- uk.org.esciencelab.researchobjectservice.util.LinkWithName
-
- All Implemented Interfaces:
java.io.Serializable
public class LinkWithName extends org.springframework.hateoas.Link
HATEOAS's Link class does not support the "name" attribute yet, which we need for listing the "field" links for a ResearchObject.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinkWithName(java.lang.String href, java.lang.String rel, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
-
Methods inherited from class org.springframework.hateoas.Link
canEqual, equals, expand, expand, getDeprecation, getHref, getHreflang, getMedia, getRel, getTemplate, getTitle, getType, getVariableNames, getVariables, hashCode, isTemplated, toString, valueOf, withDeprecation, withHref, withHreflang, withMedia, withRel, withSelfRel, withTitle, withType
-
-