|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.common.Property
com.funambol.common.pim.model.calendar.Attendee
public class Attendee
Each instance of this class represents an attendee (in a broad sense as of the ATTENDEE property of iCalendar: it may be a delegate, the organizer, a resource etc.) of an event or task.
Field Summary | |
---|---|
static short |
ACCEPTED
|
static short |
ATTENDEE
Possible values for property role: |
static short |
CHAIRMAN
|
static short |
COMPLETED
|
static short |
DECLINED
Possible values for property status: |
static short |
DELEGATE
|
static short |
DELEGATED
|
static short |
GROUP
|
static short |
IN_PROCESS
|
static short |
INDIVIDUAL
Possible values for property kind: |
static java.lang.String |
MAILTO
Protocol prefix to use an e-mail address as a URI: |
static short |
NEEDS_ACTION
|
static short |
NON_PARTICIPANT
Possible values for property expected: |
static short |
OPTIONAL
|
static short |
ORGANIZER
|
static short |
OWNER
|
static short |
REQUIRED
|
static short |
REQUIRED_IMMEDIATE
|
static short |
RESOURCE
|
static short |
ROOM
|
static short |
SENT
|
static short |
TENTATIVE
|
static short |
UNKNOWN
Possible value for all short properties (role, expect, status and kind): |
Fields inherited from class com.funambol.common.pim.model.common.Property |
---|
altrep, chrset, cn, cutype, delegatedFrom, delegatedTo, dir, encoding, group, language, member, partstat, propertyValue, related, sentby, tag, type, value, xParams |
Constructor Summary | |
---|---|
Attendee()
Creates a new "empty" instance of Attendee (no name, no URI, all other properties set to UNKNOWN). |
|
Attendee(java.lang.String name,
java.lang.String uri,
short role,
short expected,
short kind,
short status)
Creates a new instance of Attendee. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Checks whether this Attendee is equal to another Attendee. |
java.lang.String |
getEmail()
Retrieves the e-mail address of the attendee from the URI property, provided the URI represents an e-mail address. |
short |
getExpected()
Gets the expected participation status of the attendee. |
short |
getKind()
Gets the kind of the attendee. |
java.lang.String |
getName()
Gets the display name of the attendee. |
short |
getRole()
Gets the role of the attendee. |
short |
getStatus()
Gets the status of the attendee. |
java.lang.String |
getUri()
Gets the URI of the attendee. |
int |
hashCode()
Gets a reasonably reliable hash code for the Attendee object. |
void |
setEmail(java.lang.String email)
Sets the URI of the attendee using a MAILTO content. |
void |
setExpected(short expected)
Sets the expected participation status of the attendee. |
void |
setKind(short kind)
Sets the kind of the attendee. |
void |
setName(java.lang.String name)
Sets the display name of the attendee. |
void |
setRole(short role)
Sets the role of the attendee. |
void |
setStatus(short status)
Sets the status of the attendee. |
void |
setUri(java.lang.String uri)
Sets the URI of the attendee. |
Methods inherited from class com.funambol.common.pim.model.common.Property |
---|
compare, getAltrep, getCharset, getCn, getCutype, getDelegatedFrom, getDelegatedTo, getDir, getEncoding, getGroup, getLanguage, getMember, getPartstat, getPropertyValue, getPropertyValueAsString, getRelated, getSentby, getTag, getType, getValue, getXParams, isEmptyProperty, setAltrep, setCharset, setCn, setCutype, setDelegatedFrom, setDelegatedTo, setDir, setEncoding, setGroup, setLanguage, setMember, setPartstat, setPropertyValue, setRelated, setSentby, setTag, setType, setValue, setXParams, stringFrom, stringFrom |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short UNKNOWN
public static final short ATTENDEE
public static final short DELEGATE
public static final short ORGANIZER
public static final short OWNER
public static final short NON_PARTICIPANT
public static final short OPTIONAL
public static final short REQUIRED
public static final short REQUIRED_IMMEDIATE
public static final short CHAIRMAN
public static final short INDIVIDUAL
public static final short GROUP
public static final short RESOURCE
public static final short ROOM
public static final short DECLINED
public static final short NEEDS_ACTION
public static final short SENT
public static final short DELEGATED
public static final short TENTATIVE
public static final short ACCEPTED
public static final short IN_PROCESS
public static final short COMPLETED
public static final java.lang.String MAILTO
Constructor Detail |
---|
public Attendee()
public Attendee(java.lang.String name, java.lang.String uri, short role, short expected, short kind, short status)
name
- the attendee's nameuri
- the attendee's URIrole
- the attendee's roleexpected
- the attendee's expected participationkind
- the attendee's kindstatus
- the attendee's participation statusMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the display name of the attendeepublic java.lang.String getUri()
public void setUri(java.lang.String uri)
uri
- the URI of the attendeepublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email
- the e-mail address of the attendee (if it's null, the URI
property will be set to null)public short getRole()
public void setRole(short role)
role
- the role of the attendee.public short getExpected()
public void setExpected(short expected)
expected
- the expected participation status of the attendeepublic short getKind()
public void setKind(short kind)
kind
- the kind of the attendeepublic short getStatus()
public void setStatus(short status)
status
- the status of the attendeepublic int hashCode()
hashCode
in class Property
public boolean equals(java.lang.Object object)
equals
in class Property
object
- any other object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |