Class LinkableDto

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<AtomLink> links  
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkableDto()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLink​(AtomLink link)  
      void addReflexiveLink​(java.net.URI linkUri, java.lang.String method, java.lang.String relation)  
      AtomLink generateLink​(java.net.URI linkUri, java.lang.String method, java.lang.String relation)  
      java.util.List<AtomLink> getLinks()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • links

        protected java.util.List<AtomLink> links
    • Constructor Detail

      • LinkableDto

        public LinkableDto()
    • Method Detail

      • getLinks

        public java.util.List<AtomLink> getLinks()
      • addLink

        public void addLink​(AtomLink link)
      • addReflexiveLink

        public void addReflexiveLink​(java.net.URI linkUri,
                                     java.lang.String method,
                                     java.lang.String relation)
      • generateLink

        public AtomLink generateLink​(java.net.URI linkUri,
                                     java.lang.String method,
                                     java.lang.String relation)