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