/** @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 MeshHeading(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
if (meshes != null && meshes.getMeshHeading() != null) { for (MeshHeadingType mesh : meshes.getMeshHeading()) { MeshHeading m = new MeshHeading(jcas); m.setDescriptorName(mesh.getDescriptorName().toString()); QualifierNameType[] qualifierName = mesh.getQualifierName(); if (qualifierName != null) { if (q.getMajorTopicYN().getValue().toString() .equals("Y")) { m.setQualifierName(q.toString()); m.addToIndexes();
public FeatureStructure createFS(int addr, CASImpl cas) { if (MeshHeading_Type.this.useExistingInstance) { // Return eq fs instance if already created FeatureStructure fs = MeshHeading_Type.this.jcas.getJfsFromCaddr(addr); if (null == fs) { fs = new MeshHeading(addr, MeshHeading_Type.this); MeshHeading_Type.this.jcas.putJfsFromCaddr(addr, fs); return fs; } return fs; } else return new MeshHeading(addr, MeshHeading_Type.this); } };
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public MeshHeading(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 MeshHeading(int addr, TOP_Type type) { super(addr, type); readObject(); }