com.nedap.archie.adl14.ADL2ConversionResultList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aom Show documentation
Show all versions of aom Show documentation
An OpenEHR archetype object model implementation, plus parser
package com.nedap.archie.adl14;
import com.nedap.archie.adl14.log.ADL2ConversionRunLog;
import java.util.ArrayList;
import java.util.List;
public class ADL2ConversionResultList {
//TODO: should this contain an archetype repository as well?
private List conversionResults = new ArrayList<>();
private ADL2ConversionRunLog conversionLog = new ADL2ConversionRunLog();
public List getConversionResults() {
return conversionResults;
}
public void setConversionResults(List conversionResults) {
this.conversionResults = conversionResults;
}
public ADL2ConversionRunLog getConversionLog() {
return conversionLog;
}
public void setConversionLog(ADL2ConversionRunLog conversionLog) {
this.conversionLog = conversionLog;
}
public void addConversionResult(ADL2ConversionResult result) {
conversionResults.add(result);
if(result.getArchetype() != null) {
conversionLog.addLog(result.getArchetypeId(), result.getConversionLog());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy