use of uk.ac.bbsrc.tgac.miso.core.data.impl.AssayTest.LibraryQualificationMethod in project miso-lims by miso-lims.
the class AssayTestDto method to.
public AssayTest to() {
AssayTest to = new AssayTest();
setLong(to::setId, getId(), false);
setString(to::setAlias, getAlias());
setObject(to::setTissueType, TissueTypeImpl::new, getTissueTypeId());
setObject(to::setExtractionClass, SampleClassImpl::new, getExtractionClassId());
setBoolean(to::setNegateTissueType, isNegateTissueType(), false);
setObject(to::setLibraryDesignCode, LibraryDesignCode::new, getLibraryDesignCodeId());
setObject(to::setLibraryQualificationMethod, getLibraryQualificationMethod(), LibraryQualificationMethod::valueOf);
setObject(to::setLibraryQualificationDesignCode, LibraryDesignCode::new, getLibraryQualificationDesignCodeId());
setBoolean(to::setRepeatPerTimepoint, isRepeatPerTimepoint(), false);
return to;
}
Aggregations