public IdentificationMetaData( Comparable id, String name, List<SpectrumIdentificationProtocol> spectrumIdentificationProtocols, Protocol proteinDetectionProtocol, List<SearchDataBase> searchDataBases) { super(id, name); this.spectrumIdentificationProtocols = CollectionUtils.createListFromList(spectrumIdentificationProtocols); this.searchDataBases = CollectionUtils.createListFromList(searchDataBases); this.proteinDetectionProtocol = proteinDetectionProtocol; }
public void setSearchDataBases(List<SearchDataBase> searchDataBases) { CollectionUtils.replaceValuesInCollection(searchDataBases, this.searchDataBases); }
public void setSpectrumIdentificationProtocols( List<SpectrumIdentificationProtocol> spectrumIdentificationProtocols) { CollectionUtils.replaceValuesInCollection( spectrumIdentificationProtocols, this.spectrumIdentificationProtocols); }