Post subject: UML diagrams 4 student timetable and course schedule
Hi everybody,
I am posting it here as I am doing it with java.
I am working on creating a timetabling application for a university. Given the course, module, tutor, students, groups, rooms etc. the application should check for some clashes (like no tutors can have lessons at the same time or no room should be allocated with more than one lesson at the same time etc). Below is the use case diagram (its not pictoral but the list that can go to the use-case figure and please add if I'm missing anything).
Actors:
A. Staff
B. Students
C. Timetable generator (I found this on the net and not sure whether this is an actor or not)
This is what I can think at the moment. So, if this is a use-case diagram, can anyone help me on creating the 'class diagram' (So far I understand class diagrams are created from the use case diagram).
Thank you in advance.
P.S. You may need this information as well. I created the following tables in my database(MySQL) but I may be wrong and may need more tables
1. Courses (e.g. BSc Comp. Sci)
2. Groups (e.g. 2A) ---meaning 2nd yr group A
3. Modules (e.g. Prog. in Java)
4. Tutors
5. Rooms _________________ Keep your own dignity, both online and offline throughout your life !!!
Sat May 22, 04 5:28 am
quantum Site Admin
Joined: 07 Mar 2004 Posts: 1048
Location: Dhaka, Bangladesh
Post subject:
Mastermind,
I cannot be of very specific help to you, as you understand that such things need very detailed thoughts and some time to sit down and design the structure. And I never done specifically anything for TimeTable architecture. But here is a web site with design diagrams that solves a somwhat similar problem as yours, which is a college registration system. The designs do the following:
Quote:
The existing legacy Course Catalog System at Wylie College must be accessed to retrieve all course information for the current semester. The C-Registration System must support the data formats and DBMS of the legacy Course Catalog System [2].
The existing legacy Billing System at Wylie College must be interfaced with to support billing of students. This interface is defined in the Course Billing Interface Specification [1].
All student, professor, and Registrar functionality must be available from both local campus PCs and remote PCs with internet dial up connections.
The C-Registration System must ensure complete protection of data from unauthorized access. All remote accesses are subject to user identification and password control.
The C-Registration System will be implemented as a client-server system. The client portion resides on PCs and the server portion must operate on the Wylie College UNIX Server. [3]
All performance and loading requirements, as stipulated in the Vision Document [3] and the Supplementary Specification [15], must be taken into consideration as the architecture is being developed.
I hope this helps. But the diagram pictures on the site do not show up due to bad linking. But the pictures are there. In the server. To retrieve the pictures from their database you have to do little hacking.
Right click on a picture that shows a box, but not the picture, indicating the pictures are unavailable. Choose properties. Copy the file name. Open another browser window. Add the file name at the end of this URL, after the slash:
Joined: 08 Mar 2004 Posts: 84
Location: Dhaka, Bangladesh
Post subject:
hi mastermind, i've read all ur posts. and i think i've understood ur project senerio. so, i've seen the link that quantum mentioned, i think it's should help u and give u the idea how u should u proceed.
little things that i like to add:
*** use cases should b related. i don't know, if u r listing all those use cases for staff. where i think those could b divided into different subsystem and then the usecases should b brought together that r related or required for that subsystem. (like timetable creating system usecase may contain 1,11(check the time and room is freee), 6, 12(inform teacher and students/publish on net .....depends on ur system), 13 (logout); timetable modifying system may contain 1, 5(view records), 7(edit/delete timetable), 12, 13 etc.
i think u've understood my point. i would do in this way. i never found that usecases helped me drawing class diagram.
for class diagram: (i think, if the follwoing things r clear to u, then just draw it by urself. once u've done this u will realize there wasn't anything so tough)
*** couses------u should ask urself if courses have relationship with groups, modules, teacher and other classes that ur system might have.
*** say, yes it has, then what is the type of it.........: one group contains many courses? a course contains several modules? a course contain several tutors? courses may b completed in many class room? etc.
*** u know the symbol of classes, relationships (associations, aggregations, generalizations etc). firstly simple draw associations betn all classes (except for those who don't have any relation). give ur associations a name (generally a verb that makes a sentence betn two classes), a direction symbol (depeds on ur verb), relationship desc (e.g one course contains many modules, at least two, then, to the course side write nothing and to the module side write 2..*)
*** i think, staff should b a class and then it can b generalized as tutor, administrator, etc (fully depends on ur system)
*** to me rooms isn't a strong class, unless it is strongly related to other classes.
mastermind, as it's time taking matter to draw one in ms-word, i hope u will do it by ur own. and if u need further repairment to ur class diagram then u can send it to me and i think, i can add or implement my idea on that.
n.b. to my opinion, stuff should b emphasized both in use case diagram and class diagram and there generalization should b drawn.
secondly, my little experience taught me, there is no perfect class diagram, there r always things to add or remove. so, my suggesstion is only to implement ur main system.......don't think more, don't try to implement much _________________ we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
Thanks quantum, I'm gonna look at that site now. I'm quite interested about that hack stuff. I didn't know that
Belal wrote:
use cases should b related. i don't know, if u r listing all those use cases for staff. where i think those could b divided into different subsystem and then the usecases should b brought together that r related or required for that subsystem. (like timetable creating system usecase may contain 1,11(check the time and room is freee), 6, 12(inform teacher and students/publish on net .....depends on ur system), 13 (logout); timetable modifying system may contain 1, 5(view records), 7(edit/delete timetable), 12, 13 etc.
Thanks Belal. That's exactly what my confusion is about. So, if I understand I will have uses cases like timetable creating/ modifying system and then expand those use cases in my diagram. Therefore, in my class diagram will I have classes like timetable creating/modifying ? And what about the database part ? Is it ok as it is ?
Thanks again mates for your attention. .
P.S. Belal, please see the my post in the PF. _________________ Keep your own dignity, both online and offline throughout your life !!!
I tried the links on the left (SDP->Architecture...) but could'nt find the information I'm looking for.
Any ideas? _________________ Keep your own dignity, both online and offline throughout your life !!!
Mon May 24, 04 4:18 am
Belal User
Joined: 08 Mar 2004 Posts: 84
Location: Dhaka, Bangladesh
Post subject:
mastermind, classes diagrams r not like use cases. generally a system has one class diagrams. in ur class diagrams u need to think the whole system at a time...not part by part as we do in use cases.
u should gather all classes of ur system, draw the on a paper and at last just make association or generalization (max time these two types of relationship is seen in a system)..........that's all u need to do.
i also experienced the problem that u told and tried it again. i think u should give more concentration to the address bar. when u paste the following link:
[http://atlas-connect-forum.web.cern.ch/atlas-] connect-forum/SDP/architecture_example_1.htm
it adds %20 or %10 in the middle of ur address if i write it, it may alter ur add as:
[http://atlas-connect-forum.web.cern.ch/atlas-] %20connect-forum/SDP/architecture_example_1.htm
u should just remove those words frm ur address and press enter to open the page, hope it must help u. if it doesn't, inform. hope, quantum will help u....as i m not expert in web.
ur database seems ok. in fact, in database fields in a table and relationship among different tables via diff fields is important. data duplacacy, security etc. r main concern........hope u r concerned abt all these things. no new idea on it at this time. _________________ we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
Thanks Belal. I followed your instruction about the link and it worked like a charm
I'm gonna dig into it now... _________________ Keep your own dignity, both online and offline throughout your life !!!
Mon May 24, 04 6:37 am
Belal User
Joined: 08 Mar 2004 Posts: 84
Location: Dhaka, Bangladesh
Post subject:
good to hear it. best of luck. if u need any tools that can assist u to dig the canel let me know. though i can't promise, but i may try to supply those tools. _________________ we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
I've found a website which I think can provide some useful information about my problem. The link for that website is http://www.ntu.edu.sg/home99/s7722645a/
If you go to that site you'll find a link in the middle of the page named "Project Report" but if I click the link it says
Quote:
The Web site cannot be found
Is there any way to get to that report ? _________________ Keep your own dignity, both online and offline throughout your life !!!
Thu May 27, 04 6:06 am
quantum Site Admin
Joined: 07 Mar 2004 Posts: 1048
Location: Dhaka, Bangladesh
Post subject:
Mastermind,
I am sorry to say that, most probably the page has been removed. That main page was created some time around year 2000. Now the subdomain the link is referring to is even missing. There is no myhome.asia1.com
But you are getting all the documents here anyway:
Software System Specification
Program Flowchart
Prototype Model
DFD
objectives.htm
database.htm
notation.htm
Case Diagram
Class Diagram
New Case Diagram
Lvl 3 DFD
Lvl 1 DFD
Context
ERD
DSD
Context1
Context 2
Lvl 1a DFD
If you would like to give this particular Timetable Generator Project report more effort to find, I can show you some guideline to how to find missing pages from a web server. But there is really no way to find a web page or document, if it is permanently removed and is not existent on the server. Check out the web solution forum for a few tips.