Hi
No, like in java language, in a source file you can put more than one class 
but only one pubblic class (other classes must be private, ecc.)

At 03:32 PM 6/13/2001 +0200, you wrote:

>I have a question concerning roundtrip engineering in a situation where
>more Java classes reside in one source file.
>Say I have class Customer and Company in one file named Customer.java. I
>generate a Rose model from this file and I see (correctly I assume) that
>both Customer and Company are assigned to the same Component Customer.
>Now I generate code from one class and two things happen:
>1. I get an error telling me that name of class and compilation unit must
>match.
>2. Rose renames Customer.java to Company.java.
>
>Does this imply that it is mandatory for Rose to have each java class in a
>separate source file?
>
>************************************************************************
>* 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