|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface ImplementingClasses
Requires that instances bound to the attribute are of one of the provided
classes().
| Required Element Summary | |
|---|---|
Class<?>[] |
classes
The allowed classes for the attribute value. |
| Optional Element Summary | |
|---|---|
boolean |
strict
If true, only instances assignable to one of the listed
classes() will be allowed. |
| Element Detail |
|---|
public abstract Class<?>[] classes
public abstract boolean strict
true, only instances assignable to one of the listed
classes() will be allowed. Otherwise, any instance assignable to the
attribute type will be allowed.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||