public Annotation createAnnotation(String annotationText, CvTopic cvTopic) { Annotation annotation = new Annotation(institution, cvTopic); annotation.setAnnotationText(annotationText); return annotation; }
public Annotation createAnnotation(String annotationText, CvTopic cvTopic) { Annotation annotation = new Annotation(institution, cvTopic); annotation.setAnnotationText(annotationText); return annotation; }
public Annotation createAnnotation(String annotationText, CvTopic cvTopic) { Annotation annotation = new Annotation(institution, cvTopic); annotation.setAnnotationText(annotationText); return annotation; }
annot.setAnnotationText(clonedAnnotation.getAnnotationText()); found = true;
annot.setAnnotationText(clonedAnnotation.getAnnotationText()); found = true;
protected Annotation cloneAnnotation(Annotation annotation) throws IntactClonerException { if (annotation == null) return null; Annotation clone = new Annotation(); clonerManager.addClone(annotation, clone); clone.setCvTopic(clone(annotation.getCvTopic())); clone.setAnnotationText(annotation.getAnnotationText()); return clone; }
protected Annotation cloneAnnotation(Annotation annotation) throws IntactClonerException { if (annotation == null) return null; Annotation clone = new Annotation(); clonerManager.addClone(annotation, clone); clone.setCvTopic(clone(annotation.getCvTopic())); clone.setAnnotationText(annotation.getAnnotationText()); return clone; }
ann.setAnnotationText(newUsedInClass.toString()); if (updateEvt != null){ updateEvt.getUpdatedAnnotations().add(ann);
} else{ annot.setAnnotationText( annotation.getAnnotationText() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().update( annot ); containsAnnotation = true;
annotation.setAnnotationText( text ); newAnnotation.setAnnotationText( text ); Annotation annotation = (Annotation) iterator.next(); String oldText = annotation.getAnnotationText(); annotation.setAnnotationText( text );
annotation.setAnnotationText( annotationTag.getText() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation ); annotation.setAnnotationText( confidence.getValue() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
annotation.setAnnotationText( annotationTag.getText() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation ); annotation.setAnnotationText( confidence.getValue() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
annotation.setAnnotationText( annotationTag.getText() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation ); annotation.setAnnotationText( confidence.getValue() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
currentIntact.setAnnotationText(ontologyTerm.getDefinition()); currentIntact.setAnnotationText(null); currentIntact.setAnnotationText(ontologyTerm.getDefinition()); currentIntact.setAnnotationText(comments.iterator().next()); currentIntact.setAnnotationText(ontologyTerm.getDefinition()); || (ontologyTerm.getDefinition() == null && currentIntact.getAnnotationText() != null) || (ontologyTerm.getDefinition() != null && currentIntact.getAnnotationText() == null)){ currentIntact.setAnnotationText(ontologyTerm.getDefinition()); currentIntact.setAnnotationText(null); currentIntact.setAnnotationText(ontologyTerm.getDefinition()); currentIntact.setAnnotationText(comments.iterator().next()); if (updateEvt != null){ updateEvt.getUpdatedAnnotations().add(currentIntact); currentIntact.setAnnotationText(ontologyTerm.getDefinition());
if ( eaf.getAuthorEmail() != null && eaf.getAuthorEmail().length() != 0 && !eaf.getAuthorEmail().equals(currentAuthorEmail)) { Annotation annotation = new Annotation( IntactContext.getCurrentInstance().getInstitution(), email ); annotation.setAnnotationText( eaf.getAuthorEmail() ); if ( ! experiment.getAnnotations().contains( annotation ) ) {
annotation.setAnnotationText( annotationTag.getText() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
annotation.setAnnotationText( annotationTag.getText() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
annotation.setAnnotationText( annotationTag.getText() ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );