public enum BodyArgs extends Enum<BodyArgs>
| Enum Constant and Description |
|---|
MANY
eg action invoke
|
NONE
eg property clear
|
ONE
eg property modify, collection addto/remove
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNone() |
boolean |
isOne() |
static BodyArgs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BodyArgs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static BodyArgs[] values()
for (BodyArgs c : BodyArgs.values()) System.out.println(c);
public static BodyArgs 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 isOne()
public boolean isNone()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.