|
|||||||||
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.OriginalEvent
public class OriginalEvent
Describes a link to a recurring event.
Field Summary | |
---|---|
static AttributeKey<java.lang.String> |
HREF
URL of the original recurring event entry. |
static ElementKey<java.lang.Void,OriginalEvent> |
KEY
The key for this element. |
static AttributeKey<java.lang.String> |
ORIGINAL_ID
Event ID of the original recurring event entry. |
Constructor Summary | |
---|---|
|
OriginalEvent()
Constructs an instance using the default key. |
protected |
OriginalEvent(ElementKey<?,? extends OriginalEvent> key)
Subclass constructor, allows subclasses to supply their own element key. |
protected |
OriginalEvent(ElementKey<?,? extends OriginalEvent> key,
Element source)
Constructs a new instance by doing a shallow copy of data from an existing Element instance. |
Method Summary | |
---|---|
java.lang.String |
getHref()
Returns the URL of the original recurring event entry. |
java.lang.String |
getOriginalId()
Returns the event ID of the original recurring event entry. |
When |
getOriginalStartTime()
Returns the original start time. |
boolean |
hasHref()
Returns whether it has the URL of the original recurring event entry. |
boolean |
hasOriginalId()
Returns whether it has the event ID of the original recurring event entry. |
boolean |
hasOriginalStartTime()
Returns whether it has the original start time. |
OriginalEvent |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
OriginalEvent |
setHref(java.lang.String href)
Sets the URL of the original recurring event entry. |
OriginalEvent |
setOriginalId(java.lang.String originalId)
Sets the event ID of the original recurring event entry. |
OriginalEvent |
setOriginalStartTime(When originalStartTime)
Sets the original start time. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,OriginalEvent> KEY
public static final AttributeKey<java.lang.String> HREF
public static final AttributeKey<java.lang.String> ORIGINAL_ID
Constructor Detail |
---|
public OriginalEvent()
protected OriginalEvent(ElementKey<?,? extends OriginalEvent> key)
protected OriginalEvent(ElementKey<?,? extends OriginalEvent> key, Element source)
Element
instance. Will use the given ElementKey
as the key
for the element. This constructor is used when adapting from one element
key to another. You cannot call this constructor directly, instead use
Element.createElement(ElementKey, Element)
.
key
- The key to use for this element.source
- source elementMethod Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public OriginalEvent lock()
Element
lock
in class Element
public java.lang.String getHref()
public OriginalEvent setHref(java.lang.String href)
href
- URL of the original recurring event entry or null
to
reset
public boolean hasHref()
public java.lang.String getOriginalId()
public OriginalEvent setOriginalId(java.lang.String originalId)
originalId
- event ID of the original recurring event entry or null
to reset
public boolean hasOriginalId()
public When getOriginalStartTime()
public OriginalEvent setOriginalStartTime(When originalStartTime)
originalStartTime
- original start time or null
to reset
public boolean hasOriginalStartTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |