|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.property.ICalProperty
biweekly.property.ValuedProperty<String>
biweekly.property.TextProperty
biweekly.property.Organizer
public class Organizer
Defines an organizer. 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.Examples:
Organizer organizer = Organizer.email("johndoe@example.com"); organizer.setCommonName("John Doe");
Field Summary |
---|
Fields inherited from class biweekly.property.ValuedProperty |
---|
value |
Fields inherited from class biweekly.property.ICalProperty |
---|
parameters |
Constructor Summary | |
---|---|
Organizer(String uri)
Creates an organizer property |
Method Summary | |
---|---|
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. |
Methods inherited from class biweekly.property.ValuedProperty |
---|
getValue, setValue, validate |
Methods inherited from class biweekly.property.ICalProperty |
---|
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Organizer(String uri)
uri
- a URI representing the organizer (typically, an email address,
e.g. "mailto:johndoe@example.com")Method Detail |
---|
public static Organizer email(String email)
email
- the email address (e.g. "johndoe@example.com")
public String getSentBy()
ICalProperty
public void setSentBy(String sentBy)
ICalProperty
sentBy
- a URI representing the person (typically, an email URI, e.g.
"mailto:janedoe@example.com") or null to removepublic String getCommonName()
ICalProperty
public void setCommonName(String commonName)
ICalProperty
commonName
- the display name (e.g. "John Doe") or null to removepublic String getDirectoryEntry()
ICalProperty
public void setDirectoryEntry(String directoryEntry)
ICalProperty
directoryEntry
- 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 remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |