biweekly.parameter
Class CalendarUserType
java.lang.Object
biweekly.parameter.EnumParameterValue
biweekly.parameter.CalendarUserType
public class CalendarUserType
- extends EnumParameterValue
Defines the type of user an entity is.
- Author:
- Michael Angstadt
- See Also:
- RFC 5545 p.16
INDIVIDUAL
public static final CalendarUserType INDIVIDUAL
GROUP
public static final CalendarUserType GROUP
RESOURCE
public static final CalendarUserType RESOURCE
ROOM
public static final CalendarUserType ROOM
UNKNOWN
public static final CalendarUserType UNKNOWN
find
public static CalendarUserType 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 CalendarUserType 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.