|
|||||||||
| 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.Reminder
public class Reminder
Describes a reminder on an event.
| Nested Class Summary | |
|---|---|
static class |
Reminder.Method
Method. |
| Field Summary | |
|---|---|
static AttributeKey<DateTime> |
ABSOLUTE_TIME
Absolute time of the reminder. |
static AttributeKey<java.lang.Integer> |
DAYS
Number of days before the start time. |
static AttributeKey<java.lang.Integer> |
HOURS
Number of hours before the start time. |
static ElementKey<java.lang.Void,Reminder> |
KEY
The key for this element. |
static AttributeKey<java.lang.String> |
METHOD
Method. |
static AttributeKey<java.lang.Integer> |
MINUTES
Number of minute before the start times. |
| Constructor Summary | |
|---|---|
Reminder()
Constructs an instance using the default key. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
DateTime |
getAbsoluteTime()
Returns the absolute time of the reminder. |
java.lang.Integer |
getDays()
Returns the number of days before the start time. |
java.lang.Integer |
getHours()
Returns the number of hours before the start time. |
java.lang.String |
getMethod()
Returns the method. |
java.lang.Integer |
getMinutes()
Returns the number of minute before the start times. |
boolean |
hasAbsoluteTime()
Returns whether it has the absolute time of the reminder. |
boolean |
hasDays()
Returns whether it has the number of days before the start time. |
int |
hashCode()
|
boolean |
hasHours()
Returns whether it has the number of hours before the start time. |
boolean |
hasMethod()
Returns whether it has the method. |
boolean |
hasMinutes()
Returns whether it has the number of minute before the start times. |
Reminder |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
Reminder |
setAbsoluteTime(DateTime absoluteTime)
Sets the absolute time of the reminder. |
Reminder |
setDays(java.lang.Integer days)
Sets the number of days before the start time. |
Reminder |
setHours(java.lang.Integer hours)
Sets the number of hours before the start time. |
Reminder |
setMethod(java.lang.String method)
Sets the method. |
Reminder |
setMinutes(java.lang.Integer minutes)
Sets the number of minute before the start times. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ElementKey<java.lang.Void,Reminder> KEY
public static final AttributeKey<DateTime> ABSOLUTE_TIME
public static final AttributeKey<java.lang.Integer> DAYS
public static final AttributeKey<java.lang.Integer> HOURS
public static final AttributeKey<java.lang.String> METHOD
public static final AttributeKey<java.lang.Integer> MINUTES
| Constructor Detail |
|---|
public Reminder()
| Method Detail |
|---|
public static void registerMetadata(MetadataRegistry registry)
public Reminder lock()
Element
lock in class Elementpublic DateTime getAbsoluteTime()
public Reminder setAbsoluteTime(DateTime absoluteTime)
absoluteTime - absolute time of the reminder or null to reset
public boolean hasAbsoluteTime()
public java.lang.Integer getDays()
public Reminder setDays(java.lang.Integer days)
days - number of days before the start time or null to reset
public boolean hasDays()
public java.lang.Integer getHours()
public Reminder setHours(java.lang.Integer hours)
hours - number of hours before the start time or null to reset
public boolean hasHours()
public java.lang.String getMethod()
public Reminder setMethod(java.lang.String method)
method - method or null to reset
public boolean hasMethod()
public java.lang.Integer getMinutes()
public Reminder setMinutes(java.lang.Integer minutes)
minutes - number of minute before the start times or null to
reset
public boolean hasMinutes()
public boolean equals(java.lang.Object obj)
equals in class Elementpublic int hashCode()
hashCode in class Element
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||