Package org.opencms.acacia.shared
Enum I_CmsSerialDateValue.PatternType
- java.lang.Object
-
- java.lang.Enum<I_CmsSerialDateValue.PatternType>
-
- org.opencms.acacia.shared.I_CmsSerialDateValue.PatternType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<I_CmsSerialDateValue.PatternType>
- Enclosing interface:
- I_CmsSerialDateValue
public static enum I_CmsSerialDateValue.PatternType extends java.lang.Enum<I_CmsSerialDateValue.PatternType>
Type of the series. E.g., daily, weekly, etc.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAILY
Series is specified on a daily base.INDIVIDUAL
Series is specified by individual dates.MONTHLY
Series is specified on a monthly base.NONE
No series at all.WEEKLY
Series is specified on a weekly base.YEARLY
Series is specified on a yearly base.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static I_CmsSerialDateValue.PatternType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static I_CmsSerialDateValue.PatternType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final I_CmsSerialDateValue.PatternType NONE
No series at all.
-
DAILY
public static final I_CmsSerialDateValue.PatternType DAILY
Series is specified on a daily base.
-
WEEKLY
public static final I_CmsSerialDateValue.PatternType WEEKLY
Series is specified on a weekly base.
-
MONTHLY
public static final I_CmsSerialDateValue.PatternType MONTHLY
Series is specified on a monthly base.
-
YEARLY
public static final I_CmsSerialDateValue.PatternType YEARLY
Series is specified on a yearly base.
-
INDIVIDUAL
public static final I_CmsSerialDateValue.PatternType INDIVIDUAL
Series is specified by individual dates.
-
-
Method Detail
-
values
public static I_CmsSerialDateValue.PatternType[] 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 (I_CmsSerialDateValue.PatternType c : I_CmsSerialDateValue.PatternType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static I_CmsSerialDateValue.PatternType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-