umlexamples.mdl

来自「Rose初级教程」· MDL 代码 · 共 2,276 行 · 第 1/5 页

MDL
2,276
字号

(object Petal
    version    	42
    _written   	"Rose 4.7349.B"
    charSet    	0)

(object Design "Logical View"
    is_unit    	TRUE
    is_loaded  	TRUE
    quid       	"34B3D289019A"
    defaults   	(object defaults
	rightMargin 	0.250000
	leftMargin 	0.250000
	topMargin  	0.250000
	bottomMargin 	0.500000
	pageOverlap 	0.250000
	clipIconLabels 	TRUE
	autoResize 	TRUE
	snapToGrid 	TRUE
	gridX      	16
	gridY      	16
	defaultFont 	(object Font
	    size       	9
	    face       	"Arial"
	    bold       	FALSE
	    italics    	FALSE
	    underline  	FALSE
	    strike     	FALSE
	    color      	0
	    default_color 	TRUE)
	showMessageNum 	0
	showClassOfObject 	TRUE
	notation   	"Unified")
    root_usecase_package 	(object Class_Category "Use Case View"
	quid       	"34B3D289019C"
	exportControl 	"Public"
	global     	TRUE
	logical_models 	(list unit_reference_list
	    (object Mechanism @1
		logical_models 	(list unit_reference_list
		    (object Object "$UNNAMED$0"
			quid       	"34B3E5CB01D6"
			collaborators 	(list link_list
			    (object Link
				quid       	"34B3E5FD029E"
				supplier   	"$UNNAMED$1"
				quidu      	"34B3E5EE01FE"
				messages   	(list Messages
				    (object Message "total"
					quid       	"34B3E6010014"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	0))))
			class      	"Logical View::SummaryScreen"
			quidu      	"34B3E5DB00B4"
			persistence 	"Transient"
			multi      	FALSE)
		    (object Object "$UNNAMED$1"
			quid       	"34B3E5EE01FE"
			collaborators 	(list link_list
			    (object Link
				quid       	"34B3E628012C"
				supplier   	"$UNNAMED$2"
				quidu      	"34B3E616000A"
				messages   	(list Messages
				    (object Message "amount"
					quid       	"34B3E6340032"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	1))))
			class      	"Logical View::SavingsAccount"
			quidu      	"34B3D3680168"
			persistence 	"Transient"
			multi      	FALSE)
		    (object Object "$UNNAMED$2"
			quid       	"34B3E616000A"
			class      	"Logical View::Transaction"
			quidu      	"34B3D42C03AC"
			persistence 	"Transient"
			multi      	FALSE)))
	    (object Mechanism @2
		logical_models 	(list unit_reference_list
		    (object Object "$UNNAMED$3"
			quid       	"34B3E8B403D4"
			collaborators 	(list link_list
			    (object Link
				quid       	"34B3E8E7000A"
				supplier   	"$UNNAMED$4"
				quidu      	"34B3E8D5014A"
				messages   	(list Messages
				    (object Message "open( )"
					quid       	"34B3E8EB02E4"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	0
					quidu      	"34B3D3090078")
				    (object Message "close( )"
					quid       	"34B3E90001F4"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	1
					quidu      	"34B3D30E0118")
				    (object Message "deposit( )"
					quid       	"34B3E90C01D6"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	2
					quidu      	"34B3D31203B6")
				    (object Message "withdraw( )"
					quid       	"34B3E9160208"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	3
					quidu      	"34B3D3180294")
				    (object Message "getBalance( )"
					quid       	"34B3E91B0320"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	4
					quidu      	"34B3D31E01AE")))
			    (object Link
				quid       	"34B3E92301EA"
				supplier   	"$UNNAMED$5"
				quidu      	"34B3E8DC008C"
				messages   	(list Messages
				    (object Message "printPassbookLine( )"
					quid       	"34B3E92600B4"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	5
					quidu      	"34B3D38B0348")))
			    (object Link
				quid       	"34B3E93A003C"
				supplier   	"$UNNAMED$6"
				quidu      	"34B3E8D903AC"
				messages   	(list Messages
				    (object Message "printStatement( )"
					quid       	"34B3E93C00C8"
					frequency  	"Aperiodic"
					synchronization 	"Simple"
					dir        	"FromClientToSupplier"
					sequence   	""
					ordinal    	6
					quidu      	"34B3D34D033E"))))
			class      	"Logical View::TellerWorkbench"
			quidu      	"34B3D3E001A4"
			persistence 	"Transient"
			multi      	FALSE)
		    (object Object "$UNNAMED$4"
			quid       	"34B3E8D5014A"
			class      	"Logical View::Account"
			quidu      	"34B3D2F30280"
			persistence 	"Transient"
			multi      	FALSE)
		    (object Object "$UNNAMED$6"
			quid       	"34B3E8D903AC"
			class      	"Logical View::CheckingAccount"
			quidu      	"34B3D32600AA"
			persistence 	"Transient"
			multi      	FALSE)
		    (object Object "$UNNAMED$5"
			quid       	"34B3E8DC008C"
			class      	"Logical View::SavingsAccount"
			quidu      	"34B3D3680168"
			persistence 	"Transient"
			multi      	FALSE))))
	logical_presentations 	(list unit_reference_list
	    (object UseCaseDiagram "Main"
		quid       	"34B3D2890245"
		title      	"Main"
		zoom       	100
		max_height 	28350
		max_width  	21600
		origin_x   	0
		origin_y   	0
		items      	(list diagram_item_list))
	    (object ObjectDiagram "Displaying an account summary"
		mechanism_ref 	@1
		quid       	"34B3E5AC01EA"
		title      	"Displaying an account summary"
		zoom       	100
		max_height 	28350
		max_width  	21600
		origin_x   	0
		origin_y   	0
		items      	(list diagram_item_list
		    (object ObjectView "$UNNAMED$0" @3
			location   	(288, 320)
			font       	(object Font
			    underline  	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@3
			    location   	(184, 272)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    nlines     	2
			    max_width  	208
			    justify    	0
			    label      	"")
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E5CB01D6"
			width      	226
			height     	118
			annotation 	4
			autoResize 	TRUE
			subobjects 	0
			x_offset   	0.000000
			y_offset   	0.000000)
		    (object ObjectView "$UNNAMED$1" @4
			location   	(896, 320)
			font       	(object Font
			    underline  	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@4
			    location   	(799, 272)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    nlines     	2
			    max_width  	194
			    justify    	0
			    label      	"")
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E5EE01FE"
			width      	212
			height     	118
			annotation 	4
			autoResize 	TRUE
			subobjects 	0
			x_offset   	0.000000
			y_offset   	0.000000)
		    (object ObjectView "$UNNAMED$2" @5
			location   	(1488, 320)
			font       	(object Font
			    underline  	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@5
			    location   	(1373, 272)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    nlines     	2
			    max_width  	230
			    justify    	0
			    label      	"")
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E616000A"
			width      	248
			height     	118
			annotation 	4
			autoResize 	TRUE
			subobjects 	0
			x_offset   	0.000000
			y_offset   	0.000000)
		    (object LinkView "" @6
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E5FD029E"
			client     	@3
			supplier   	@4
			line_style 	0)
		    (object MessView "" @7
			location   	(588, 276)
			stereotype 	TRUE
			icon_style 	"Icon"
			label      	(object SegLabel @8
			    Parent_View 	@7
			    location   	(588, 232)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    quidu      	"34B3E6010014"
			    anchor_loc 	1
			    nlines     	1
			    max_width  	72
			    justify    	0
			    label      	"total"
			    pctDist    	0.500000
			    height     	45
			    orientation 	0)
			object_arc 	@6
			pctDist    	0.480934
			height     	45
			orientation 	0
			dir        	1
			origin     	(528, 276)
			terminus   	(648, 276))
		    (object LinkView "" @9
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E628012C"
			client     	@4
			supplier   	@5
			line_style 	0)
		    (object MessView "" @10
			location   	(1147, 276)
			stereotype 	TRUE
			icon_style 	"Icon"
			label      	(object SegLabel @11
			    Parent_View 	@10
			    location   	(1147, 232)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    quidu      	"34B3E6340032"
			    anchor_loc 	1
			    nlines     	1
			    max_width  	131
			    justify    	0
			    label      	"amount"
			    pctDist    	0.500000
			    height     	45
			    orientation 	0)
			object_arc 	@9
			pctDist    	0.401662
			height     	45
			orientation 	0
			dir        	1
			origin     	(1087, 276)
			terminus   	(1207, 276))))
	    (object ObjectDiagram "Teller workbench"
		mechanism_ref 	@2
		quid       	"34B3E8A501AE"
		title      	"Teller workbench"
		zoom       	100
		max_height 	28350
		max_width  	21600
		origin_x   	0
		origin_y   	0
		items      	(list diagram_item_list
		    (object ObjectView "$UNNAMED$3" @12
			location   	(208, 240)
			font       	(object Font
			    underline  	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@12
			    location   	(97, 192)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    nlines     	2
			    max_width  	222
			    justify    	0
			    label      	"")
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E8B403D4"
			width      	240
			height     	118
			annotation 	4
			autoResize 	TRUE
			subobjects 	0
			x_offset   	0.000000
			y_offset   	0.000000)
		    (object ObjectView "$UNNAMED$4" @13
			location   	(1392, 240)
			font       	(object Font
			    underline  	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@13
			    location   	(1308, 192)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    nlines     	2
			    max_width  	168
			    justify    	0
			    label      	"")
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E8D5014A"
			width      	186
			height     	118
			annotation 	4
			autoResize 	TRUE
			subobjects 	0
			x_offset   	0.000000
			y_offset   	0.000000)
		    (object ObjectView "$UNNAMED$6" @14
			location   	(432, 864)
			font       	(object Font
			    underline  	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@14
			    location   	(333, 816)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    nlines     	2
			    max_width  	198
			    justify    	0
			    label      	"")
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E8D903AC"
			width      	216
			height     	118
			annotation 	4
			autoResize 	TRUE
			subobjects 	0
			x_offset   	0.000000
			y_offset   	0.000000)
		    (object ObjectView "$UNNAMED$5" @15
			location   	(1104, 592)
			font       	(object Font
			    underline  	TRUE)
			label      	(object ItemLabel
			    Parent_View 	@15
			    location   	(1007, 544)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    nlines     	2
			    max_width  	194
			    justify    	0
			    label      	"")
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E8DC008C"
			width      	212
			height     	118
			annotation 	4
			autoResize 	TRUE
			subobjects 	0
			x_offset   	0.000000
			y_offset   	0.000000)
		    (object LinkView "" @16
			stereotype 	TRUE
			icon_style 	"Icon"
			quidu      	"34B3E8E7000A"
			client     	@12
			supplier   	@13
			line_style 	0)
		    (object MessView "" @17
			location   	(434, 115)
			stereotype 	TRUE
			icon_style 	"Icon"
			label      	(object SegLabel @18
			    Parent_View 	@17
			    location   	(434, 71)
			    stereotype 	TRUE
			    icon_style 	"Icon"
			    quidu      	"34B3E8EB02E4"
			    anchor_loc 	1
			    nlines     	1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?