On 8/23/07, Marshall Schor <[EMAIL PROTECTED]> wrote: > Adam Lally wrote: > > On 8/23/07, Jörn Kottmann <[EMAIL PROTECTED]> wrote: > > > >> Hello, > >> > >> is it possible to define subtypes of lists and array types in uima ? > >> > >> > > > > You cannot create subtypes of arrays, but I believe you can create > > subtypes of lists. > > > hmmm, I think not. See setupTSDefault method in CASImpl class. At the > bottom is the list of > "built-in" features - and it locks all except the Document Annotation, I > think. >
The list types are set to be "feature final" but not "inheritance final". So I think it is possible to declare subtypes of them. You just aren't allowed to modify the list type definition itself and add more features to it. -Adam
