org.jasig.schedassist.model
Class AppointmentRole

java.lang.Object
  extended by net.fortuna.ical4j.model.Content
      extended by net.fortuna.ical4j.model.Parameter
          extended by net.fortuna.ical4j.model.parameter.XParameter
              extended by org.jasig.schedassist.model.AppointmentRole
All Implemented Interfaces:
Serializable

public class AppointmentRole
extends net.fortuna.ical4j.model.parameter.XParameter

XParameter that is added to an Attendee to earmark the Attendee's role in the event (owner, visitor, or both). BOTH is a special case where the owner and visitor are the same person.

Version:
$Id: AppointmentRole.java 1245 2009-11-10 22:08:04Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu
See Also:
Serialized Form

Nested Class Summary
static class AppointmentRole.Value
          Enum to represent possible values for the AppointmentRole X-Parameter.
 
Field Summary
static String APPOINTMENT_ROLE
          iCalendar property name
static AppointmentRole BOTH
           
static AppointmentRole OWNER
           
static AppointmentRole VISITOR
           
 
Fields inherited from class net.fortuna.ical4j.model.Parameter
ABBREV, ALTREP, CN, CUTYPE, DELEGATED_FROM, DELEGATED_TO, DIR, ENCODING, EXPERIMENTAL_PREFIX, FBTYPE, FMTTYPE, LANGUAGE, MEMBER, PARTSTAT, RANGE, RELATED, RELTYPE, ROLE, RSVP, SCHEDULE_AGENT, SCHEDULE_STATUS, SENT_BY, TYPE, TZID, VALUE, VVENUE
 
Constructor Summary
AppointmentRole(AppointmentRole.Value value)
           
AppointmentRole(String value)
           
 
Method Summary
 boolean isBoth()
           
 boolean isOwner()
           
 boolean isVisitor()
           
 
Methods inherited from class net.fortuna.ical4j.model.parameter.XParameter
getValue
 
Methods inherited from class net.fortuna.ical4j.model.Parameter
copy, equals, getName, hashCode, isQuotable, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OWNER

public static final AppointmentRole OWNER

VISITOR

public static final AppointmentRole VISITOR

BOTH

public static final AppointmentRole BOTH

APPOINTMENT_ROLE

public static final String APPOINTMENT_ROLE
iCalendar property name

See Also:
Constant Field Values
Constructor Detail

AppointmentRole

public AppointmentRole(String value)
Parameters:
value -

AppointmentRole

public AppointmentRole(AppointmentRole.Value value)
Parameters:
value -
Method Detail

isOwner

public boolean isOwner()
Returns:
true if the value of this parameter matches OWNER

isVisitor

public boolean isVisitor()
Returns:
if the value of this parameter matches VISITOR

isBoth

public boolean isBoth()
Returns:
if the value of this parameter matches BOTH


Copyright © 2012 Jasig. All Rights Reserved.