Hello,
I have a type system in which I have created a type which inherits from
DocumentAnnotation. As DocumentAnnotation is not inheritanceFinal I
thought that this is allowed. I have now a CAS in which I have several
annotations of that derived type. In the method copyFSInner of CasCopier
the proper target feature structure to copy instances of my type the
first DocumentAnnotation in the index of documentAnnotation of the
target CAS. Is DocumentAnnotation to be thought a singelton in a CAS ?
Why isn't it prevented in the framework to derive from it or to create
further instances of that type and add it to the CAS ?
If this is done the CasCopier can not be properly used.
Greetings
Georg
--
---------------------------------------------------------------------
Dipl.-Inf. Georg Fette Raum: B009
Universität Würzburg Tel.: +49-(0)931-31-85516
Am Hubland Fax.: +49-(0)931-31-86732
97074 Würzburg mail: [email protected]
---------------------------------------------------------------------