|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface XmlReadOnly
Purpose: This annotation indicates that a specific property should be flagged as read-only by EclipseLink. The value for this property will never be written out to XML during a marshal if flagged as read-only.
Example:
@XmlRootElement(name="customer")
public class Customer {
...
@XmlElement
@XmlReadOnly
public String firstName
...
}
*
Overview
Package
Class
Tree
Deprecated
Index
Help
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: REQUIRED | OPTIONAL
DETAIL: ELEMENT