What do you think about adding one type, say AnnotationWithId, which has the ID you want for feature structures, and then changing the supertype of all the Annotation subtypes you want to have this extra field, from ...Annotation to AnnotationWithId?
-Marshall On 5/5/2013 2:19 PM, Georg Fette wrote: > Hello, > Is there a way to give annotations (all structures derived from > uima.tcas.Annotation) an ID member ? I tried to add a feature ID to the type > Annotation but it is feature final. I could add such a feature to all > subclasses of Annotation although that would result in a lot of different ID > features for all direct subclasses of Annotation therfore being an ugly > solution. Has somebody a nice solution for that ? > Greetings > Georg >
