E-services ToT Module7
E-services ToT Module7
10 – 15 November 2012
Compound attribute – an
attribute that consists of other
attributes. Synonyms in different
data modeling languages are
numerous: concatenated
attribute, composite attribute,
and data structure.
e- Service Design & Delivery: the Technical
Perspective
Data Modelling Concept: Identification
Key – an attribute, or a group of attributes, that
assumes a unique value for each entity instance.
It is sometimes called an identifier.
– Concatenated key - group of attributes
that uniquely identifies an instance.
Synonyms: composite key, compound
key.
– Candidate key – one of a number of
keys that may serve as the primary key.
Synonym: candidate identifier.
– Primary key – a candidate key used to
uniquely identify a single entity
instance.
– Alternate key – a candidate key not
selected to become the primary key.
Synonym: secondary key.
e- Service Design & Delivery: the Technical
Perspective
Data Modelling Concept: Relationship
• Logical models remove biases that are the result of the way
the system is currently implemented, or the way that any
one person thinks the system might be implemented.
UML Diagrams
1.Class Diagrams
2.Use Case Diagrams
3.Collaboration Diagrams
4.Sequence Diagrams
5.Package Diagrams
6.Component Diagrams
7.Deployment Diagrams
8.Activity Diagrams
9.State Diagrams
UML
Class Diagrams
Class Diagrams
Rental Invoice
1
Checkout
CheckoutScreen
Screen
DVD Movie VHS Movie Video
Video Game
Game
UML
Customer
1 Simple
Class Aggregation
Checkout Screen
DVD Movie VHS Movie Video Game
UML
Parts of a Class
• Classes can have MyClassName
four parts
+SomePublicAttribute : SomeType
– Name
-SomePrivateAttribute : SomeType
– Attributes #SomeProtectedAttribute : SomeType
– Operations
+ClassMethodOne()
– Responsibilities
+ClassMethodTwo()
• Classes can show
visibility and types. Responsibilities
• All parts but the -- can optionally be described here.
• Object diagrams
capture instances of
classes, and allow
the dynamic
relationships to be
shown.
UML
Class Name Association Name
Class Diagram
Attributes
Object Name
Object Diagram
Identify Movie
Open Account
Customer Clerk
Return Movie
Collaboration Diagrams
:Check-out :Customer
Manager
:Clerk
4:GetMovieByBarcode()
:Inventor Message
y
UML
Sequence Diagrams
1: find customer()
2: search (string)
Message Activation
5: rent (movie)
6: add(Cust, item)
Lifeline
7: printInvoice() 8: generateRentalTotal()
UML
Package Diagrams
C le rk U s e r In te rfa c e
(to b u sin e s s
C u s to m e r D a ta « fa c a d e » s ys te m )
B u s in e s s
S ys te m
C lie n t
Class R e n ta l S c re e n
Package
UML
Component Diagram
Component
«library»
D B S erver
Interface
(dbsvr.dll)
«library»
Interface
A pplication
F ram ew ork
(appfr.dll)
Dependency
«application»
V ideo
W orkstation Note S upplied by
(vstation.exe) M icrosoft
UML
Deployment Diagram
Node
S erver
DB
P hone C lerk T erm inal
:C lerk C lient «T C P /IP »
S tore
C heck O ut T erm inal S erver
:C lerk C lient «T C P /IP » A pp
UML
Activity Diagram Start State
Decision
Obtain Name
Open
& Address
Account?
Current
[no]
Customer? [no]
[yes]
End State
[yes]
Create
Account
UML
Customer Manager Walking Clerk
Identify
Movie Fork Point
Swimlanes and
Place
Fork/Join Points Order
Place
Order
Fill
Collect Order
Pay
Money
Pickup Deliver
Movie Movie Join Point
UML
Guard
External User
(from Actors)
CSA - Administrative
Employer Foreign Employed Services Centre
Worker
Prefecture U.T.G.
Responsible
(from Use Case View)
modify a Workflow on the Fly task