Levis, the type Date is ambiguous, it can be java.util.Date or
java.sql.Date. In the operation spezification use the full qualified name,
e.g. java.util.Date, for the parameter and / or return type. Rose will
generate an import statement and uses the none full qualified name  of the
type in the parameter/return type definition.
Klaus

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Lewis Lin
Gesendet am: Dienstag, 20. M�rz 2001 18:05
An: Rose Forum (E-mail)
Betreff: (ROSE) Date cannot be resolved.


Hi,
  I am trying to generate Java code from my class design. I use a Date as
one of my attributes. Even though in the detail of my attribute, I have seen
that it has a type Logical View::java::sql::Date. But when I generate java
code, i got the following warning.

11:42:23|  WARNING: Class Logical
View::com::fairfin::pms::entity::util::PersonTaxInfo - the return type of
operation getDateOfBirth cannot be resolved - no import will be generated
11:42:23|  WARNING: Class Logical
View::com::fairfin::pms::entity::util::PersonTaxInfo - operation
setDateOfBirth - the type of parameter aDateOfBirth cannot be resolved - no
import will be generated

The system doesn't generate the imports for me like other associate classes.
And this seems to affect the Date Model generation too. My Date is not being
mapped to timestamps or date as sql type.

Thanks a lot,
Lewis Lin
Fairway Financial Consulting

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to