@Override public History getHistory() { return getAnnotation().getHistory(); }
if (isSetHistory()) { if (childIndex == pos) { return getHistory();
/** * Creates a new Annotation instance by cloning the given Annotation. * * @param annotation the annotation to be cloned. */ public Annotation(Annotation annotation) { super(annotation); if (annotation.nonRDFannotation != null) { nonRDFannotation = annotation.nonRDFannotation.clone(); } for (CVTerm term : annotation.getListOfCVTerms()) { getListOfCVTerms().add(term.clone()); } if (annotation.isSetHistory()) { setHistory(annotation.getHistory().clone()); } }