|
||||||||||
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
, VTodo
, VJournal
- the organizer of the
event/to-do/journalVFreeBusy
- the person requesting the free/busy timeOrganizer organizer = Organizer.email("johndoe@example.com")
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, getAltRepresentation, getFormatType, getParameter, getParameters, getParameters, getTimezoneId, removeParameter, setAltRepresentation, setFormatType, setParameter, setParameter, setParameters, setTimezone, setTimezoneId, 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
getSentBy
in class ICalProperty
public void setSentBy(String sentBy)
ICalProperty
setSentBy
in class ICalProperty
sentBy
- a URI representing the person (typically, an email URI, e.g.
"mailto:janedoe@example.com") or null to removepublic String getCommonName()
ICalProperty
getCommonName
in class ICalProperty
public void setCommonName(String commonName)
ICalProperty
setCommonName
in class ICalProperty
commonName
- the display name (e.g. "John Doe") or null to removepublic String getDirectoryEntry()
ICalProperty
getDirectoryEntry
in class ICalProperty
public void setDirectoryEntry(String directoryEntry)
ICalProperty
setDirectoryEntry
in class ICalProperty
directoryEntry
- the URI (e.g. an LDAP URI) or null to removepublic String getLanguage()
getLanguage
in class ICalProperty
public void setLanguage(String language)
setLanguage
in class ICalProperty
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 |