FileDocCategorySizeDatePackage
Who.javaAPI DocAndroid 1.5 API3923Wed May 06 22:41:16 BST 2009com.google.wireless.gdata.calendar.data

Who

public class Who extends Object
Contains information about a event attendee.

Fields Summary
public static final byte
RELATIONSHIP_NONE
No attendee relationhip set. Used in {@link #setRelationship} and {@link #getRelationship}.
public static final byte
RELATIONSHIP_ATTENDEE
A general meeting/event attendee. Used in {@link #setRelationship} and {@link #getRelationship}.
public static final byte
RELATIONSHIP_ORGANIZER
Event organizer. An organizer is not necessary an attendee. Used in {@link #setRelationship} and {@link #getRelationship}.
public static final byte
RELATIONSHIP_PERFORMER
Performer. Similar to {@link #RELATIONSHIP_SPEAKER}, but with more emphasis on art than speech delivery. Used in {@link #setRelationship} and {@link #getRelationship}.
public static final byte
RELATIONSHIP_SPEAKER
Speaker. Used in {@link #setRelationship} and {@link #getRelationship}.
public static final byte
TYPE_NONE
No attendee type set. Used in {@link #setType} and {@link #getType}.
public static final byte
TYPE_OPTIONAL
Optional attendee. Used in {@link #setType} and {@link #getType}.
public static final byte
TYPE_REQUIRED
Required attendee. Used in {@link #setType} and {@link #getType}.
public static final byte
STATUS_NONE
No attendee status set. Used in {@link #setStatus} and {@link #getStatus}.
public static final byte
STATUS_ACCEPTED
Attendee has accepted. Used in {@link #setStatus} and {@link #getStatus}.
public static final byte
STATUS_DECLINED
Attendee has declined. Used in {@link #setStatus} and {@link #getStatus}.
public static final byte
STATUS_INVITED
Invitation has been sent, but the person has not accepted. Used in {@link #setStatus} and {@link #getStatus}.
public static final byte
STATUS_TENTATIVE
Attendee has accepted tentatively. Used in {@link #setStatus} and {@link #getStatus}.
private String
email
private String
value
private byte
relationship
private byte
type
private byte
status
Constructors Summary
public Who()
Creates a new Who, representing event attendee information.


                 
      
    
Methods Summary
public java.lang.StringgetEmail()

        return email;
    
public bytegetRelationship()

        return relationship;
    
public bytegetStatus()

        return status;
    
public bytegetType()

        return type;
    
public java.lang.StringgetValue()

        return value;
    
public voidsetEmail(java.lang.String email)

        this.email = email;
    
public voidsetRelationship(byte relationship)

        this.relationship = relationship;
    
public voidsetStatus(byte status)

        this.status = status;
    
public voidsetType(byte type)

        this.type = type;
    
public voidsetValue(java.lang.String value)

        this.value = value;
    
protected voidtoString(java.lang.StringBuffer sb)

        if (!StringUtils.isEmpty(email)) {
            sb.append("EMAIL: " + email + "\n");
        }

        if (!StringUtils.isEmpty(value)) {
            sb.append("VALUE: " + value + "\n");
        }

        sb.append("RELATIONSHIP: " + relationship + "\n");
        sb.append("TYPE: " + type + "\n");
        sb.append("STATUS: " + status + "\n");
    
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer();
        toString(sb);
        return sb.toString();