



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Analysis Patterns, Supporting Patterns, Accountability, Observations and Measurements, Referring to Objects, Inventory and Accounting, Planning, Trading, Raman Ramsin, Lecture Slides, Patterns in Software Engineering, Department of Computer Engineering, Sharif University of Technology, Iran.
Typology: Slides
1 / 27
This page cannot be seen from the preview
Don't miss anything!




















Department of Computer Engineering
1
^ First introduced by Fowler in 1997. ^ “Analysis patterns are groups of concepts that represent a^ Analysis patterns are groups of concepts that represent acommon construction in business modeling.“^ ^
An analysis pattern may be relevant to only one domain
or it may span
^ An analysis pattern may be relevant to only one domain, or it may spanmany domains. Department of Computer Engineering
2
Sharif University of Technology
^ Fowler also provides several supporting patterns, which
p^
pp^
g p^
describe how to take analysis patterns and apply them:^ ^ Layered Architecture for Information Systems ^ Layered
Architecture for Information Systems
^ Patterns for Type Model Design Templates ^ Association Patterns Department of Computer Engineering
4
Sharif University of Technology
-^ Party
Party
^ Problem:
People and organizational units have similar responsibilities. Solution:
Create a type party as a supertype of person and organization. Department of Computer Engineering
5
Sharif University of Technology
-^ Accountability
Accountability
^ Problem:
Representing organization structures
employment
^ Problem:
Representing
organization structures, employment,
management, professional registration, and contracts with asimilar structure. Solution:
Create accountability as a directed relationship ^ Solution:
Create
accountability as a directed relationship
between two parties.^ ^ Give it an accountability type to represent the kind of relationship.
y^ yp^
p^
p
Department of Computer Engineering
7
Sharif University of Technology
-^ Accountability
Accountability
Department of Computer Engineering
8
Sharif University of Technology
Observations and Measurements
-^ Quantity
Observations and Measurements
Quantity
Department of Computer Engineering
10
Sharif University of Technology
Observations and Measurements
-^ Measurement
Observations and Measurements
Measurement
^ Problem:^ ^
An object has a large number of
quantity attributes
^ An^ object has a large number of quantity attributes. ^ Recording information about an individual measurement of an attribute. ^ Tracking changes in a value to an attribute over time. Solution:
Create an object to represent the
individual
Solution:
Create
an object to represent the individual
measurement.^ ^ This is linked to the object being measured and to a phenomenon typethat describes the kind of measurement being made.Department of Computer Engineering
11
Sharif University of Technology
Observations and Measurements
-^ Observation
Observations and Measurements
Observation
^ Problem:
Attributes are qualitative and thus
cannot be
^ Problem:
Attributes
are qualitative and thus cannot be
measured with numbers. Solution:
Create an observation type that links the object to a phenomenonphenomenon.^ ^ Each phenomenon is a value for some phenomenon type.Department of Computer Engineering
13
Sharif University of Technology
Observations and Measurements
-^ Observation
Observations and Measurements
Observation
Department of Computer Engineering
14
Sharif University of Technology
Referring to Objects -
Identification Scheme
g^
j
Department of Computer Engineering
16
Sharif University of Technology
Inventory and Accounting -
Account
y^
g
^ Problem:
Recording a history of changes to some quantity. ^ Solution:
Create an account. Each change is recorded as an entry against the account.^ ^ The balance of the account gives its current value.Department of Computer Engineering
17
Sharif University of Technology
Inventory and Accounting -
Transaction
y^
g
^ Problem:
Ensuring that nothing gets lost from an account. ^ Solution:
Use transactions to transfer items between accounts. Department of Computer Engineering
19
Sharif University of Technology
Inventory and Accounting -
Transaction
y^
g
Department of Computer Engineering
20
Sharif University of Technology