use of org.talend.mdm.repository.core.command.param.DataModelCmdParam in project tmdm-studio-se by Talend.
the class ModelImpactAnalyseService method convertToParameters.
public static Map<IRepositoryViewObject, ICommandParameter> convertToParameters(Map<IRepositoryViewObject, ImpactOperation> impactResult) {
Map<IRepositoryViewObject, ICommandParameter> paramMap = new HashMap<IRepositoryViewObject, ICommandParameter>();
for (IRepositoryViewObject viewObj : impactResult.keySet()) {
ImpactOperation impactOperation = impactResult.get(viewObj);
ICommandParameter param = new DataModelCmdParam(impactOperation);
paramMap.put(viewObj, param);
}
return paramMap;
}
Aggregations