|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface ValueHintEnum
A set of values for an attribute of type String. This can be either a hint
(for user interfaces) or a restriction (which causes the attribute to behave much like
an enum type).
By default the constraint accepts values returned from Enum.name(). If the
enum type returned from values() implements IValueHintMapping
interface, values checked are retrieved from the
IValueHintMapping.getAttributeValue() method of each individual constant.
Required| Required Element Summary | |
|---|---|
Class<? extends Enum<?>> |
values
|
| Element Detail |
|---|
public abstract Class<? extends Enum<?>> values
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||