org.japano.metadata.annotation
Annotation Type JapanoSelect


@Target(value=METHOD)
@Documented
@Retention(value=SOURCE)
public @interface JapanoSelect

Marks an accessor method of an action as select field.

Version:
$Id: JapanoSelect.java,v 1.7 2005/09/27 21:30:51 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Optional Element Summary
 boolean multiple
           
 java.lang.String name
           
 JapanoOption[] options
          options of the select field.
 java.lang.String texts
          texts method name Either this or options must be set.
 java.lang.String value
          default value
 java.lang.String values
          values method name. if a values element is given the texts element must also be given.
 

name

public abstract java.lang.String name
Default:
"[unset]"

value

public abstract java.lang.String value
default value

Default:
"[unset]"

multiple

public abstract boolean multiple
Default:
false

options

public abstract JapanoOption[] options
options of the select field. Either this or texts must be set.

Default:
{}

texts

public abstract java.lang.String texts
texts method name Either this or options must be set.

Default:
"[unset]"

values

public abstract java.lang.String values
values method name. if a values element is given the texts element must also be given.

Default:
"[unset]"