List of usage examples for org.apache.commons.beanutils LazyDynaMap LazyDynaMap
public LazyDynaMap(DynaClass dynaClass)
LazyDynaMap
based on an exisiting DynaClass From source file:org.mule.module.netsuite.api.util.MapToRecordConverter.java
public Record toRecord(RecordType recordType, Map<String, Object> recordAttributes) throws Exception { Record record = recordType.getRecordClass().newInstance(); beanUtils.copyProperties(record, new LazyDynaMap(recordAttributes)); return record; }