Package org.bedework.util.calendar
Enum IcalDefs.IcalComponentType
- java.lang.Object
-
- java.lang.Enum<IcalDefs.IcalComponentType>
-
- org.bedework.util.calendar.IcalDefs.IcalComponentType
-
- All Implemented Interfaces:
Serializable,Comparable<IcalDefs.IcalComponentType>
- Enclosing class:
- IcalDefs
public static enum IcalDefs.IcalComponentType extends Enum<IcalDefs.IcalComponentType>
Used to identify types of components within a calendar object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IcalDefs.IcalComponentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static IcalDefs.IcalComponentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final IcalDefs.IcalComponentType none
-
event
public static final IcalDefs.IcalComponentType event
-
todo
public static final IcalDefs.IcalComponentType todo
-
journal
public static final IcalDefs.IcalComponentType journal
-
freebusy
public static final IcalDefs.IcalComponentType freebusy
-
vavailability
public static final IcalDefs.IcalComponentType vavailability
-
available
public static final IcalDefs.IcalComponentType available
Not a top level - but we build a BwEvent out of it.
-
vpoll
public static final IcalDefs.IcalComponentType vpoll
-
mixed
public static final IcalDefs.IcalComponentType mixed
-
-
Method Detail
-
values
public static IcalDefs.IcalComponentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IcalDefs.IcalComponentType c : IcalDefs.IcalComponentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IcalDefs.IcalComponentType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-