本文整理了Java中uk.ac.ebi.intact.model.Annotation.setAnnotationText()
方法的一些代码示例,展示了Annotation.setAnnotationText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Annotation.setAnnotationText()
方法的具体详情如下:
包路径:uk.ac.ebi.intact.model.Annotation
类名称:Annotation
方法名:setAnnotationText
暂无
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
public Annotation createAnnotation(String annotationText, CvTopic cvTopic) {
Annotation annotation = new Annotation(institution, cvTopic);
annotation.setAnnotationText(annotationText);
return annotation;
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
public Annotation createAnnotation(String annotationText, CvTopic cvTopic) {
Annotation annotation = new Annotation(institution, cvTopic);
annotation.setAnnotationText(annotationText);
return annotation;
}
代码示例来源:origin: uk.ac.ebi.intact/intact-core
public Annotation createAnnotation(String annotationText, CvTopic cvTopic) {
Annotation annotation = new Annotation(institution, cvTopic);
annotation.setAnnotationText(annotationText);
return annotation;
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
annot.setAnnotationText(clonedAnnotation.getAnnotationText());
found = true;
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
annot.setAnnotationText(clonedAnnotation.getAnnotationText());
found = true;
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
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;
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
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;
}
代码示例来源:origin: uk.ac.ebi.intact.dbupdate/intact-cv-update
ann.setAnnotationText(newUsedInClass.toString());
if (updateEvt != null){
updateEvt.getUpdatedAnnotations().add(ann);
代码示例来源:origin: uk.ac.ebi.intact.dataexchange/intact-cvutils
} else{
annot.setAnnotationText( annotation.getAnnotationText() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().update( annot );
containsAnnotation = true;
代码示例来源:origin: uk.ac.ebi.intact.bridges.coredep/intact-cdb
annotation.setAnnotationText( text );
newAnnotation.setAnnotationText( text );
Annotation annotation = (Annotation) iterator.next();
String oldText = annotation.getAnnotationText();
annotation.setAnnotationText( text );
代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion
annotation.setAnnotationText( annotationTag.getText() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
annotation.setAnnotationText( confidence.getValue() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion
annotation.setAnnotationText( annotationTag.getText() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
annotation.setAnnotationText( confidence.getValue() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion
annotation.setAnnotationText( annotationTag.getText() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
annotation.setAnnotationText( confidence.getValue() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
代码示例来源:origin: uk.ac.ebi.intact.dbupdate/intact-cv-update
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());
代码示例来源:origin: uk.ac.ebi.intact.bridges.coredep/intact-cdb
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 ) ) {
代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion
annotation.setAnnotationText( annotationTag.getText() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion
annotation.setAnnotationText( annotationTag.getText() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion
annotation.setAnnotationText( annotationTag.getText() );
IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getAnnotationDao().persist( annotation );
内容来源于网络,如有侵权,请联系作者删除!