/** @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 CellTypeProteinConcentration(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
CellTypeProteinConcentration ctpc = new CellTypeProteinConcentration( jCas); ctpc.setCelltype(cts.get(0)); ctpc.setConcentration(concs.get(0)); ctpc.setProtein(prots.get(0)); ctpc.addToIndexes();
return "CellTypeProteinConcentration[" + string(c.getProtein()) + " - " + string(c.getConcentration()) + " - " + string(c.getCelltype().getCoveredText()) + "]";
public FeatureStructure createFS(int addr, CASImpl cas) { if (CellTypeProteinConcentration_Type.this.useExistingInstance) { // Return eq fs instance if already created FeatureStructure fs = CellTypeProteinConcentration_Type.this.jcas.getJfsFromCaddr(addr); if (null == fs) { fs = new CellTypeProteinConcentration(addr, CellTypeProteinConcentration_Type.this); CellTypeProteinConcentration_Type.this.jcas.putJfsFromCaddr(addr, fs); return fs; } return fs; } else return new CellTypeProteinConcentration(addr, CellTypeProteinConcentration_Type.this); } };
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public CellTypeProteinConcentration(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 CellTypeProteinConcentration(int addr, TOP_Type type) { super(addr, type); readObject(); }