@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface Hidden
Applies to properties.
The hidden properties are excluded when the automatic user interface is
generated. However at Java code level they are present and fully functional.
Even if you put it explicitly into a view the property will be shown in
the user interface.
Example:
@Id @Hidden @GeneratedValue(strategy=GenerationType.IDENTITY) private Integer oid;