package ca.corefacility.bioinformatics.irida.ria.web.samples.dto;

import java.util.Map;

import ca.corefacility.bioinformatics.irida.model.sample.MetadataTemplateField;
import ca.corefacility.bioinformatics.irida.model.sample.Sample;
import ca.corefacility.bioinformatics.irida.model.sample.metadata.MetadataEntry;

public class SampleDetails {
	private Sample sample;
	private Map<MetadataTemplateField, MetadataEntry> metadata;
	private boolean modifiable;

	public SampleDetails(Sample sample, boolean modifiable) {
		this.sample = sample;
		this.metadata = sample.getMetadata();
		this.modifiable = modifiable;
	}

	public Sample getSample() {
		return sample;
	}

	public Map<MetadataTemplateField, MetadataEntry> getMetadata() {
		return metadata;
	}

	public boolean isModifiable() {
		return modifiable;
	}
}

@@ -310,16 +310,97 @@
 Entry;%0A%0A
+/**%0A * Used to based details of a %7B@link Sample%7D back to the user interface.%0A */%0A
 public c

Update JavaSco