sb.append( tissue.getPsiDefinition().getId() ); } else { sb.append( tissue.getShortlabel() );
sb.append( tissue.getPsiDefinition().getId() ); } else { sb.append( tissue.getShortlabel() );
sb.append( tissue.getPsiDefinition().getId() ); } else { sb.append( tissue.getShortlabel() );
if ( tissue.getShortlabel() != null ) { if ( tissue.getShortlabel().equalsIgnoreCase( bsTissue.getShortLabel() ) ) { answer = true;
if ( tissue.getShortlabel() != null ) { if ( tissue.getShortlabel().equalsIgnoreCase( bsTissue.getShortLabel() ) ) { answer = true;
if ( tissue.getShortlabel() != null ) { if ( tissue.getShortlabel().equalsIgnoreCase( bsTissue.getShortLabel() ) ) { answer = true;
label += "-" + tissue.getShortlabel(); bsTissue = cvObjectDao.getByShortLabel(tissue.getShortlabel()); bsTissue = new CvTissue( institution, tissue.getShortlabel() ); cvObjectDao.persist( bsTissue ); System.out.println( "Created new CvTissue( " + tissue.getShortlabel() + " )" ); System.out.println( "Found CvTissue( " + tissue.getShortlabel() + " )" );
label += "-" + tissue.getShortlabel(); bsTissue = cvObjectDao.getByShortLabel(tissue.getShortlabel()); bsTissue = new CvTissue( institution, tissue.getShortlabel() ); cvObjectDao.persist( bsTissue ); System.out.println( "Created new CvTissue( " + tissue.getShortlabel() + " )" ); System.out.println( "Found CvTissue( " + tissue.getShortlabel() + " )" );
label += "-" + tissue.getShortlabel(); bsTissue = cvObjectDao.getByShortLabel(tissue.getShortlabel()); bsTissue = new CvTissue( institution, tissue.getShortlabel() ); cvObjectDao.persist( bsTissue ); System.out.println( "Created new CvTissue( " + tissue.getShortlabel() + " )" ); System.out.println( "Found CvTissue( " + tissue.getShortlabel() + " )" );