public enum ForumEditionMode extends Enum<ForumEditionMode>
| Enum Constant and Description |
|---|
CREATION
Creation mode.
|
EDITION
Edition mode.
|
| Modifier and Type | Method and Description |
|---|---|
static ForumEditionMode |
fromId(String id)
Get mode from identifier.
|
String |
getId()
Getter for id.
|
static ForumEditionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForumEditionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForumEditionMode CREATION
public static final ForumEditionMode EDITION
public static ForumEditionMode[] values()
for (ForumEditionMode c : ForumEditionMode.values()) System.out.println(c);
public static ForumEditionMode 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 ForumEditionMode fromId(String id)
id - mode identifierpublic String getId()
Copyright © 2023 OSIVIA. All rights reserved.