org.mmbase.util.functions
Annotation Type FunctionParameters


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface FunctionParameters

This annotation can be used on a Bean which is to be wrapped in a BeanFunction to explicitely define which setters must be interpreted as function parameters. Sometimes a class has more general use, and not all setter methods must be exposed as function parameters. You can explicitely state all parameter names, or say that only the with Type annotated setters must be considered (or both).

Since:
MMBase-1.9.2
Version:
$Id: FunctionParameters.java 42558 2010-06-15 09:21:38Z michiel $
Author:
Michiel Meeuwissen

Optional Element Summary
 boolean annotated
          If set to true, only setters annotated with Type are considered function parameters
 String[] value
           
 

value

public abstract String[] value
Default:
""

annotated

public abstract boolean annotated
If set to true, only setters annotated with Type are considered function parameters

Default:
false


MMBase 2.0-SNAPSHOT - null