|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SetFunction.Type>
org.mmbase.util.functions.SetFunction.Type
public static enum SetFunction.Type
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SetFunction.Type CLASS
public static final SetFunction.Type INSTANCE
public static final SetFunction.Type BEAN
public static final SetFunction.Type SINGLETON
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||