@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface ReadTransformer
Transformation
,
WriteTransformer
,
Transformation can be specified within an Entity, MappedSuperclass
and Embeddable class.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
method
The mapped class must have a method with this name which returns a value
to be assigned to the attribute (not assigns the value to the attribute).
|
java.lang.Class |
transformerClass
User-defined class that must implement the
org.eclipse.persistence.mappings.transformers.AttributeTransformer
interface.
|
public abstract java.lang.Class transformerClass