Package org.bedework.util.calendar
Enum PropertyIndex.DataType
- java.lang.Object
-
- java.lang.Enum<PropertyIndex.DataType>
-
- org.bedework.util.calendar.PropertyIndex.DataType
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyIndex.DataType>
- Enclosing class:
- PropertyIndex
public static enum PropertyIndex.DataType extends Enum<PropertyIndex.DataType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJsonType()QNamegetXcalType()static PropertyIndex.DataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyIndex.DataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BINARY
public static final PropertyIndex.DataType BINARY
-
BOOLEAN
public static final PropertyIndex.DataType BOOLEAN
-
CUA
public static final PropertyIndex.DataType CUA
-
DATE
public static final PropertyIndex.DataType DATE
-
DATE_TIME
public static final PropertyIndex.DataType DATE_TIME
-
DURATION
public static final PropertyIndex.DataType DURATION
-
FLOAT
public static final PropertyIndex.DataType FLOAT
-
INTEGER
public static final PropertyIndex.DataType INTEGER
-
PERIOD
public static final PropertyIndex.DataType PERIOD
-
RECUR
public static final PropertyIndex.DataType RECUR
-
TEXT
public static final PropertyIndex.DataType TEXT
-
TIME
public static final PropertyIndex.DataType TIME
-
URI
public static final PropertyIndex.DataType URI
-
UTC_OFFSET
public static final PropertyIndex.DataType UTC_OFFSET
-
SPECIAL
public static final PropertyIndex.DataType SPECIAL
More work
-
HREF
public static final PropertyIndex.DataType HREF
Non-ical
-
-
Method Detail
-
values
public static PropertyIndex.DataType[] 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 (PropertyIndex.DataType c : PropertyIndex.DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyIndex.DataType 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
-
getXcalType
public QName getXcalType()
- Returns:
- type or null
-
getJsonType
public String getJsonType()
- Returns:
- type or null
-
-