If your additions are in the project where you're running JCasGen, it will
*merge* updates to the type structures with your additions, preserving them :-)
-Marshall
On 11/10/2010 3:44 PM, Frank Schilder wrote:
>
>>> The easiest work-around would be to put a string representation
>>> in the CAS. Just use the BigDecimal.toString() method to encode,
>>> and the BigDecimal(String) constructor to decode. I know it's
>>> ugly. If you hide this conversion behind some accessor methods
>>> for your money annotation, you can later change this implementation
>>> for something better.
>> If you use the JCas approach, you can put the "hiding" conversions into some
>> customized methods in the JCas cover type.
>>
>> -Marshall
> I think that should work. I just need to be careful when I jcasgen the type
> system.
>
> Thanks,
> Frank
>
>
>
>
>
>
>
|