java.lang.Object
com.priint.pubserver.plannerapi.resource.Link
All Implemented Interfaces:
Serializable

public class Link extends Object implements Serializable
Class representing hypermedia links in the resources in the Planner REST API.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets Target URI: It indicates the target resource URI.
    Gets method type used to request
    Gets the link relation: The link relation type describes how the current context is related to the target resource.
    void
    Sets Target URI: It indicates the target resource URI.
    void
    setMethod(String method)
    Sets method type used to request
    void
    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 Details

    • Link

      public Link()
  • Method Details

    • getRel

      public 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(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 String getHref()
      Gets Target URI: It indicates the target resource URI. This is represented by the href attribute.
    • setHref

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

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

      public void setMethod(String method)
      Sets method type used to request