public enum StorageAction extends Enum<StorageAction>
Modifier and Type | Method and Description |
---|---|
boolean |
isCreate() |
boolean |
isDelete() |
boolean |
isModify() |
static StorageAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageAction CREATE
public static final StorageAction MODIFY
public static final StorageAction DELETE
public static StorageAction[] values()
for (StorageAction c : StorageAction.values()) System.out.println(c);
public static StorageAction 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 boolean isDelete()
public boolean isModify()
public boolean isCreate()
Copyright © 2021. All Rights Reserved.