Search in sources :

Example 1 with LibraryQualificationMethod

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;
}
Also used : LibraryDesignCode(uk.ac.bbsrc.tgac.miso.core.data.LibraryDesignCode) AssayTest(uk.ac.bbsrc.tgac.miso.core.data.impl.AssayTest) SampleClassImpl(uk.ac.bbsrc.tgac.miso.core.data.impl.SampleClassImpl) LibraryQualificationMethod(uk.ac.bbsrc.tgac.miso.core.data.impl.AssayTest.LibraryQualificationMethod) TissueTypeImpl(uk.ac.bbsrc.tgac.miso.core.data.impl.TissueTypeImpl)

Aggregations

LibraryDesignCode (uk.ac.bbsrc.tgac.miso.core.data.LibraryDesignCode)1 AssayTest (uk.ac.bbsrc.tgac.miso.core.data.impl.AssayTest)1 LibraryQualificationMethod (uk.ac.bbsrc.tgac.miso.core.data.impl.AssayTest.LibraryQualificationMethod)1 SampleClassImpl (uk.ac.bbsrc.tgac.miso.core.data.impl.SampleClassImpl)1 TissueTypeImpl (uk.ac.bbsrc.tgac.miso.core.data.impl.TissueTypeImpl)1