public static enum INewsMessage.Action extends java.lang.Enum<INewsMessage.Action>
Enum Constant and Description |
---|
DELETE
Means that news need to be deleted from news list using ID - all others fields is empty
|
INSERT
Means that news need to be added to existing news list
|
Modifier and Type | Method and Description |
---|---|
static INewsMessage.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static INewsMessage.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final INewsMessage.Action INSERT
public static final INewsMessage.Action DELETE
public static INewsMessage.Action[] values()
for (INewsMessage.Action c : INewsMessage.Action.values()) System.out.println(c);
public static INewsMessage.Action valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.