| 
| ATL: Problems working with BigInteger [message #87989] | Mon, 11 August 2008 06:26  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: not.anyone.de 
 Hello!
 
 I want to assign a value to my output model, but as it seems to be of
 the type "Java.math.BigInteger", I always get error messages like this one:
 
 "Caused by: java.lang.ClassCastException: The value of type 'class
 java.lang.Integer' must be of type 'class java.math.BigInteger'"
 
 There is another thread with this subject, but I've opened up a new one
 anyway, because I think there might be a quicker response this way.
 
 Original is found here:
 http://dev.eclipse.org/newslists/news.eclipse.modeling.m2m/m sg02856.html
 
 With best regards,
 
 Manu
 |  |  |  | 
| 
| Re: ATL: Problems working with BigInteger [message #88009 is a reply to message #87989] | Mon, 11 August 2008 08:48  |  | 
| Eclipse User  |  |  |  |  | Hello, 
 As said in the discussion you mention, there is at this time no way to
 set those types in ATL.
 We are studying the possibility to provide a core extensibility for this
 issue, in order to easily allow users to define theyre own types adapters.
 
 For the moment, you can use the old way (quite hard but possible),
 referring to that use case :
 http://www.eclipse.org/m2m/atl/usecases/UML2AnyLogic/
 In it you will find a custom model handler which allows the use of
 specific data types.
 
 Best regards,
 
 William
 
 Manu a écrit :
 > Hello!
 >
 > I want to assign a value to my output model, but as it seems to be of
 > the type "Java.math.BigInteger", I always get error messages like this one:
 >
 > "Caused by: java.lang.ClassCastException: The value of type 'class
 > java.lang.Integer' must be of type 'class java.math.BigInteger'"
 >
 > There is another thread with this subject, but I've opened up a new one
 > anyway, because I think there might be a quicker response this way.
 >
 > Original is found here:
 >  http://dev.eclipse.org/newslists/news.eclipse.modeling.m2m/m sg02856.html
 >
 > With best regards,
 >
 > Manu
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04084 seconds