on 10-25-2007 2:48 PM
I have a question about Web Dynpro EJB models and the mapping of Enum types to model classes.
I've seen that when you import a model that has Enum types,for example as method argument of a session bean, it generates a corresponding model class with the name of the Enum type and one property named declaringClass . I dont understand how I can assign an Enum instance value to this class.
Thanks in advance.
Hi Sergi,
Currently enums are not supported by EJB CMI Model. It is planned to have this functionality in the next SAP NetWeaver CE release.
As a short term solution, use properties of type String or Integer instead of enumeration.
Best regards,
Vesselin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.