public enum CrudAction extends Enum<CrudAction>
Modifier and Type | Method and Description |
---|---|
String |
getVerb() |
static CrudAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrudAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrudAction CREATE
public static final CrudAction UPDATE
public static final CrudAction READ
public static final CrudAction DELETE
public static CrudAction[] values()
for (CrudAction c : CrudAction.values()) System.out.println(c);
public static CrudAction 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 String getVerb()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.