|
|||||||||
| 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.LastViewed
public class LastViewed
The time the object was last viewed.
| Field Summary | |
|---|---|
static ElementKey<DateTime,LastViewed> |
KEY
The key for this element. |
| Constructor Summary | |
|---|---|
LastViewed()
Constructs an instance using the default key. |
|
LastViewed(DateTime value)
Constructs a new instance with the given value. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
DateTime |
getValue()
Returns the value. |
int |
hashCode()
|
boolean |
hasValue()
Returns whether it has the value. |
LastViewed |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
LastViewed |
setValue(DateTime value)
Sets the value. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ElementKey<DateTime,LastViewed> KEY
| Constructor Detail |
|---|
public LastViewed()
public LastViewed(DateTime value)
value - value.| Method Detail |
|---|
public static void registerMetadata(MetadataRegistry registry)
public LastViewed lock()
Element
lock in class Elementpublic DateTime getValue()
public LastViewed setValue(DateTime value)
value - value or null to reset
public boolean hasValue()
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 | ||||||||