The class will be instantiated, its buildAttributeValue will be used to create the value to be assigned to the attribute.

void.class

Note:

You must specify either a method or transformerClass, but not both.

Usage

Also unless it's a read-only mapping, either @WriteTransformer annotation or @WriteTransformers annotation should be specified. Each WriteTransformer defines transformation of the attribute value to a single database column value (column is specified in the WriteTransformer).