Module eclipselink
Annotation Interface XmlVirtualAccessMethods
The XmlVirtualAccessMethods annotation is used to indicate that this class has
been configured to hold virtual properties.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines the name of the method used to retrieve virtual properties.Configure the way that virtual properties will appear in generated schemas.Defines the name of the method used to store virtual properties.
-
Element Details
-
getMethod
String getMethodDefines the name of the method used to retrieve virtual properties.- Default:
"get"
-
setMethod
String setMethodDefines the name of the method used to store virtual properties.- Default:
"set"
-
schema
Configure the way that virtual properties will appear in generated schemas.- XmlVirtualAccessMethodsSchema.NODES (default) - Virtual properties will appear as individual nodes.
- XmlVirtualAccessMethodsSchema.ANY - An XSD <any> element will be written to the schema to represent all of the defined virtual properties.
- Default:
NODES
-