/** * @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 Vehicle(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public Vehicle(JCas jcas) { super(jcas); readObject(); }
return Optional.of(new Url(jCas)); case "Vehicle": return Optional.of(new Vehicle(jCas)); case "Weapon": return Optional.of(new Weapon(jCas));
@Override public void validate(Vehicle t) { super.validate(t); assertEquals(vehicleType, t.getSubType()); } }
/** * Internal - constructor used by generator * * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Vehicle(int addr, TOP_Type type) { super(addr, type); readObject(); }
return Optional.of(new Url(jCas)); case "Vehicle": return Optional.of(new Vehicle(jCas)); case "Weapon": return Optional.of(new Weapon(jCas));
/** * @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 Vehicle(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
/** * @generated * @param jcas JCas to which this Feature Structure belongs */ public Vehicle(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 Vehicle(int addr, TOP_Type type) { super(addr, type); readObject(); }