Enum Substituted
- java.lang.Object
-
- java.lang.Enum<Substituted>
-
- de.focus_shift.jollyday.jackson.mapping.Substituted
-
- All Implemented Interfaces:
Serializable,Comparable<Substituted>
public enum Substituted extends Enum<Substituted>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ON_SATURDAYON_SUNDAYON_TUESDAYON_WEDNESDAYON_WEEKEND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubstitutedfromValue(String v)Stringvalue()static SubstitutedvalueOf(String name)Returns the enum constant of this type with the specified name.static Substituted[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_SATURDAY
public static final Substituted ON_SATURDAY
-
ON_SUNDAY
public static final Substituted ON_SUNDAY
-
ON_WEEKEND
public static final Substituted ON_WEEKEND
-
ON_TUESDAY
public static final Substituted ON_TUESDAY
-
ON_WEDNESDAY
public static final Substituted ON_WEDNESDAY
-
-
Method Detail
-
values
public static Substituted[] 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 (Substituted c : Substituted.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Substituted 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
-
value
public String value()
-
fromValue
public static Substituted fromValue(String v)
-
-