public SequencingAnalysis copy() {
   SequencingAnalysis dst = new SequencingAnalysis();
   dst.subject = subject == null ? null : subject.copy();
   dst.date = date == null ? null : date.copy();
   dst.name = name == null ? null : name.copy();
   dst.genome = genome == null ? null : genome.copy(dst);
   dst.file = new ArrayList<Attachment>();
   for (Attachment i : file) dst.file.add(i.copy());
   dst.inputLab = new ArrayList<ResourceReference>();
   for (ResourceReference i : inputLab) dst.inputLab.add(i.copy());
   dst.inputAnalysis = new ArrayList<ResourceReference>();
   for (ResourceReference i : inputAnalysis) dst.inputAnalysis.add(i.copy());
   return dst;
 }
 public SequencingAnalysisGenomeComponent copy(SequencingAnalysis e) {
   SequencingAnalysisGenomeComponent dst = e.new SequencingAnalysisGenomeComponent();
   dst.name = name == null ? null : name.copy();
   dst.build = build == null ? null : build.copy();
   return dst;
 }