edu.cmu.andrew.icalendar
Class AgendaType
java.lang.Object
|
+--edu.cmu.andrew.icalendar.AgendaType
- public final class AgendaType
- extends Object
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
name
private final String name
c
private final char c
bychar
private static Map bychar
bystring
private static Map bystring
PERSON
public static final AgendaType PERSON
LOCATION
public static final AgendaType LOCATION
RESOURCE
public static final AgendaType RESOURCE
DYNAMIC
public static final AgendaType DYNAMIC
ORGANIZATION
public static final AgendaType ORGANIZATION
UNKNOWN
public static final AgendaType UNKNOWN
AgendaType
private AgendaType(String name,
char c)
toString
public String toString()
- Overrides:
toString
in class Object
toChar
public char toChar()
valueOf
public static AgendaType valueOf(String s)
- Resolve a string to the appropriate AgendaType.
- Parameters:
s
- the string representation of AgendaType.- Returns:
- the AgendaType or null if there is no such AgendaType.
valueOf
public static AgendaType valueOf(char c)