biweekly.parameter
Class ParticipationStatus

java.lang.Object
  extended by biweekly.parameter.EnumParameterValue
      extended by biweekly.parameter.ParticipationStatus

public class ParticipationStatus
extends EnumParameterValue

Defines a calendar user's level of participation.

Author:
Michael Angstadt
Specification Reference:
RFC 5545 p.22-3

Field Summary
static ParticipationStatus ACCEPTED
           
static ParticipationStatus COMPLETED
           
static ParticipationStatus DECLINED
           
static ParticipationStatus DELEGATED
           
static ParticipationStatus IN_PROGRESS
           
static ParticipationStatus NEEDS_ACTION
           
static ParticipationStatus TENTATIVE
           
 
Fields inherited from class biweekly.parameter.EnumParameterValue
value
 
Method Summary
static Collection<ParticipationStatus> all()
          Gets all of the parameter values that are defined as static constants in this class.
static ParticipationStatus find(String value)
          Searches for a parameter value that is defined as a static constant in this class.
static ParticipationStatus get(String value)
          Searches for a parameter value and creates one if it cannot be found.
 
Methods inherited from class biweekly.parameter.EnumParameterValue
getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEEDS_ACTION

public static final ParticipationStatus NEEDS_ACTION

ACCEPTED

public static final ParticipationStatus ACCEPTED

DECLINED

public static final ParticipationStatus DECLINED

TENTATIVE

public static final ParticipationStatus TENTATIVE

DELEGATED

public static final ParticipationStatus DELEGATED

COMPLETED

public static final ParticipationStatus COMPLETED

IN_PROGRESS

public static final ParticipationStatus IN_PROGRESS
Method Detail

find

public static ParticipationStatus find(String value)
Searches for a parameter value that is defined as a static constant in this class.

Parameters:
value - the parameter value
Returns:
the object or null if not found

get

public static ParticipationStatus get(String value)
Searches for a parameter value and creates one if it cannot be found. All objects are guaranteed to be unique, so they can be compared with == equality.

Parameters:
value - the parameter value
Returns:
the object

all

public static Collection<ParticipationStatus> all()
Gets all of the parameter values that are defined as static constants in this class.

Returns:
the parameter values


Copyright © 2013 Michael Angstadt. All Rights Reserved.