public IndexingConfigurationBuilder addKeyTransformer ( Class < ? > keyClass , Class < ? > keyTransformerClass ) { Map < Class < ? > , Class < ? > > indexedEntities = keyTransformers ( ) ; indexedEntities . put ( keyClass , keyTransformerClass ) ; attributes . attribute ( KEY_TRANSFORMERS ) . set ( indexedEntities ) ; return this ; }
Registers a transformer for a key class .