Demo entry 4147248

A Groovy example

   

Submitted by anonymous on Mar 23, 2016 at 15:01
Language: Groovy. Code size: 243 Bytes.

import com.log10solutions.modulus.core.orika.converter.MappingConverter

addConverter "canId", new MappingConverter<String, Integer>(candidateIdMap)

nf { b.candId = convert("canId", a.email) }
b.email = a.email
b.fileName = a.fileName

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).