org.sourceforge.espro.elicitation
Annotation Type Copy


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface Copy

The Copy Annotation is provided to tell espro that an parameter should be copied when we create a runnable Item with this method, where the method is a new one, copies by the MethodProvider. This only works if there is a getter and a setter for the parameter. I.e. if the propperty is called

foo
the getter has to be
isFoo
if foo is boolean and
getFoo
for all other types. The setter has to be called
setFoo
in all cases.

Version:
2.0
Author:
Martin Kaffanke