|
|||||||||
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.Who
public class Who
Describes a person associated with the containing entity.
Nested Class Summary | |
---|---|
static class |
Who.Rel
Relationship between the containing entity and the contained person. |
Field Summary | |
---|---|
static AttributeKey<java.lang.String> |
EMAIL
Email address. |
static ElementKey<java.lang.Void,Who> |
KEY
The key for this element. |
static AttributeKey<java.lang.String> |
REL
Relationship between the containing entity and the contained person. |
static AttributeKey<java.lang.String> |
VALUE_STRING
Simple string value that can be used as a representation of this person. |
Constructor Summary | |
---|---|
Who()
Constructs an instance using the default key. |
Method Summary | |
---|---|
AttendeeStatus |
getAttendeeStatus()
Returns the event attendee status. |
AttendeeType |
getAttendeeType()
Returns the event attendee type. |
java.lang.String |
getEmail()
Returns the email address. |
EntryLink |
getEntryLink()
Returns the nested person entry. |
java.lang.String |
getRel()
Returns the relationship between the containing entity and the contained person. |
java.lang.String |
getValueString()
Returns the simple string value that can be used as a representation of this person. |
boolean |
hasAttendeeStatus()
Returns whether it has the event attendee status. |
boolean |
hasAttendeeType()
Returns whether it has the event attendee type. |
boolean |
hasEmail()
Returns whether it has the email address. |
boolean |
hasEntryLink()
Returns whether it has the nested person entry. |
boolean |
hasRel()
Returns whether it has the relationship between the containing entity and the contained person. |
boolean |
hasValueString()
Returns whether it has the simple string value that can be used as a representation of this person. |
Who |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
Who |
setAttendeeStatus(AttendeeStatus attendeeStatus)
Sets the event attendee status. |
Who |
setAttendeeType(AttendeeType attendeeType)
Sets the event attendee type. |
Who |
setEmail(java.lang.String email)
Sets the email address. |
Who |
setEntryLink(EntryLink entryLink)
Sets the nested person entry. |
Who |
setRel(java.lang.String rel)
Sets the relationship between the containing entity and the contained person. |
Who |
setValueString(java.lang.String valueString)
Sets the simple string value that can be used as a representation of this person. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,Who> KEY
public static final AttributeKey<java.lang.String> EMAIL
public static final AttributeKey<java.lang.String> REL
public static final AttributeKey<java.lang.String> VALUE_STRING
Constructor Detail |
---|
public Who()
Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public Who lock()
Element
lock
in class Element
public AttendeeStatus getAttendeeStatus()
public Who setAttendeeStatus(AttendeeStatus attendeeStatus)
attendeeStatus
- event attendee status or null
to reset
public boolean hasAttendeeStatus()
public AttendeeType getAttendeeType()
public Who setAttendeeType(AttendeeType attendeeType)
attendeeType
- event attendee type or null
to reset
public boolean hasAttendeeType()
public java.lang.String getEmail()
public Who setEmail(java.lang.String email)
email
- email address or null
to reset
public boolean hasEmail()
public EntryLink getEntryLink()
public Who setEntryLink(EntryLink entryLink)
entryLink
- nested person entry or null
to reset
public boolean hasEntryLink()
public java.lang.String getRel()
public Who setRel(java.lang.String rel)
rel
- relationship between the containing entity and the contained
person or null
to reset
public boolean hasRel()
public java.lang.String getValueString()
public Who setValueString(java.lang.String valueString)
valueString
- simple string value that can be used as a representation
of this person or null
to reset
public boolean hasValueString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |