public class Who extends Element
Modifier and Type | Class and Description |
---|---|
static class |
Who.Rel
Relationship between the containing entity and the contained person.
|
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Who()
Constructs an instance using the default key.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addElement, addElement, addElement, clear, createElement, createElement, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visit
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
public static void registerMetadata(MetadataRegistry registry)
public Who lock()
Element
public AttendeeStatus getAttendeeStatus()
public Who setAttendeeStatus(AttendeeStatus attendeeStatus)
attendeeStatus
- event attendee status or null
to resetpublic boolean hasAttendeeStatus()
public AttendeeType getAttendeeType()
public Who setAttendeeType(AttendeeType attendeeType)
attendeeType
- event attendee type or null
to resetpublic boolean hasAttendeeType()
public java.lang.String getEmail()
public Who setEmail(java.lang.String email)
email
- email address or null
to resetpublic boolean hasEmail()
public EntryLink getEntryLink()
public Who setEntryLink(EntryLink entryLink)
entryLink
- nested person entry or null
to resetpublic 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 resetpublic 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 resetpublic boolean hasValueString()