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

public @Interface XmlProperty

extends Annotation
Annotations
@Target:METHOD, FIELD, TYPE
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.TYPE, .RetentionPolicy.RUNTIME

Annotation for a user defined property. A single Property may be specified directly on a mapped attribute or its get/set method. Multiple Properties should be wrapped into Properties annotation.

Method Summary

Modifier and TypeMethod and Description
public String
name()

Property name.

public String
value()

String representation of Property value, converted to an instance of valueType.

public Class<?>
valueType()

Property value type.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

Property name.

valueback to summary
public String value()

String representation of Property value, converted to an instance of valueType.

valueTypeback to summary
public Class<?> valueType()

Property value type. The value converted to valueType by ConversionManager. If specified must be a simple type that could be handled by ConversionManager: numerical, boolean, temporal.