Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.bea.wlp.rest.results
Annotation Type FormatListElement

    @Retention(value=RUNTIME)
    public @interface FormatListElement

Annotation that can be used to modify the default naming behavior of REST `formatters`. This can be used to control the property names of the contained collection elements, which can be useful if the default naming convention of simply naming collection elements by appending _element is not desired. For instance, if a collection is encountered in a bean called cars, the XML formatter will be default output all elements of that collection in elements named "cars_element". This annotation could be used on the collection property to influence an alternate name for the collection elements, such as, in this example, "car".

Annotation Type Required Member Summary
`String` | `elementPropertyName` The alternate name for collection element properties.

Annotation Type Member Detail

### elementPropertyName

    public abstract String elementPropertyName

  The alternate name for collection element properties.

  Returns
    the alternate name for collection element properties

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.