|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=SOURCE)
@Target(value={})
public @interface Property
Represents a property in a class defined with Model annotation.
| Required Element Summary | |
|---|---|
String |
name
Name of the property. |
Class<?> |
type
Type of the property. |
| Optional Element Summary | |
|---|---|
boolean |
array
Is this property an array of the type() or a single value?
If the property is an array, only its getter (returning mutable List of
the boxed type()). |
| Element Detail |
|---|
public abstract String name
public abstract Class<?> type
int.class,
double.class, etc.), String, enum or complex model
class (defined by Model property).
public abstract boolean array
type() or a single value?
If the property is an array, only its getter (returning mutable List of
the boxed type()).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||