public class

LastModifiedBy

extends Person
java.lang.Object
   ↳ com.google.gdata.model.Element
     ↳ com.google.gdata.model.atom.Person
       ↳ com.google.gdata.model.gd.LastModifiedBy

Class Overview

The user who last modified the object.

Summary

Fields
public static final ElementKey<Void, LastModifiedBy> KEY The key for this element.
[Expand]
Inherited Fields
From class com.google.gdata.model.atom.Person
From class com.google.gdata.model.Element
Public Constructors
LastModifiedBy()
Constructs an instance using the default key.
Protected Constructors
LastModifiedBy(ElementKey<?, ? extends LastModifiedBy> key)
Subclass constructor, allows subclasses to supply their own element key.
LastModifiedBy(ElementKey<?, ? extends LastModifiedBy> key, Element source)
Constructs a new instance by doing a shallow copy of data from an existing Element instance.
Public Methods
LastModifiedBy lock()
Locks this element.
static void registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
[Expand]
Inherited Methods
From class com.google.gdata.model.atom.Person
From class com.google.gdata.model.Element
From class java.lang.Object
From interface com.google.gdata.data.IPerson

Fields

public static final ElementKey<Void, LastModifiedBy> KEY

The key for this element.

Public Constructors

public LastModifiedBy ()

Constructs an instance using the default key.

Protected Constructors

protected LastModifiedBy (ElementKey<?, ? extends LastModifiedBy> key)

Subclass constructor, allows subclasses to supply their own element key.

Parameters
key

protected LastModifiedBy (ElementKey<?, ? extends LastModifiedBy> key, Element source)

Constructs a new instance by doing a shallow copy of data from an existing 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 createElement(ElementKey, Element).

Parameters
key The key to use for this element.
source Source element

Public Methods

public LastModifiedBy lock ()

Locks this element. A locked element cannot have any changes made to its content or its attributes or child elements. This will also lock all attributes and child elements as well. Once this method has been called, this element can be safely published to other threads.

public static void registerMetadata (MetadataRegistry registry)

Registers the metadata for this element.

Parameters
registry