Class Link
java.lang.Object
com.priint.pubserver.plannerapi.resource.Link
- All Implemented Interfaces:
Serializable
Class representing hypermedia links in the resources in the Planner REST API.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHref()Gets Target URI: It indicates the target resource URI.Gets method type used to requestgetRel()Gets the link relation: The link relation type describes how the current context is related to the target resource.voidSets Target URI: It indicates the target resource URI.voidSets method type used to requestvoidSets the link relation: The link relation type describes how the current context is related to the target resource.
-
Constructor Details
-
Link
public Link()
-
-
Method Details
-
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
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
Gets Target URI: It indicates the target resource URI. This is represented by the href attribute. -
setHref
Sets Target URI: It indicates the target resource URI. This is represented by the href attribute. -
getMethod
Gets method type used to request -
setMethod
Sets method type used to request
-