Top Description Methods
org.eclipse.persistence.oxm.annotations

public @Interface XmlVirtualAccessMethods

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

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

Method Summary

Modifier and TypeMethod and Description
public String
getMethod()

(Optional) Defines the name of the method used to retrieve virtual properties.

public XmlVirtualAccessMethodsSchema
schema()

(Optional) Configure the way that virtual properties will appear in generated schemas.

public String
setMethod()

(Optional) Defines the name of the method used to store virtual properties.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

getMethodback to summary
public String getMethod()

(Optional) Defines the name of the method used to retrieve virtual properties.

schemaback to summary
public 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

setMethodback to summary
public String setMethod()

(Optional) Defines the name of the method used to store virtual properties.