|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.gd.FeedLink
public class FeedLink
Describes a nested feed link.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.google.gdata.data.ILink |
---|
ILink.Rel, ILink.Type |
Field Summary | |
---|---|
static AttributeKey<java.lang.Integer> |
COUNT_HINT
Qualified name of hint at the number of entries in the feed attribute. |
static AttributeKey<java.lang.String> |
HREF
Qualified name of feed URI attribute. |
static ElementKey<java.lang.Void,FeedLink> |
KEY
The key for this element. |
static AttributeKey<java.lang.Boolean> |
READ_ONLY
Qualified name of whether the contained feed is read-only attribute. |
static AttributeKey<java.lang.String> |
REL
Qualified name of feed relation type attribute. |
Constructor Summary | |
---|---|
|
FeedLink()
Default mutable constructor. |
protected |
FeedLink(ElementKey<?,? extends FeedLink> key)
Lets subclasses create an instance using a custom key. |
protected |
FeedLink(ElementKey<?,? extends FeedLink> key,
Element source)
Constructs a new instance by doing a shallow copy of data from an existing Element instance. |
Method Summary | |
---|---|
java.lang.Integer |
getCountHint()
Returns the hint at the number of entries in the feed. |
Feed |
getFeed()
Returns the nested feed. |
java.lang.String |
getHref()
Returns the feed URI. |
java.lang.Boolean |
getReadOnly()
Returns the whether the contained feed is read-only. |
java.lang.String |
getRel()
Returns the feed relation type. |
java.lang.String |
getType()
Returns the mime type of the link. |
boolean |
hasCountHint()
Returns whether it has the hint at the number of entries in the feed. |
boolean |
hasFeed()
Returns whether it has the nested feed. |
boolean |
hasHref()
Returns whether it has the feed URI. |
boolean |
hasReadOnly()
Returns whether it has the whether the contained feed is read-only. |
boolean |
hasRel()
Returns whether it has the feed relation type. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
void |
setCountHint(java.lang.Integer countHint)
Sets the hint at the number of entries in the feed. |
void |
setFeed(Feed feed)
Sets the nested feed. |
void |
setHref(java.lang.String href)
Sets the feed URI. |
void |
setReadOnly(java.lang.Boolean readOnly)
Sets the whether the contained feed is read-only. |
void |
setRel(java.lang.String rel)
Sets the feed relation type. |
void |
setType(java.lang.String type)
Sets the mime type of the link. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,FeedLink> KEY
public static final AttributeKey<java.lang.Integer> COUNT_HINT
public static final AttributeKey<java.lang.String> HREF
public static final AttributeKey<java.lang.Boolean> READ_ONLY
public static final AttributeKey<java.lang.String> REL
Constructor Detail |
---|
public FeedLink()
protected FeedLink(ElementKey<?,? extends FeedLink> key)
protected FeedLink(ElementKey<?,? extends FeedLink> key, Element source)
Element
instance. Will use the given ElementKey
as
the key for the element.
key
- element key to use for this element.source
- source elementMethod Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public java.lang.Integer getCountHint()
public void setCountHint(java.lang.Integer countHint)
countHint
- hint at the number of entries in the feed or
null
to resetpublic boolean hasCountHint()
public Feed getFeed()
public void setFeed(Feed feed)
feed
- nested feed or null
to resetpublic boolean hasFeed()
public java.lang.String getHref()
getHref
in interface Reference
public void setHref(java.lang.String href)
setHref
in interface Reference
href
- feed URI or null
to resetpublic boolean hasHref()
public java.lang.Boolean getReadOnly()
public void setReadOnly(java.lang.Boolean readOnly)
readOnly
- whether the contained feed is read-only or
null
to resetpublic boolean hasReadOnly()
public java.lang.String getRel()
getRel
in interface ILink
ILink.Rel
public void setRel(java.lang.String rel)
setRel
in interface ILink
rel
- feed relation type or null
to resetpublic boolean hasRel()
public java.lang.String toString()
toString
in class Element
public java.lang.String getType()
ILink
getType
in interface ILink
public void setType(java.lang.String type)
ILink
setType
in interface ILink
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |