On 21.11.2016, at 23:12, Marshall Schor <[email protected]> wrote:
> 
> there's plenty of denseness to go around :-)  I think this ought to work in v2
> as well?  Can you say a scenario where it wouldn't?

In V2, one would at least have to manually implement the typeIndexID+friends in 
the subclass, right:

  /** @generated
   * @ordered 
   */
  @SuppressWarnings ("hiding")
  public final static int typeIndexID = 
JCasRegistry.register(NamedEntity.class);
  /** @generated
   * @ordered 
   */
  @SuppressWarnings ("hiding")
  public final static int type = typeIndexID;
  /** @generated
   * @return index of the type  
   */
  @Override
  public              int getTypeIndexID() {return typeIndexID;}


Cheers,

-- Richard 

Reply via email to