Class Link

  • All Implemented Interfaces:
    java.io.Serializable

    public class Link
    extends java.lang.Object
    implements java.io.Serializable
    Class representing hypermedia links in the resources in the Planner REST API.
    See Also:
    PlannerApiResource, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Link()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHref()
      Gets Target URI: It indicates the target resource URI.
      java.lang.String getMethod()
      Gets method type used to request
      java.lang.String getRel()
      Gets the link relation: The link relation type describes how the current context is related to the target resource.
      void setHref​(java.lang.String href)
      Sets Target URI: It indicates the target resource URI.
      void setMethod​(java.lang.String method)
      Sets method type used to request
      void setRel​(java.lang.String rel)
      Sets the link relation: The link relation type describes how the current context is related to the target resource.
      • Methods inherited from class java.lang.Object

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

      • Link

        public Link()
    • Method Detail

      • getRel

        public java.lang.String getRel()
        Gets the link relation: The link relation type describes how the current context is related to the target resource. This is represented by the rel attribute.
      • setRel

        public void setRel​(java.lang.String rel)
        Sets the link relation: The link relation type describes how the current context is related to the target resource. This is represented by the rel attribute.
      • getHref

        public java.lang.String getHref()
        Gets Target URI: It indicates the target resource URI. This is represented by the href attribute.
      • setHref

        public void setHref​(java.lang.String href)
        Sets Target URI: It indicates the target resource URI. This is represented by the href attribute.
      • getMethod

        public java.lang.String getMethod()
        Gets method type used to request
      • setMethod

        public void setMethod​(java.lang.String method)
        Sets method type used to request