public static enum SetFunction.Type extends Enum<SetFunction.Type>
| Enum Constant and Description |
|---|
BEAN
If type is 'bean' the method must not be static, and on every call to getFunctionValue, a new object is instantiated.
|
CLASS
If type is 'class' the method must be static, or if it is not static, there will be instantiated one object.
|
INSTANCE
If type is 'instance' the method must not be static, and on every call to getFunctionValue, a new object is instantiated.
|
SINGLETON
If type is 'singleton', then the static method 'getInstance' will be called to get the one instance, unless the method is static.
|
| Modifier and Type | Method and Description |
|---|---|
static SetFunction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetFunction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetFunction.Type CLASS
public static final SetFunction.Type INSTANCE
public static final SetFunction.Type BEAN
public static final SetFunction.Type SINGLETON
public static SetFunction.Type[] values()
for (SetFunction.Type c : SetFunction.Type.values()) System.out.println(c);
public static SetFunction.Type 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 nullMMBase 1.9-SNAPSHOT - ${javadoctimestamp}