biweekly.parameter
Class FreeBusyType

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

public class FreeBusyType
extends EnumParameterValue

Defines whether a calendar user is free or busy over a time period.

Author:
Michael Angstadt
See Also:
RFC 5545 p.20-1

Field Summary
static FreeBusyType BUSY
           
static FreeBusyType BUSY_TENTATIVE
           
static FreeBusyType BUSY_UNAVAILABLE
           
static FreeBusyType FREE
           
 
Fields inherited from class biweekly.parameter.EnumParameterValue
value
 
Method Summary
static FreeBusyType find(String value)
          Searches for a parameter value that is defined as a static constant in this class.
static FreeBusyType get(String value)
          Searches for a parameter value and creates one if it cannot be found.
 
Methods inherited from class biweekly.parameter.EnumParameterValue
equals, getValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FREE

public static final FreeBusyType FREE

BUSY

public static final FreeBusyType BUSY

BUSY_UNAVAILABLE

public static final FreeBusyType BUSY_UNAVAILABLE

BUSY_TENTATIVE

public static final FreeBusyType BUSY_TENTATIVE
Method Detail

find

public static FreeBusyType 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 FreeBusyType 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


Copyright © 2013 Michael Angstadt. All Rights Reserved.