Skip navigation links

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

E28847-01


org.eclipse.persistence.oxm.annotations
Annotation Type XmlVirtualAccessMethods


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface XmlVirtualAccessMethods

The XmlVirtualAccessMethods annotation is used to indicate that this class has been configured to hold virtual properties.


Optional Element Summary
 java.lang.String getMethod
          (Optional) Defines the name of the method used to retrieve virtual properties.
 XmlVirtualAccessMethodsSchema schema
          (Optional) Configure the way that virtual properties will appear in generated schemas.
 java.lang.String setMethod
          (Optional) Defines the name of the method used to store virtual properties.

 

getMethod

public abstract java.lang.String getMethod
(Optional) Defines the name of the method used to retrieve virtual properties.
Default:
"get"

setMethod

public abstract java.lang.String setMethod
(Optional) Defines the name of the method used to store virtual properties.
Default:
"set"

schema

public abstract XmlVirtualAccessMethodsSchema schema
(Optional) Configure the way that virtual properties will appear in generated schemas.

XmlExtensibleSchema.NODES (default) - Virtual properties will appear as individual nodes
XmlExtensibleSchema.ANY - An XSD <any> element will be written to the schema to represent all of the defined virtual properties
Default:
org.eclipse.persistence.oxm.annotations.XmlVirtualAccessMethodsSchema.NODES

Skip navigation links

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