|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Bindable
Denotes types that will have some of their fields bound (set or collected) by the
AttributeBinder. Fields to be bound are denoted by the Attribute
annotation. If a type has some its fields annotated by Attribute, but the type
itself is not marked with Bindable, the Attribute annotations will be
ignored.
| Optional Element Summary | |
|---|---|
Class<?>[] |
inherit
Inherit attribute descriptions (metadata) from other bindable types. |
String |
prefix
The prefix for the keys of attributes defined in the bindable type. |
public abstract String prefix
Class.getName() will be used. For more information on how
prefix() works with attribute keys, see Attribute.key();
public abstract Class<?>[] inherit
inherit key to indicate which attribute it inherits
metadata from.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||