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