Search in sources :

Example 1 with SampleAliquotRna

use of uk.ac.bbsrc.tgac.miso.core.data.SampleAliquotRna in project miso-lims by miso-lims.

the class AbstractBulkSampleIT method assertAllForRnaAliquot.

protected void assertAllForRnaAliquot(Map<String, String> aliquot, Long sampleId, boolean newlyCreated) {
    SampleAliquotRna target = (SampleAliquotRna) getSession().get(SampleAliquotRnaImpl.class, sampleId);
    assertNotNull(target);
    assertPlainSampleAttributes(aliquot, target, newlyCreated);
    assertDetailedSampleAttributes(aliquot, target);
    assertAnalyteAttributes(aliquot, target);
    assertAliquotAttributes(aliquot, target);
    if (newlyCreated) {
        SampleStockRna stockParent = LimsUtils.getParent(SampleStockRna.class, target);
        assertStockAttributes(aliquot, stockParent);
        assertRnaStockSampleAttributes(aliquot, stockParent);
        SampleTissue tissueParent = LimsUtils.getParent(SampleTissue.class, target);
        assertTissueAttributes(aliquot, tissueParent);
    }
}
Also used : SampleTissue(uk.ac.bbsrc.tgac.miso.core.data.SampleTissue) SampleAliquotRnaImpl(uk.ac.bbsrc.tgac.miso.core.data.impl.SampleAliquotRnaImpl) SampleStockRna(uk.ac.bbsrc.tgac.miso.core.data.SampleStockRna) SampleAliquotRna(uk.ac.bbsrc.tgac.miso.core.data.SampleAliquotRna)

Aggregations

SampleAliquotRna (uk.ac.bbsrc.tgac.miso.core.data.SampleAliquotRna)1 SampleStockRna (uk.ac.bbsrc.tgac.miso.core.data.SampleStockRna)1 SampleTissue (uk.ac.bbsrc.tgac.miso.core.data.SampleTissue)1 SampleAliquotRnaImpl (uk.ac.bbsrc.tgac.miso.core.data.impl.SampleAliquotRnaImpl)1