com.mizar.annotations
Annotation Type Form


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

The Form annotation can be added to @Entity JPA beans to facilitate automatic generation of forms and reports. The annotations simply provide the metadata that used by various form generators

See Also:
FormInfo

Optional Element Summary
 boolean deletable
           
 java.lang.String desc
           
 boolean editable
           
 int maximumTraversal
           
 java.lang.String name
           
 boolean selectable
           
 

name

public abstract java.lang.String name
Returns:
must return the unique name of the form
Default:
""

desc

public abstract java.lang.String desc
Returns:
a description to use a fly-over tip
Default:
""

selectable

public abstract boolean selectable
Returns:
true if rows in the form are selectable
Default:
true

editable

public abstract boolean editable
Returns:
true if rows in the form are editable
Default:
false

deletable

public abstract boolean deletable
Returns:
true if rows in the form can be deleted
Default:
false

maximumTraversal

public abstract int maximumTraversal
Default:
1