Title: ACCOUNTABILITY PATTERNS FOWLER,M',ANALYSIS PATTERNS: CHAPTER 2
1 ACCOUNTABILITY PATTERNS ?????
???(FOWLER,M.,ANALYSIS PATTERNS CHAPTER
2)????? ???? ???? ???? ??? ??? ??????
???????
2???? ?-ACCOUNTABILITY
- ????? ?????? ??? ?? ??? ??-?????? ??????
????????, ??? ??? ????? (PARTIES) ???????
????????? ????? ??? (?????). - ?? ??? ?????
- (RESPONSIBLE TO,CHILD)
- ???? ?? ??? (COMMISSIONER,PARENT)
3???? ?-ACCOUNTABILITY
- ??????? ??? ??? ??? ?? ????-????? (ACCOUNTABLE
FOR) ???? ??? ????. - ??????? ??? ?? ??? ??? ?"??", ???? ???? ???
?"??" .
4???? ?-ACCOUNTABILITY
- ???????
- - ???? ?????? ??? ??? ???? (?????????? ????
??????). - - ????? ???? ?"? ????.
- - ????? ???? ???? ????? ????? ?????.
- - ????? ???????? ????? ???????????.
5???? ?-ACCOUNTABILITY
- ???? ????? ????? ?? ???????? ???????? ?????
???????? ?? ??????? ???????. - ???????
- ???? ????? ????? ????? ????? ?? ??????, ???
?????,????.
6???? ?-ACCOUNTABILITY(??????? ????).
- ????? ????? ????? ??' ?????? ???? ???? ??"?
??????,???? ???? 30 ???????? ????. - ????? ???? ??"? ?????? ????? ?????? ??????,
?????? ????-???? ??? ????? ???? ?????-?? ??????.
7????? ????? ?????? ??????
- ?????? ??? ?????? ?? ????? ??? ?????? ?????.
- ????? ??? ???? ?? ????? ???-??? ???? ???????.
??? ?????? ????? ??, ?? ??? - ??? ,????? ??????-????? ??????, ???? ???? ?? ?
8????? ?? ???????
- ????? ????,?? ?? ??-?? ???? ?? ?? ??? ???????
-
- ???? COMMISSIONER ??? ??
- ???? ,RESPONSIBLE ????? ?????? ??
- ?????? ???? ????? ????? ?????? ???.
9(No Transcript)
10(No Transcript)
11(No Transcript)
12(No Transcript)
13(No Transcript)
14(No Transcript)
15(No Transcript)
16(No Transcript)
17Accountability Pattern
The Accountability Pattern can be used to model
situations where there exists a relationship of
responsibility between two parties -
Employment - Order - Contract - Membership -
Offering ACCOUNTABILITY TYPE specifies
different kinds of accountability. In an
employment context, it could contain permanent
employment, project employment, time limited
employment, etc.
18Subtypes
One way to show different categories is to
introduce a number of subtypes. However, such a
solution may result in a very large schema.
19Powertypes
VEHICLE TYPE would have instances such as Car,
Truck, Boat, Bike, MC, Aeroplane, ...
1
VEHICLE would have instances such as abc123
(which is a Car), vv22 (which is a Boat), ...
20?????? ?-POWER-TYPE PATTERN
- ??? ?????? ?????? PARTY ????? ???????
"?????-????" ?????? ????, ?????? PARTY-TYPE. - ??? ??????? ?? ?????, ?????? PARTY?????, ,?????
??????? "?????-????" ?????? ?????. - ?? ??????? ??? ??? ??? ????,???????????, ??-?????
?? ?????? PARTY,?? ??? ????? ?? ?? ??????????
???? ?????? ?-PARTY.
21- ?? ?? ????? ??? ????? ?????? ??
- ??-?????? ?????? ?? ?????????, ??? ????
- ???? ???? ??? ?? ???? ?????? ??? ????
- ????????????.
22(No Transcript)
23(No Transcript)