Hi,

I'm new to Rose and UML. I've defined the use cases and I've just started
the sequence diagrams.

Class1 has a relationship with other instances of the class1 i.e.
instance1:classtype is related to instance2:class1 where 21 of instance1 is
equivalent to 1 of instance 2. (Does that make sense?)

I want the front end or form to create a new instance of class1 and then
relate that instance to other instances of class1.

I've got a form, list class1 and class1 objects in my sequence diagram. I've
attempted to describe the sequence diagram below. I've listed my questions
below this description.

(i)   The system gets the names of existing class1 objects and displays them
in the form. I have an arrow from the Form to the List Class1 object called
get list of class1 object names i.e. the list class 1 names is an operation
held in the List Class1 object.
(ii) The user selects the class1 objects that are related to this new
object. I have an arrow from the user to the form called select class1. I
then have an arrow from the Form going in on itself called highlight
selected class1.
(iii)  The user enters a name for the new instance of class1. I have an
arrow from the user to the form called enter name.
(iv) The system checks if this name allready exists. I have an arrow from
Form to List Class1 called check for duplicates i.e. this operation lies
with the List Class 1 object.
(v) The system creates a new instance of class1. I have an arrow from the
List Class1 object to the Class1 obejct called createClass1() i.e. the
operation is in the Class1 object.
(vi) The system asks the user to enter the relationship of this new class
with the existing classes selected in (ii). The relationship must be in the
form of an interger number.

This is where I'm stuck, should i create a tempory list that stores the
class1 that were selected in (ii). If I do, then where should this create
operation reside in? Should it reside in a new instance of List Class1 which
calls the add operation to add the selected class1 instances?

If I do this, then should I have an seperate check integer operation held in
the class1 object or in the form or in another class that is called the
relationship class i.e. the relationship between the instances of the
class1's?

I hope u can help

Thanks

Manzoor





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* 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