That's few mapping I've done to map different length/precision from a NUMBER to 
different language type. At the moment schema2xmi only takes in consideration 
the <from>NUMBER</from>. Is it the correct way to map these?





<mapping>

&nbsp; &nbsp; &nbsp; <from>NUMBER&#40;2,0&#41;</from>

&nbsp; &nbsp; &nbsp; <to>datatype&#58;&#58;int</to>

</mapping>

<mapping>

&nbsp; &nbsp; &nbsp; <from>NUMBER&#40;12,0&#41;</from>

&nbsp; &nbsp; &nbsp; <to>datatype&#58;&#58;long</to>

</mapping>

<mapping>

&nbsp; &nbsp; &nbsp; <from>NUMBER</from>

&nbsp; &nbsp; &nbsp; <to>datatype&#58;&#58;double</to>

</mapping>

<mapping>

&nbsp; &nbsp; &nbsp; <from>NUMBER&#40;6,2&#41;</from>

&nbsp; &nbsp; &nbsp; <to>datatype&#58;&#58;double</to>

</mapping>


_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=703#703
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to