Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (953.88 KB, 11 trang )
<span class='text_page_counter'>(1)</span><div class='page_container' data-page=1>
The Domain Model is a view of all the objects
that make up an area of interest, and their
relationships. It is used to capture the
significant objects within a system, organization
or any target domain.
<b>Domain Objects</b>
Read about Domain Modeling
Domain Model
Figure 1:
- NamXB: int
- Sotrang: int
- Tensach: char
- TenTG: char
+ GetBookInform(): void
+ LoadBookContent(): void
<b>TaiKhoan</b>
- Password: char
- UserName: char
+ CheckAccont(): void
<b>DoGia</b>
- Email: char
- TenDG: char
<b>ThongtinDocsach</b>
- Danhgia: int
- Soluotdoc: int
* *
1
1
Domain Objects
Figure 2:
<b>ATTRIBUTES</b>
Danhgia : int Private
[ Is static False. Containment is Not Specified. ]
Soluotdoc : int Private
[ Is static False. Containment is Not Specified. ]
Domain Objects
Figure 3:
Dogia
<b>GDWebsite</b> <b>ReadBOOKControl</b> <b>Book</b>
<b>FormLogin</b>
<b>LoginControl</b>
<b>Accont</b>
<b>alt CheckLogin</b>
[Result=false]
[Else]
1.6 OpenFormLogin()
1.5 Click ReadtoBook()
1.13 Bookcontent()
1.4 ShowBookInform()
1.14 DisplayBookContent()
1.11 DisplayHomePage()
1.9 Result= CheckAccont()
1.1 LoadTTsach()
1.8 [mtra]:CheckLoginInform()
1.3
1.2 BookInform= GetBookInform()
1.12 LoadBookContent()
1.0 Click Tensach()
1.10 Login fail()
1.7 Enter login inform()
Domain Objects
Figure 4:
<b>INTERACTION MESSAGES</b>
<b>1.0 'Click Tensach'</b> from 'Dogia' sent to 'GDWebsite'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.1 'LoadTTsach'</b> from 'GDWebsite' sent to 'ReadBOOKControl'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.2 'GetBookInform'</b> from 'ReadBOOKControl' sent to 'Book'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.3 ''</b> from 'Book' sent to 'ReadBOOKControl'.
Synchronous Call. Returns void.
<b>1.4 'ShowBookInform'</b> from 'ReadBOOKControl' sent to 'GDWebsite'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.5 'Click ReadtoBook'</b> from 'Dogia' sent to 'GDWebsite'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.6 'OpenFormLogin'</b> from 'GDWebsite' sent to 'FormLogin'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. Life cycle is New. ]
<b>1.7 'Enter login inform'</b> from 'Dogia' sent to 'FormLogin'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.8 'CheckLoginInform'</b> from 'FormLogin' sent to 'LoginControl'.
When "mtra". Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. Life cycle is New. ]
<b>1.9 'CheckAccont'</b> from 'LoginControl' sent to 'Accont'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.10 'Login fail'</b> from 'LoginControl' sent to 'FormLogin'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.11 'DisplayHomePage'</b> from 'GDWebsite' sent to 'GDWebsite'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.12 'LoadBookContent'</b> from 'LoginControl' sent to 'Book'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>1.13 'Bookcontent'</b> from 'Book' sent to 'LoginControl'.
Synchronous Call. Returns void.
<b>1.14 'DisplayBookContent'</b> from 'LoginControl' sent to 'GDWebsite'.
Synchronous Call. Returns void.
[ Return is False. Iteration is False. New group is False. ]
<b>OUTGOING BEHAVIORAL RELATIONSHIPS</b>
Name: Click ReadtoBook
Sequence from Dogia to «boundary» GDWebsite
Name: Enter login inform
Sequence from Dogia to «boundary» FormLogin
Name: Click Tensach
Sequence from Dogia to «boundary» GDWebsite
<b>ATTRIBUTES</b>
Email : char Private
[ Is static False. Containment is Not Specified. ]
TenDG : char Private
<b>ASSOCIATIONS</b>
Association (direction: Unspecified)
Source: Public (Class) TaiKhoan
Cardinality: [1]
Target: Public (Class) DoGia
Cardinality: [1]
AssociationClass (direction: Unspecified)
Source: Public (Class) Sack
Cardinality: [*]
Target: Public (Class) DoGia
Cardinality: [*]
<b>ATTRIBUTES</b>
NamXB : int Private
[ Is static False. Containment is Not Specified. ]
Sotrang : int Private
[ Is static False. Containment is Not Specified. ]
Tensach : char Private
[ Is static False. Containment is Not Specified. ]
TenTG : char Private
<b>ASSOCIATIONS</b>
AssociationClass (direction: Unspecified)
Source: Public (Class) Sack
Cardinality: [*]
Target: Public (Class) DoGia
Cardinality: [*]
<b>OPERATIONS</b>
GetBookInform () : void Public
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
LoadBookContent () : void Public
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
<b>ATTRIBUTES</b>
Password : char Private
[ Is static False. Containment is Not Specified. ]
UserName : char Private
[ Is static False. Containment is Not Specified. ]
<b>ASSOCIATIONS</b>
Association (direction: Unspecified)
Source: Public (Class) TaiKhoan
Cardinality: [1]
Target: Public (Class) DoGia
Cardinality: [1]
<b>OPERATIONS</b>
CheckAccont () : void Public
[ Is static False. Is abstract False. Is return array False. Is query False. Is synchronized False. ]
<b>ATTRIBUTES</b>
Danhgia : int Private
[ Is static False. Containment is Not Specified. ]
Soluotdoc : int Private
[ Is static False. Containment is Not Specified. ]
<b>INCOMING BEHAVIORAL RELATIONSHIPS</b>
Name: CheckAccont
Sequence from «control» LoginControl to «entity» Accont
<b>OUTGOING BEHAVIORAL RELATIONSHIPS</b>
Name: Bookcontent
Sequence from «entity» Book to «control» LoginControl
Sequence from «entity» Book to «control» ReadBOOKControl
<b>INCOMING BEHAVIORAL RELATIONSHIPS</b>
Name: LoadBookContent
Sequence from «control» LoginControl to «entity» Book
Name: GetBookInform
Sequence from «control» ReadBOOKControl to «entity» Book
<b>OUTGOING BEHAVIORAL RELATIONSHIPS</b>
Name: DisplayHomePage
Sequence from «boundary» GDWebsite to «boundary» GDWebsite
Name: LoadTTsach
Sequence from «boundary» GDWebsite to «control» ReadBOOKControl
Name: OpenFormLogin
Sequence from «boundary» GDWebsite to «boundary» FormLogin
<b>INCOMING BEHAVIORAL RELATIONSHIPS</b>
Name: DisplayBookContent
Sequence from «control» LoginControl to «boundary» GDWebsite
<b>INCOMING BEHAVIORAL RELATIONSHIPS</b>
Name: Click ReadtoBook
Sequence from Dogia to «boundary» GDWebsite
Name: ShowBookInform
Sequence from «control» ReadBOOKControl to «boundary» GDWebsite
Name: Click Tensach
Sequence from Dogia to «boundary» GDWebsite
<b>OUTGOING BEHAVIORAL RELATIONSHIPS</b>
Name: ShowBookInform
Sequence from «control» ReadBOOKControl to «boundary» GDWebsite
Name: GetBookInform
Sequence from «control» ReadBOOKControl to «entity» Book
<b>INCOMING BEHAVIORAL RELATIONSHIPS</b>
Sequence from «entity» Book to «control» ReadBOOKControl
Name: LoadTTsach