use of uk.ac.bbsrc.tgac.miso.core.data.SampleTissuePiece in project miso-lims by miso-lims.
the class V2SampleAliasGeneratorTest method makeLcmTube.
private SampleTissuePiece makeLcmTube() {
SampleTissuePiece lcmTube = new SampleTissuePieceImpl();
SampleTissue tissue = makeTissue();
tissue.setAlias("PROJ_0001_01");
lcmTube.setParent(tissue);
lcmTube.setSiblingNumber(2);
SampleClass sc = new SampleClassImpl();
sc.setSampleCategory(SampleTissueProcessing.CATEGORY_NAME);
lcmTube.setSampleClass(sc);
TissuePieceType pieceType = new TissuePieceType();
pieceType.setV2NamingCode("TL");
lcmTube.setTissuePieceType(pieceType);
return lcmTube;
}
Aggregations