public class Organizer extends TextProperty
This property has different meanings depending on the component it belongs to:
VEvent - The organizer of the event.VTodo - The creator of the to-do task.VJournal - The owner of the journal entry.VFreeBusy - The person requesting the free/busy time.Code sample:
VEvent event = new VEvent();
Organizer organizer = Organizer.email("johndoe@example.com");
organizer.setCommonName("John Doe");
event.setOrganizer(organizer);
valueparameters| Constructor and Description |
|---|
Organizer(String uri)
Creates an organizer property
|
| Modifier and Type | Method and Description |
|---|---|
static Organizer |
email(String email)
Creates an organizer property using an email address as its value.
|
String |
getCommonName()
Gets the display name of the person.
|
String |
getDirectoryEntry()
Gets a URI that contains additional information about the person.
|
String |
getLanguage()
Gets the language that the common name parameter is written in.
|
String |
getSentBy()
Gets a person that is acting on behalf of the person defined in the
property.
|
void |
setCommonName(String commonName)
Sets the display name of the person.
|
void |
setDirectoryEntry(String directoryEntry)
Sets a URI that contains additional information about the person.
|
void |
setLanguage(String language)
Sets the language that the common name parameter is written in.
|
void |
setSentBy(String sentBy)
Sets a person that is acting on behalf of the person defined in the
property.
|
getValue, setValue, validateaddParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validatepublic static Organizer email(String email)
email - the email address (e.g. "johndoe@example.com")public String getSentBy()
ICalPropertypublic void setSentBy(String sentBy)
ICalPropertysentBy - a URI representing the person (typically, an email URI, e.g.
"mailto:janedoe@example.com") or null to removepublic String getCommonName()
ICalPropertypublic void setCommonName(String commonName)
ICalPropertycommonName - the display name (e.g. "John Doe") or null to removepublic String getDirectoryEntry()
ICalPropertypublic void setDirectoryEntry(String directoryEntry)
ICalPropertydirectoryEntry - the URI (e.g. an LDAP URI) or null to removepublic String getLanguage()
public void setLanguage(String language)
language - the language (e.g. "en" for English) or null to removeCopyright © 2013-2014 Michael Angstadt. All Rights Reserved.