public enum CalendarEditionMode extends Enum<CalendarEditionMode>
| Enum Constant and Description |
|---|
CREATION
Creation mode.
|
EDITION
Edition mode.
|
| Modifier and Type | Method and Description |
|---|---|
static CalendarEditionMode |
fromId(String id)
Get mode from identifier.
|
String |
getId()
Getter for id.
|
static CalendarEditionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarEditionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarEditionMode CREATION
public static final CalendarEditionMode EDITION
public static CalendarEditionMode[] values()
for (CalendarEditionMode c : CalendarEditionMode.values()) System.out.println(c);
public static CalendarEditionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CalendarEditionMode fromId(String id)
id - mode identifierpublic String getId()
Copyright © 2019 OSIVIA. All rights reserved.