EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

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


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface XmlAccessMethods

Purpose:This annotation allows the userTo specify accessor methods for a given property. The methods specified here will be used to set values in the object during unmarshal and to obtain the value from the object during marshal.


Optional Element Summary
 java.lang.String getMethodName
           
 java.lang.String setMethodName
           
 

getMethodName

public abstract java.lang.String getMethodName
Default:
""

setMethodName

public abstract java.lang.String setMethodName
Default:
""

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference