Class Link
- java.lang.Object
-
- com.priint.pubserver.plannerapi.resource.Link
-
- All Implemented Interfaces:
java.io.Serializable
public class Link extends java.lang.Object implements java.io.SerializableClass 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.StringgetHref()Gets Target URI: It indicates the target resource URI.java.lang.StringgetMethod()Gets method type used to requestjava.lang.StringgetRel()Gets the link relation: The link relation type describes how the current context is related to the target resource.voidsetHref(java.lang.String href)Sets Target URI: It indicates the target resource URI.voidsetMethod(java.lang.String method)Sets method type used to requestvoidsetRel(java.lang.String rel)Sets the link relation: The link relation type describes how the current context is related to the target resource.
-
-
-
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
-
-