Class 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
    • Field Summary

      • Fields inherited from class org.springframework.hateoas.Link

        ATOM_NAMESPACE, REL_FIRST, REL_LAST, REL_NEXT, REL_PREVIOUS, REL_SELF
    • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LinkWithName

        public LinkWithName​(java.lang.String href,
                            java.lang.String rel,
                            java.lang.String name)
        Parameters:
        href -
        rel -
        name -
    • Method Detail

      • getName

        public java.lang.String getName()