Package com.aspose.tasks.cloud.model
Class Link
java.lang.Object
com.aspose.tasks.cloud.model.Link
Provides information for the object link. This is supposed to be an atom:link, therefore it should have all attributes specified here http://tools.ietf.org/html/rfc4287#section-4.2.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getHref()
The \"href\" attribute contains the link's IRI.getRel()
atom:link elements MAY have a \"rel\" attribute that indicates the link relation type.getTitle()
The \"title\" attribute conveys human-readable information about the link.getType()
On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced.int
hashCode()
void
void
void
void
toString()
-
Constructor Details
-
Link
public Link()
-
-
Method Details
-
href
-
getHref
The \"href\" attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference- Returns:
- href
-
setHref
-
rel
-
getRel
atom:link elements MAY have a \"rel\" attribute that indicates the link relation type. If the \"rel\" attribute is not present, the link element MUST be interpreted as if the link relation type is \"alternate\".- Returns:
- rel
-
setRel
-
type
-
getType
On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation.- Returns:
- type
-
setType
-
title
-
getTitle
The \"title\" attribute conveys human-readable information about the link. The content of the \"title\" attribute is Language-Sensitive.- Returns:
- title
-
setTitle
-
equals
-
hashCode
public int hashCode() -
toString
-