|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface AttributeExposes methods or fields as beanlet attributes.
<beanlets xmlns="http://beanlet.org/schema/beanlet"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://beanlet.org/schema/beanlet http://beanlet.org/schema/beanlet/beanlet_1_0.xsd">
<beanlet name="foo" type="com.acme.Foo">
<attribute field="bar" access-type="" name=""
description=""/>
</beanlet>
</beanlets>
| Optional Element Summary | |
|---|---|
AttributeAccessType[] |
accessType
Specifies the access rights for the attribute. |
String |
description
Description of the attribute. |
String |
name
Specifies the name of the attribute. |
public abstract AttributeAccessType[] accessType
public abstract String name
name is set to
"", the attribute name is picked according to the JavaBeans
specification.
public abstract String description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||