Hi Steve, Well the generator simply builds a list of properties and types your class uses. It expects that all referenced classes are also generated. If you don't need the currency classes, one solution would be to ignore those properties by adding the keyword "transient" to them (not the Annotation). Another way would be to create a custom Currency class and the corresponding Serialization component in BlazeDS (if you are using BlazeDS).
I have an example of how to create such a component in my wiki ... it handles Enum support, but I think it should help you get the idea. http://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+generated+AS3+model+with+Enum+support+using+BlazeDS Chris 2011/4/27 Steve.B <[email protected]>: > All; > Quick question. I am testing using GAS3 w/ our flex project and I > notice it can't convert Java.util.currency classes. the AS3 Generated > code has a direct reference to Java.util.currency in the imports list > (on the flex side!) This doesn't seem right, any way to correct this? > > -- > You received this message because you are subscribed to the Google > Groups "Flex Mojos" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
