Modifier and Type | Class and Description |
---|---|
static class |
SitesLink.Rel
Link relation type.
|
static class |
SitesLink.Type
MIME type of link target.
|
Link.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Constructor and Description |
---|
SitesLink()
Default mutable constructor.
|
SitesLink(java.lang.Integer count,
java.lang.String href,
java.lang.String hrefLang,
java.lang.Long length,
java.lang.String rel,
java.lang.String title,
java.lang.String titleLang,
java.lang.String type,
DateTime updated)
Immutable constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCount()
Returns the provides a hint to clients as to the total number of replies
contained by the linked resource.
|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
DateTime |
getUpdated()
Returns the provides a hint to clients as to the date and time of the most
recently updated reply contained by the linked resource.
|
boolean |
hasCount()
Returns whether it has the provides a hint to clients as to the total
number of replies contained by the linked resource.
|
int |
hashCode() |
boolean |
hasUpdated()
Returns whether it has the provides a hint to clients as to the date and
time of the most recently updated reply contained by the linked resource.
|
void |
setCount(java.lang.Integer count)
Sets the provides a hint to clients as to the total number of replies
contained by the linked resource.
|
void |
setUpdated(DateTime updated)
Sets the provides a hint to clients as to the date and time of the most
recently updated reply contained by the linked resource.
|
java.lang.String |
toString() |
generate, generateAtom, generateRss, getContent, getEtag, getHandler, getHref, getHrefLang, getLength, getRel, getTitle, getTitleLang, getType, matches, setContent, setEtag, setHref, setHrefLang, setLength, setRel, setTitle, setTitleLang, setType
addExtension, addRepeatingExtension, declareExtensions, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public SitesLink()
public SitesLink(java.lang.Integer count, java.lang.String href, java.lang.String hrefLang, java.lang.Long length, java.lang.String rel, java.lang.String title, java.lang.String titleLang, java.lang.String type, DateTime updated)
count
- provides a hint to clients as to the total number of replies
contained by the linked resource.updated
- provides a hint to clients as to the date and time of the
most recently updated reply contained by the linked resource.public java.lang.Integer getCount()
public void setCount(java.lang.Integer count)
count
- provides a hint to clients as to the total number of replies
contained by the linked resource or null
to resetpublic boolean hasCount()
public DateTime getUpdated()
public void setUpdated(DateTime updated)
updated
- provides a hint to clients as to the date and time of the
most recently updated reply contained by the linked resource or
null
to resetpublic boolean hasUpdated()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object