Tải bản đầy đủ (.pdf) (11 trang)

model xuanhiens weblog

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>

<b>Model</b>



<i>Package in package ''</i>



Model


Version Phase 1.0 Proposed


XUANHIEN created on 29/05/2018. Last modified 29/05/2018



<b>Domain Model</b>


<i>Package in package 'Model'</i>



Domain Model


Version Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<b>Domain Model diagram</b>



<i>Class diagram in package 'Domain Model'</i>



Domain Model


Version 1.0


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



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>


+ Docgia
+ Dogia
+ DoGia
+ FormLogin
+ LoginControl
+ Sack
+ TaiKhoan
+ ThongtinDocsach
+ CheckLogin
+ GDWebsite
+ Object1
+ Accont
+ Book
+ GDWebsite
+ ReadBOOKControl


Read about Domain Modeling


Domain Model
Figure 1:


<b>Note</b>



<i>Note in package 'Domain Model'</i>



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.



Note


Version 1.0 Phase 1.0 Proposed



XUANHIEN created on 15/05/2018. Last modified 15/05/2018


Extends



<b>Domain Objects</b>



<i>Package in package 'Domain Model'</i>



</div>
<span class='text_page_counter'>(2)</span><div class='page_container' data-page=2>

<b>$help://domain_model_pattern.htm</b>


<i>Text in package 'Domain Model'</i>



$help://domain_model_pattern.htm


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018


Alias Read about Domain Modeling


Extends



<b>Domain Objects</b>



<i>Package in package 'Domain Model'</i>



Domain Objects


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<i><b>Domain Objects diagram</b></i>


<i>Class diagram in package 'Domain Objects'</i>



Domain Objects


Version 1.0


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<b>Sack</b>


- 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:



<i><b>ThongtinDocsach</b></i>



</div>
<span class='text_page_counter'>(3)</span><div class='page_container' data-page=3>

ThongtinDocsach


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<b>ATTRIBUTES</b>


Danhgia : int Private


[ Is static False. Containment is Not Specified. ]


Soluotdoc : int Private


[ Is static False. Containment is Not Specified. ]


<i><b>Domain Objects diagram</b></i>



<i>Communication diagram in package 'Domain Objects'</i>



Domain Objects


Version 1.0


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



Domain Objects
Figure 3:


<i><b>Domain Objects diagram</b></i>




<i>Interaction diagram in package 'Domain Objects'</i>



</div>
<span class='text_page_counter'>(4)</span><div class='page_container' data-page=4>

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.


</div>
<span class='text_page_counter'>(5)</span><div class='page_container' data-page=5>

<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.


</div>
<span class='text_page_counter'>(6)</span><div class='page_container' data-page=6>

<b>1.14 'DisplayBookContent'</b> from 'LoginControl' sent to 'GDWebsite'.
Synchronous Call. Returns void.


[ Return is False. Iteration is False. New group is False. ]


<i><b>Docgia</b></i>




<i>Actor in package 'Domain Objects'</i>



Docgia


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<i><b>Dogia</b></i>



<i>Actor in package 'Domain Objects'</i>



Dogia


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<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


<i><b>DoGia</b></i>




<i>Class in package 'Domain Objects'</i>



DoGia


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<b>ATTRIBUTES</b>


Email : char Private


[ Is static False. Containment is Not Specified. ]


TenDG : char Private


</div>
<span class='text_page_counter'>(7)</span><div class='page_container' data-page=7>

<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: [*]


<i><b>FormLogin</b></i>



<i>Class «boundary» in package 'Domain Objects'</i>



FormLogin


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<i><b>LoginControl</b></i>



<i>Class «control» in package 'Domain Objects'</i>



LoginControl


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<i><b>Sack</b></i>



<i>Class in package 'Domain Objects'</i>



Sack


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<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


</div>
<span class='text_page_counter'>(8)</span><div class='page_container' data-page=8>

<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. ]


<i><b>TaiKhoan</b></i>



<i>Class in package 'Domain Objects'</i>



TaiKhoan


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<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. ]


<i><b>ThongtinDocsach</b></i>



</div>
<span class='text_page_counter'>(9)</span><div class='page_container' data-page=9>

ThongtinDocsach


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<b>ATTRIBUTES</b>


Danhgia : int Private


[ Is static False. Containment is Not Specified. ]


Soluotdoc : int Private


[ Is static False. Containment is Not Specified. ]


<i><b>GDWebsite</b></i>



<i>Object «boundary» in package 'Domain Objects'</i>




GDWebsite


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<i><b>Object1</b></i>



<i>Object «boundary» in package 'Domain Objects'</i>



Object1


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<i><b>Accont</b></i>



<i>Sequence «entity» in package 'Domain Objects'</i>



Accont


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<b>INCOMING BEHAVIORAL RELATIONSHIPS</b>


Name: CheckAccont


Sequence from «control» LoginControl to «entity» Accont


<i><b>Book</b></i>



<i>Sequence «entity» in package 'Domain Objects'</i>




Book


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



</div>
<span class='text_page_counter'>(10)</span><div class='page_container' data-page=10>

<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


<i><b>CheckLogin</b></i>



<i>InteractionFragment in package 'Domain Objects'</i>



CheckLogin


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018




<i><b>GDWebsite</b></i>



<i>Sequence «boundary» in package 'Domain Objects'</i>



GDWebsite


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<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


</div>
<span class='text_page_counter'>(11)</span><div class='page_container' data-page=11>

<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


<i><b>ReadBOOKControl</b></i>



<i>Sequence «control» in package 'Domain Objects'</i>



ReadBOOKControl


Version 1.0 Phase 1.0 Proposed


XUANHIEN created on 15/05/2018. Last modified 15/05/2018



<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


</div>

<!--links-->

Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×