/** @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public Annotation(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
final EntityMention newEntityMention = (EntityMention) JCoReAnnotationTools .getAnnotationByClassName(aJCas, refEntityMention.getClass().getName()); newEntityMention.setBegin(fullform.getBegin()); newEntityMention.setEnd(fullform.getEnd()); newEntityMention.setSpecificType(refEntityMention.getSpecificType()); newEntityMention.setResourceEntryList(refEntityMention.getResourceEntryList());
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public Annotation(JCas jcas) { super(jcas); readObject(); }
Annotation annotation = (Annotation) constructor.newInstance(nxmlDocumentParser.cas); if (annotation instanceof de.julielab.jcore.types.Annotation) ((de.julielab.jcore.types.Annotation) annotation).setComponentId(PMCReader.class.getName()); return annotation; } catch (NoSuchMethodException | SecurityException | ClassNotFoundException | InstantiationException
+ "; EventMention: " + event); line += argument.getRole() + ":" + reference.getId(); if (i < arguments.size() - 1) line += " ";
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Annotation(int addr, TOP_Type type) { super(addr, type); readObject(); }