com.bea.wlp.rest.results
Annotation Type FormatProperty


@Retention(value=RUNTIME)
public @interface FormatProperty

Annotation that can be used to modify the default naming behavior of REST formatters. This can be used to control the name of the emitted property. This annotation should be placed on the getter method for the property.


Annotation Type Required Member Summary
 String propertyName
          The property name that will be used in place of the JavaBean property name.
 

Annotation Type Member Detail

propertyName

public abstract String propertyName
The property name that will be used in place of the JavaBean property name.

Returns
the alternate property name


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.