|
|||||||||
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.EntryLink
public class EntryLink
Describes a nested entry 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.String> |
HREF
The entry URI. |
static ElementKey<java.lang.Void,EntryLink> |
KEY
The key for this element. |
static AttributeKey<java.lang.Boolean> |
READ_ONLY
Whether the contained entry is read-only. |
static AttributeKey<java.lang.String> |
REL
Qualified name of entry relation type attribute. |
Constructor Summary | |
---|---|
EntryLink()
Default mutable constructor. |
Method Summary | |
---|---|
Entry |
getEntry()
Returns the nested entry. |
java.lang.String |
getHref()
Returns the entry URI. |
java.lang.Boolean |
getReadOnly()
Returns the whether the contained entry is read-only. |
java.lang.String |
getRel()
Returns the entry relation type. |
java.lang.String |
getType()
Returns the mime type of the link. |
boolean |
hasEntry()
Returns whether it has the nested entry. |
boolean |
hasHref()
Returns whether it has the entry URI. |
boolean |
hasReadOnly()
Returns whether it has the whether the contained entry is read-only. |
boolean |
hasRel()
Returns whether it has the entry relation type. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
void |
setEntry(Entry entry)
Sets the nested entry. |
void |
setHref(java.lang.String href)
Sets the entry URI. |
void |
setReadOnly(java.lang.Boolean readOnly)
Sets the whether the contained entry is read-only. |
void |
setRel(java.lang.String rel)
Sets the entry 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 |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,EntryLink> KEY
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 EntryLink()
Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public Entry getEntry()
public void setEntry(Entry entry)
entry
- nested entry or null
to resetpublic boolean hasEntry()
public java.lang.String getHref()
getHref
in interface Reference
public void setHref(java.lang.String href)
setHref
in interface Reference
href
- entry URI or null
to resetpublic boolean hasHref()
public java.lang.Boolean getReadOnly()
public void setReadOnly(java.lang.Boolean readOnly)
readOnly
- whether the contained entry 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
- entry 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 |