Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)


Annotation Type XmlWriteOnly

public @interface XmlWriteOnly

Purpose: This annotation indicates that a specific property should be flagged as read-only by EclipseLink. The value for this property will be written out to XML during a marshal, but ignored during unmarshal if flagged as write-only.

 public class Customer {
    public String firstName


Copyright © 1998, 2012, Oracle. All Rights Reserved.