/** @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 MedicationStrengthModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
MedicationStrengthModifier modifier = new MedicationStrengthModifier(jCas, spanStart, spanEnd); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
MedicationStrengthModifier modifier = new MedicationStrengthModifier(jcas); String str = fromAnnotation.getStrength().trim(); int i = str.lastIndexOf(' '); strength.setNumber(str); strength.setUnit(fromAnnotation.getStrengthUnit()); modifier.setNormalizedForm(strength); modifier.setCategory(str + fromAnnotation.getStrengthUnit());
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public MedicationStrengthModifier(JCas jcas) { super(jcas); readObject(); }
MedicationStrengthModifier modifier = new MedicationStrengthModifier(jCas, coveringSpan.begin, coveringSpan.end); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
MedicationStrengthModifier modifier = new MedicationStrengthModifier(jcas); String str = fromAnnotation.getStrength().trim(); int i = str.lastIndexOf(' '); strength.setNumber(str); strength.setUnit(fromAnnotation.getStrengthUnit()); modifier.setNormalizedForm(strength); modifier.setCategory(str + fromAnnotation.getStrengthUnit());
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public MedicationStrengthModifier(JCas jcas) { super(jcas); readObject(); }
/** @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 MedicationStrengthModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
MedicationStrengthModifier modifier = new MedicationStrengthModifier(jCas, spanStart, spanEnd); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
MedicationStrengthModifier medStrengthModifier = new MedicationStrengthModifier(jcas); medStrengthModifier.setNormalizedForm(strength); medStrengthModifier.setCategory(strength.getNumber() + strength.getUnit()); medMention.setMedicationStrength(medStrengthModifier);
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public MedicationStrengthModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @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 MedicationStrengthModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
MedicationStrengthModifier modifier = new MedicationStrengthModifier(jCas, coveringSpan.begin, coveringSpan.end); modifier.setNormalizedForm(attribute); modifier.addToIndexes(); idAnnotationMap.put(annotation.id, modifier);
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public MedicationStrengthModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @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 MedicationStrengthModifier(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public MedicationStrengthModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public MedicationStrengthModifier(JCas jcas) { super(jcas); readObject(); }
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public MedicationStrengthModifier(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public MedicationStrengthModifier(JCas jcas) { super(jcas); readObject(); }