use of org.activityinfo.ui.client.component.importDialog.model.source.SourceColumnAccessor in project activityinfo by bedatadriven.
the class ImportModel method getMappedColumns.
public Map<TargetSiteId, ColumnAccessor> getMappedColumns(ResourceId fieldId) {
Map<TargetSiteId, ColumnAccessor> mappings = Maps.newHashMap();
for (Map.Entry<SourceColumn, MapExistingAction> entry : getMapExistingActions(fieldId).entrySet()) {
TargetSiteId site = entry.getValue().getTarget().getSite();
ColumnAccessor column = new SourceColumnAccessor(entry.getKey());
mappings.put(site, column);
}
return mappings;
}
Aggregations