|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Collection
The Collection annotation defines that a property is a potential
collection of fixed values and those values must be collected while the OXML
script is executed. Those values will be stored finally in the
OXMLReaderOutput.getCollections() map.
The Collection annotation must be associated with one of the
setter or getter of the property to collect values from.
PropertyOXMLAction,
OXMLContext.collect(String, Object)| Optional Element Summary | |
|---|---|
boolean |
beanName
If true, the bean name, which contains the property, will
added in the collection name. |
String[] |
collectedProperties
List of properties to collect on an instance. |
String |
name
Name of the collection. |
public abstract boolean beanName
true, the bean name, which contains the property, will
added in the collection name.
This property is only used for annotated properties.
true if the bean name must be included in the
collection namepublic abstract String[] collectedProperties
toString() call is applied on the instance.
This property is only used for annotated classes.
public abstract String name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||