@@ -0,0 +1,1035 @@
+package net.canadensys.harvester.occurrence.model;%0A%0Aimport net.canadensys.dataportal.occurrence.model.DwcaResourceModel;%0Aimport net.canadensys.dataportal.occurrence.model.ImportLogModel;%0A%0A/**%0A * Model that encapsulate a DwcaResourceModel and hold status related information.%0A *%0A * @author cgendreau%0A *%0A */%0Apublic class DwcaResourceStatusModel %7B%0A%0A%09private final DwcaResourceModel dwcaResourceModel;%0A%09private IPTFeedModel iptFeedModel;%0A%09private ImportLogModel lastImportEvent;%0A%0A%09public DwcaResourceStatusModel(DwcaResourceModel dwcaResourceModel) %7B%0A%09%09this.dwcaResourceModel = dwcaResourceModel;%0A%09%7D%0A%0A%09public IPTFeedModel getIptFeedModel() %7B%0A%09%09return iptFeedModel;%0A%09%7D%0A%0A%09public void setIptFeedModel(IPTFeedModel iptFeedModel) %7B%0A%09%09this.iptFeedModel = iptFeedModel;%0A%09%7D%0A%0A%09public ImportLogModel getLastImportEvent() %7B%0A%09%09return lastImportEvent;%0A%09%7D%0A%0A%09public void setLastImportEvent(ImportLogModel lastImportEvent) %7B%0A%09%09this.lastImportEvent = lastImportEvent;%0A%09%7D%0A%0A%09public DwcaResourceModel getDwcaResourceModel() %7B%0A%09%09return dwcaResourceModel;%0A%09%7D%0A%7D%0A

add new class to handle DwcaResource status