📄 选课系统.mdl
字号:
opExportControl "Public"
uid 0))
class_attributes (list class_attribute_list
(object ClassAttribute "name"
quid "42778B85000E"
documentation "姓名"
type "String"
exportControl "Public")
(object ClassAttribute "age"
quid "42778C660379"
documentation "年龄"
type "int"
initv "0"
exportControl "Public"))
module "Component View::People"
quidu "427796980097"
language "Java")
(object UseCase "Select Course"
quid "4277728703E0"
documentation
|选课事件流:
|1、学生进入选课登陆界面,用例开始
|2、系统提示输入学号和密码
|3、学生输入学号密码
|4、系统验证
| A1:验证失败
|5、进入选课主界面
|6、学生点击选课
|7、系统显示所有课程信息
|8、学生选择课程
|9、系统验证课程是否可选
| A2:不可选
|10、系统提示课程选择成功,提示学生交费
|11、用例结束
|
|错误流:
|A1:验证失败
|1、系统提示验证失败,提示重新输入
|2、三次失败,拒绝访问
|3、成功,转选课事件流第5步
|
|A2:课程不可选
|1、系统提示课程不可选及原因
|2、学生重新选课
|3、重新验证直至成功
|4、转选课事件流第10步
logical_models (list unit_reference_list
(object Mechanism @1
logical_models (list unit_reference_list
(object Object "stu"
quid "427777830331"
collaborators (list link_list
(object Link
quid "4277788D03B5"
supplier "form"
quidu "427777980182"
messages (list Messages
(object Message "SelectCommand()"
quid "4277788D03B6"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "1"
ordinal 0
Operation "SelectCommand( )"
quidu "42778FDD00A3"
creation FALSE)
(object Message "GetCourseID()"
quid "427779B20009"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "2"
ordinal 7
Operation "GetCourseID( )"
quidu "42778FC202F3"
creation FALSE)
(object Message "GetStudentID()"
quid "42777B64034D"
frequency "Aperiodic"
synchronization "Simple"
dir "ToClientFromSupplier"
sequence "6"
ordinal 13
Operation "GetStudentID( )"
quidu "42778CE503A3"
creation FALSE))))
class "Use Case View::Student"
quidu "427772670290"
persistence "Transient"
creationObj FALSE
multi FALSE)
(object Object "form"
quid "427777980182"
collaborators (list link_list
(object Link
quid "427778C3031D"
supplier "control"
quidu "427778090315"
messages (list Messages
(object Message "GetAllCourse()"
quid "427778C3031E"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "1.1"
ordinal 1
Operation "GetAllCourse( )"
quidu "42778E7901E2"
creation FALSE)
(object Message "QueryAssociation(int,int)"
quid "427779CD0261"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "3"
ordinal 8
Operation "QueryAssociation( )"
quidu "42778E8000F1"
creation FALSE)
(object Message "ShowSuccessInfo(String)"
quid "42777B40037D"
frequency "Aperiodic"
synchronization "Simple"
dir "ToClientFromSupplier"
sequence "5"
ordinal 12
Operation "ShowSuccessInfo( )"
quidu "42778FB603D2"
creation FALSE)))
(object Link
quid "42777972027E"
supplier "courses"
quidu "427777FC0399"
messages (list Messages
(object Message "GetCourseInfo()"
quid "42777972027F"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "1.2"
ordinal 4
Operation "GetCourseInfo( )"
quidu "42779B4001E5"
creation FALSE)
(object Message "DestroyCourse( )"
quid "4277799B0056"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "1.4"
ordinal 6
quidu "42779BC80154"
creation FALSE)))
(object Link
quid "427779840162"
supplier "form"
quidu "427777980182"
messages (list Messages
(object Message "DisplayCourseList()"
quid "427779840163"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "1.3"
ordinal 5
Operation "DisplayCourseList( )"
quidu "42778FFC0057"
creation FALSE))))
class "Logical View::FormView"
quidu "427777B80305"
persistence "Transient"
creationObj FALSE
multi FALSE)
(object Object "courses"
quid "427777FC0399"
class "Logical View::Course"
quidu "42777839031E"
persistence "Persistent"
creationObj FALSE
multi FALSE)
(object Object "control"
quid "427778090315"
collaborators (list link_list
(object Link
quid "427778DD037E"
supplier "db"
quidu "42777813000D"
messages (list Messages
(object Message "QueryCourse()"
quid "427778DD037F"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "1.1.1"
ordinal 2
Operation "QueryCourse( )"
quidu "42778DB60033"
creation FALSE)
(object Message "QueryAssociation(int,int)"
quid "427779E303D5"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "3.1"
ordinal 9
Operation "QueryAssociation( )"
quidu "42778DDA026F"
creation FALSE)
(object Message "AddAssociation(int,int)"
quid "42777B2C03C4"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "4"
ordinal 11
Operation "AddAssociation( )"
quidu "42778DE901E5"
creation FALSE)))
(object Link
quid "4277794303D5"
supplier "courses"
quidu "427777FC0399"
messages (list Messages
(object Message "Create(String,int,String,String)"
quid "4277794303D6"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "1.1.2"
ordinal 3
Operation "Create( )"
quidu "42778F0B03C2"
creation FALSE)))
(object Link
quid "427779F502A5"
supplier "control"
quidu "427778090315"
messages (list Messages
(object Message "CanSelect()"
quid "427779F502A6"
frequency "Aperiodic"
synchronization "Simple"
dir "FromClientToSupplier"
sequence "3.2"
ordinal 10
Operation "CanSelect( )"
quidu "42778E8B0332"
creation FALSE))))
class "Logical View::ControlObject"
quidu "427778480244"
persistence "Transient"
creationObj FALSE
multi FALSE)
(object Object "db"
quid "42777813000D"
class "Use Case View::Database"
quidu "427772F00215"
persistence "Transient"
creationObj FALSE
multi FALSE))))
logical_presentations (list unit_reference_list
(object InteractionDiagram "Select Course"
mechanism_ref @1
quid "4277776D01A9"
title "Select Course"
zoom 100
max_height 28350
max_width 21600
origin_x 0
origin_y 0
items (list diagram_item_list
(object InterObjView "stu" @2
location (231, 237)
font (object Font
size 12
face "Arial"
bold FALSE
italics FALSE
underline TRUE
strike FALSE
color 0
default_color TRUE)
label (object ItemLabel
Parent_View @2
location (231, 265)
anchor_loc 1
nlines 2
max_width 360
justify 0
label "stu")
icon "Actor"
icon_style "Icon"
line_color 3342489
fill_color 13434879
quidu "427777830331"
width 120
height 1713
icon_height 162
icon_width 120
icon_y_offset 0
annotation 1
Focus_Of_Control (object Focus_Of_Control "" @3
location (231, 378)
line_color 3342489
InterObjView @2
height 758
y_coord 668
Nested FALSE)
Focus_Of_Control (object Focus_Of_Control "" @4
location (231, 1740)
line_color 3342489
InterObjView @2
height 60
y_coord -30
Nested FALSE))
(object InterObjView "form" @5
location (646, 225)
font (object Font
size 12
face "Arial"
bold FALSE
italics FALSE
underline TRUE
strike FALSE
color 0
default_color TRUE)
label (object ItemLabel
Parent_View @5
location (646, 225)
fill_color 13434879
anchor_loc 1
nlines 2
max_width 282
justify 0
label "form")
icon_style "Icon"
line_color 3342489
fill_color 13434879
quidu "427777980182"
width 300
height 1725
icon_height 153
icon_width 229
icon_y_offset 0
annotation 1
Focus_Of_Control (object Focus_Of_Control "" @6
location (646, 378)
line_color 3342489
InterObjView @5
height 676
y_coord 586
Nested FALSE)
Focus_Of_Control (object Focus_Of_Control "" @7
location (646, 807)
line_color 3342489
InterObjView @5
height 60
y_coord -30
Nested TRUE)
Focus_Of_Control (object Focus_Of_Control "" @8
location (646, 1017)
line_color 3342489
InterObjView @5
height 60
y_coord -30
Nested TRUE)
Focus_Of_Control (object Focus_Of_Control "" @9
location (646, 1084)
line_color 3342489
InterObjView @5
height 362
y_coord 272
Nested FALSE)
Focus_Of_Control (object Focus_Of_Control "" @10
location (646, 1581)
line_color 3342489
InterObjView @5
height 60
y_coord -30
Nested FALSE)
Focus_Of_Control (object Focus_Of_Control "" @11
location (646, 1740)
line_color 3342489
InterObjView @5
height 120
y_coord 30
Nested FALSE))
(object InterObjView "courses" @12
location (1156, 225)
font (object Font
size 12
face "Arial"
bold FALSE
italics FALSE
underline TRUE
strike FALSE
color 0
default_color TRUE)
label (object ItemLabel
Parent_View @12
location (1156, 225)
fill_color 13434879
anchor_loc 1
nlines 2
max_width 282
justify 0
label "courses")
icon_style "Icon"
line_color 3342489
fill_color 13434879
quidu "427777FC0399"
width 300
height 1725
icon_height 0
icon_width 0
icon_y_offset 0
annotation 1
Focus_Of_Control (object Focus_Of_Control "" @13
location (1156, 543)
line_color 3342489
InterObjView @12
height 60
y_coord -30
Nested FALSE)
Focus_Of_Control (object Focus_Of_Control "" @14
location (1156, 627)
line_color 3342489
InterObjView @12
height 60
y_coord -30
Nested FALSE)
Focus_Of_Control (object Focus_Of_Control "" @15
location (1156, 933)
line_color 3342489
InterObjView @12
height 60
y_coord -30
Nested FALSE))
(object InterObjView "control" @16
location (1750, 225)
font (object Font
size 12
face "Arial"
bold FALSE
italics FALSE
underline TRUE
strike FALSE
color 0
default_color TRUE)
label (object ItemLabel
Parent_View @16
location (1750, 225)
fill_color 13434879
anchor_loc 1
nlines 2
max_width 306
justify 0
label "control")
icon_style "Icon"
line_color 3342489
fill_color 13434879
quidu "427778090315"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -