|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AnnoBean
Provides a proxied, modifiable view of a JSR175 annotation. Implementations of this interface are usually code-generated by the AnnogenTask.
| Field Summary | |
|---|---|
static java.lang.String |
SINGLE_MEMBER_NAME
Name of the member of annotations which have only a single member. |
| Method Summary | |
|---|---|
AnnoBean |
createNestableBean(java.lang.Class beanOrAnnoType)
Returns an instance of an AnnoBean for the given annotation type which can be used as an AnnoBean for a nested annotation value. |
boolean |
setValue(java.lang.String name,
java.lang.Object value)
|
| Field Detail |
|---|
static final java.lang.String SINGLE_MEMBER_NAME
Name of the member of annotations which have only a single member. As specified in JSR175, that name is "value", but you should use this constant to prevent typos.
| Method Detail |
|---|
boolean setValue(java.lang.String name,
java.lang.Object value)
AnnoBean createNestableBean(java.lang.Class beanOrAnnoType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||