@@ -0,0 +1,2139 @@
+package ca.corefacility.bioinformatics.irida.ria.web.components.datatables.export.models;%0A%0Aimport java.util.Date;%0A%0Aimport ca.corefacility.bioinformatics.irida.model.joins.impl.ProjectSampleJoin;%0Aimport ca.corefacility.bioinformatics.irida.model.project.Project;%0Aimport ca.corefacility.bioinformatics.irida.model.sample.Sample;%0A%0A/**%0A * Used for exporting the project samples table.  Prevents undefined from displaying in the table,%0A * and adds the project name.%0A */%0Apublic class ProjectSampleModel %7B%0A%09private Project project;%0A%09private Sample sample;%0A%0A%09public ProjectSampleModel(ProjectSampleJoin psj) %7B%0A%09%09this.project = psj.getSubject();%0A%09%09this.sample = psj.getObject();%0A%09%7D%0A%0A%09public Long getId() %7B%0A%09%09return sample.getId();%0A%09%7D%0A%0A%09public String getSampleName() %7B%0A%09%09return sample.getSampleName();%0A%09%7D%0A%0A%09public String getProjectName() %7B%0A%09%09return project.getName();%0A%09%7D%0A%0A%09public String getCreatedDate() %7B%0A%09%09return sample.getCreatedDate() != null ? sample.getCreatedDate().toString() : %22%22;%0A%09%7D%0A%0A%09public String getModifiedDate() %7B%0A%09%09return sample.getModifiedDate() != null ? sample.getModifiedDate().toString() : %22%22;%0A%09%7D%0A%0A%09public String getDescription() %7B%0A%09%09return sample.getDescription() != null ? sample.getDescription() : %22%22;%0A%09%7D%0A%0A%09public String getOrganism() %7B%0A%09%09return sample.getOrganism() != null ? sample.getOrganism() : %22%22;%0A%09%7D%0A%0A%09public String getIsolate() %7B%0A%09%09return sample.getIsolate() != null ?  sample.getIsolate() : %22%22;%0A%09%7D%0A%0A%09public String getCollectedBy() %7B%0A%09%09return sample.getCollectedBy() != null ? sample.getCollectedBy() : %22%22;%0A%09%7D%0A%0A%09public String getCollectionDate() %7B%0A%09%09return sample.getCollectionDate() != null ? sample.getCollectionDate().toString() : %22%22;%0A%09%7D%0A%0A%09public String getGeographicLocationName() %7B%0A%09%09return sample.getGeographicLocationName() != null ? sample.getGeographicLocationName() : %22%22;%0A%09%7D%0A%0A%09public String getIsolationSource() %7B%0A%09%09return sample.getIsolationSource() != null ? sample.getIsolationSource() : %22%22;%0A%09%7D%0A%0A%09public String getLatitude() %7B%0A%09%09return sample.getLatitude() != null ? sample.getLatitude() : %22%22;%0A%09%7D%0A%0A%09public String getLongitude() %7B%0A%09%09return sample.getLongitude() != null ? sample.getLongitude() : %22%22;%0A%09%7D%0A%7D%0A

Properly format the exported table cell text