SlideShare uma empresa Scribd logo
1 de 21
Object Analysis

   classification
Classification theory
• Process of checking to see if an object
  belongs to a category or a class
Approaches for identifying classes
1. Noun phrase approach
2. Common class patterns approach
3. Use case driven ,sequence/collaboration
   approach
4. Classes, responsibilities and
   Collaborators (CRC) approach
Noun phrase approach
• Identify Noun phrases from requirements or use
  cases
• Nouns - classes
• Verbs      - methods
• All plurals          singular
• Create a List of nouns
  – Divided into 3 categories
     • Relevant classes               Candidate classes
     • Fuzzy classes
     • Irrelevant classes

                     Removed safely
cont…
• Identifying tentative classes
• Guidelines
  – Look for nouns and noun phrases in the use
    case
  – Some classes are implicit and taken from
    knowledge
  – Avoid computer implementation classes (defer
    them to design phase). application domain
    related classes makes sense
  – Carefully choose and define class name
Guidelines :Selecting classes from
relevant and fuzzy category
• Redundant classes
   – Avoid
   – Choose more meaningful name and name used by user
• Adjective classes
   – Adjective can suggest
       • Different kind of object
       • Different use of same object
       • Utterly irrelevant
   eg: adult member and youth member
• Attribute classes
   – Objects used only as value can be treated as attribute instead of
     classes
• Irrelevant classes
   – Relevant class have statement of purpose.
   – Irrelevant classes - have no statement of purpose
Initial list of noun classes : in vianet bank
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Removing irrelevant classes
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Removing redundant classe and
building common vocabulary
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Reviewing the classes containing
            adjectives
• When class represented by noun behaves
  differently when adjective is applied to it,
  then separate class has to be created
• In this ex no such classes
Reviewing the possible attributes


• Noun phrases used only as values should
  be treated as attributes
Reviewing possible attributes
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Reviewing the class purpose
• Include classes with
   – Purpose
   – Clear definition
   – Necessary in achieving system goal
• Eliminate classes with no purpose
• Ex: Candidate class with purpose are
   –   ATM machine class
   –   ATM card class
   –   Bankclient class
   –   Bank class
   –   Account class
   –   Checking account class
   –   Saving account class
   –   Transaction class
Common class pattern approach
•   Based on knowledge base of the common classes ,
•   proposed by researchers like shlaer and mellor
•   Patterns for finding class and object
     – Concept class
         • Particular idea or understanding
              – Ex: performance
     – Event class
         • Are points in time tat must be recorded
         • Ex : account, request, order
     – Organization class
         • Collection of people, resources, facilities or groups to which the user belongs
         • Ex : account dept,bank
     – People class
         • Represents different roles user plays in interacting with the system.
         • Ex : bank client
     – Places class
         • Physical location that the system must keep inform about
         • Ex :
     – Tangible things and devices
         • Includes physical objects or group of objects
         • Ex : atmmachine
Use case driven approach
• Identifying classes and their usage
  through sequence collaboration modelling
• Recommended approach
• Problem driven approach
  – Prob is considered 1st. Not the relationship bw objects
    (like in data driven approach)
• Atleast one senario be prepared for each
  significantly different use case instance
• Use case diag – high level view of the system
• Sequence diag – interaction among objects
  – By walking through the steps, we can determine what
    objects necessary for those steps to take place
client                        atmmachine                       Bank client

            Insert atm card

            Request pin
           Enter pin number
                                           Verify pin number

                                           Bad pin number
         Bad pin number
Classes , Responsibilities, and
           Collaborators
• Classes ,responsibilities, collaborators
   – Leads to identifying its attributes and methods
• CRC index card
   – 4” * 6” card
   – Cheap, portable, readily available, familiar
   – Contains all information

           Class name             Collaborators

            Responsibiliti
            es in bullet
            format
CRC process
• 3 steps
                            Identify
                            classes
                         responsibility(
                          and identify
                            classes)


               iterate

                                              Assign
          Identify                         responsibiliti
       collaborators                            es
Atm system
Account          Checking
                 account
Balance
                 (sub class)
Number
                 Saving
                 account
Withdraw         (sub class)
Deposit
getbalance
Guidelines: Naming class
•   Singular
•   Use standard vocabulary
•   Reflect its intrinsic feature
•   Readable names

Mais conteúdo relacionado

Mais procurados

Test Case Design
Test Case DesignTest Case Design
Test Case Design
acatalin
 
Boundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptxBoundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptx
landesc
 
Software Product Line
Software Product LineSoftware Product Line
Software Product Line
Himanshu
 

Mais procurados (20)

Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Making the Move to Behavior Driven Development
Making the Move to Behavior Driven DevelopmentMaking the Move to Behavior Driven Development
Making the Move to Behavior Driven Development
 
Comparing Software Quality Assurance Techniques And Activities
Comparing Software Quality Assurance Techniques And ActivitiesComparing Software Quality Assurance Techniques And Activities
Comparing Software Quality Assurance Techniques And Activities
 
Making the Transition from Manual to Automated Testing
Making the Transition from Manual to Automated TestingMaking the Transition from Manual to Automated Testing
Making the Transition from Manual to Automated Testing
 
documentation-testing.ppt
documentation-testing.pptdocumentation-testing.ppt
documentation-testing.ppt
 
Test case design
Test case designTest case design
Test case design
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test type
 
Boundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptxBoundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptx
 
Regression testing
Regression testingRegression testing
Regression testing
 
Software Engineering (An Agile View of Process)
Software Engineering (An Agile View of Process)Software Engineering (An Agile View of Process)
Software Engineering (An Agile View of Process)
 
Agile Qa Framework Jacky Wu
Agile Qa Framework Jacky WuAgile Qa Framework Jacky Wu
Agile Qa Framework Jacky Wu
 
Unit 5
Unit 5Unit 5
Unit 5
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Product Lines
Software Product LinesSoftware Product Lines
Software Product Lines
 
Software review
Software reviewSoftware review
Software review
 
Software Product Line
Software Product LineSoftware Product Line
Software Product Line
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
Guide to Agile testing
Guide to Agile testingGuide to Agile testing
Guide to Agile testing
 
Verification & Validation
Verification & ValidationVerification & Validation
Verification & Validation
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 

Semelhante a Unit 3 object analysis-classification

Evergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation ClassEvergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation Class
Shauna
 
Data Exploration, Validation and Sanitization
Data Exploration, Validation and SanitizationData Exploration, Validation and Sanitization
Data Exploration, Validation and Sanitization
Venkata Reddy Konasani
 
Requirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and CommunicationRequirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and Communication
Mohamed Shaaban
 
Requirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and ElicitationRequirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and Elicitation
Mohamed Shaaban
 
Software Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public FundingSoftware Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public Funding
SoftwarePractice
 

Semelhante a Unit 3 object analysis-classification (20)

unit3-objectanalysis-classification-120310233747-phpapp01.ppt
unit3-objectanalysis-classification-120310233747-phpapp01.pptunit3-objectanalysis-classification-120310233747-phpapp01.ppt
unit3-objectanalysis-classification-120310233747-phpapp01.ppt
 
Evergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation ClassEvergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation Class
 
Seq uml
Seq umlSeq uml
Seq uml
 
ppt.pptx
ppt.pptxppt.pptx
ppt.pptx
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Data Exploration, Validation and Sanitization
Data Exploration, Validation and SanitizationData Exploration, Validation and Sanitization
Data Exploration, Validation and Sanitization
 
CNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleCNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life Cycle
 
A Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-LearnA Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-Learn
 
CNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleCNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life Cycle
 
CIS375 Interaction Designs Chapter10
CIS375 Interaction Designs Chapter10CIS375 Interaction Designs Chapter10
CIS375 Interaction Designs Chapter10
 
Revenue Growth through Machine Learning
Revenue Growth through Machine LearningRevenue Growth through Machine Learning
Revenue Growth through Machine Learning
 
Summit EU Machine Learning
Summit EU  Machine LearningSummit EU  Machine Learning
Summit EU Machine Learning
 
Chapter 5 - Identity Management
Chapter 5 - Identity ManagementChapter 5 - Identity Management
Chapter 5 - Identity Management
 
Summit EU Machine Learning
Summit EU Machine LearningSummit EU Machine Learning
Summit EU Machine Learning
 
Requirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and CommunicationRequirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and Communication
 
Requirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and ElicitationRequirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and Elicitation
 
Slide 3 musfique
Slide 3 musfiqueSlide 3 musfique
Slide 3 musfique
 
Kanban – Visualizing the value chain
Kanban – Visualizing the value chain Kanban – Visualizing the value chain
Kanban – Visualizing the value chain
 
Software Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public FundingSoftware Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public Funding
 
501 ch 2 understanding iam
501 ch 2 understanding iam501 ch 2 understanding iam
501 ch 2 understanding iam
 

Mais de gopal10scs185 (20)

Os5
Os5Os5
Os5
 
Os4
Os4Os4
Os4
 
Os1
Os1Os1
Os1
 
Os8
Os8Os8
Os8
 
Os8
Os8Os8
Os8
 
Os7
Os7Os7
Os7
 
Os6
Os6Os6
Os6
 
Os4
Os4Os4
Os4
 
Os3
Os3Os3
Os3
 
Os2
Os2Os2
Os2
 
Unit4 desiging classes
Unit4 desiging classesUnit4 desiging classes
Unit4 desiging classes
 
Unit three identifying actors
Unit three  identifying actorsUnit three  identifying actors
Unit three identifying actors
 
Unit 5 testing
Unit 5 testingUnit 5 testing
Unit 5 testing
 
Unit 5
Unit 5Unit 5
Unit 5
 
Unit 5 usability and satisfaction test
Unit 5 usability and satisfaction testUnit 5 usability and satisfaction test
Unit 5 usability and satisfaction test
 
Unit 5 testing -software quality assurance
Unit 5  testing -software quality assuranceUnit 5  testing -software quality assurance
Unit 5 testing -software quality assurance
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
Unit 3 attributes, methods, relationships
Unit 3 attributes, methods, relationshipsUnit 3 attributes, methods, relationships
Unit 3 attributes, methods, relationships
 
Unit 3
Unit 3Unit 3
Unit 3
 

Último

abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadhabortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
samsungultra782445
 
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammamAbortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
samsungultra782445
 
abortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammam
abortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammamabortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammam
abortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammam
samsungultra782445
 

Último (20)

abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadhabortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
abortion pills in Jeddah Saudi Arabia (+919707899604)cytotec pills in Riyadh
 
uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...
uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...
uk-no 1 kala ilam expert specialist in uk and qatar kala ilam expert speciali...
 
Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024
 
Shrambal_Distributors_Newsletter_May-2024.pdf
Shrambal_Distributors_Newsletter_May-2024.pdfShrambal_Distributors_Newsletter_May-2024.pdf
Shrambal_Distributors_Newsletter_May-2024.pdf
 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
 
Technology industry / Finnish economic outlook
Technology industry / Finnish economic outlookTechnology industry / Finnish economic outlook
Technology industry / Finnish economic outlook
 
劳伦森大学毕业证
劳伦森大学毕业证劳伦森大学毕业证
劳伦森大学毕业证
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunities
 
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
Famous No1 Amil Baba Love marriage Astrologer Specialist Expert In Pakistan a...
 
FE Credit and SMBC Acquisition Case Studies
FE Credit and SMBC Acquisition Case StudiesFE Credit and SMBC Acquisition Case Studies
FE Credit and SMBC Acquisition Case Studies
 
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budgetCall Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
Call Girls Howrah ( 8250092165 ) Cheap rates call girls | Get low budget
 
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammamAbortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
Abortion pills in Saudi Arabia (+919707899604)cytotec pills in dammam
 
In Sharjah ௵(+971)558539980 *_௵abortion pills now available.
In Sharjah ௵(+971)558539980 *_௵abortion pills now available.In Sharjah ௵(+971)558539980 *_௵abortion pills now available.
In Sharjah ௵(+971)558539980 *_௵abortion pills now available.
 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdf
 
W.D. Gann Theory Complete Information.pdf
W.D. Gann Theory Complete Information.pdfW.D. Gann Theory Complete Information.pdf
W.D. Gann Theory Complete Information.pdf
 
Responsible Finance Principles and Implication
Responsible Finance Principles and ImplicationResponsible Finance Principles and Implication
Responsible Finance Principles and Implication
 
7 tips trading Deriv Accumulator Options
7 tips trading Deriv Accumulator Options7 tips trading Deriv Accumulator Options
7 tips trading Deriv Accumulator Options
 
logistics industry development power point ppt.pdf
logistics industry development power point ppt.pdflogistics industry development power point ppt.pdf
logistics industry development power point ppt.pdf
 
abortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammam
abortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammamabortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammam
abortion pills in Riyadh Saudi Arabia (+919707899604)cytotec pills in dammam
 
Toronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdfToronto dominion bank investor presentation.pdf
Toronto dominion bank investor presentation.pdf
 

Unit 3 object analysis-classification

  • 1. Object Analysis classification
  • 2. Classification theory • Process of checking to see if an object belongs to a category or a class
  • 3. Approaches for identifying classes 1. Noun phrase approach 2. Common class patterns approach 3. Use case driven ,sequence/collaboration approach 4. Classes, responsibilities and Collaborators (CRC) approach
  • 4. Noun phrase approach • Identify Noun phrases from requirements or use cases • Nouns - classes • Verbs - methods • All plurals singular • Create a List of nouns – Divided into 3 categories • Relevant classes Candidate classes • Fuzzy classes • Irrelevant classes Removed safely
  • 5. cont… • Identifying tentative classes • Guidelines – Look for nouns and noun phrases in the use case – Some classes are implicit and taken from knowledge – Avoid computer implementation classes (defer them to design phase). application domain related classes makes sense – Carefully choose and define class name
  • 6. Guidelines :Selecting classes from relevant and fuzzy category • Redundant classes – Avoid – Choose more meaningful name and name used by user • Adjective classes – Adjective can suggest • Different kind of object • Different use of same object • Utterly irrelevant eg: adult member and youth member • Attribute classes – Objects used only as value can be treated as attribute instead of classes • Irrelevant classes – Relevant class have statement of purpose. – Irrelevant classes - have no statement of purpose
  • 7. Initial list of noun classes : in vianet bank • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 8. Removing irrelevant classes • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 9. Removing redundant classe and building common vocabulary • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 10. Reviewing the classes containing adjectives • When class represented by noun behaves differently when adjective is applied to it, then separate class has to be created • In this ex no such classes
  • 11. Reviewing the possible attributes • Noun phrases used only as values should be treated as attributes
  • 12. Reviewing possible attributes • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 13. Reviewing the class purpose • Include classes with – Purpose – Clear definition – Necessary in achieving system goal • Eliminate classes with no purpose • Ex: Candidate class with purpose are – ATM machine class – ATM card class – Bankclient class – Bank class – Account class – Checking account class – Saving account class – Transaction class
  • 14. Common class pattern approach • Based on knowledge base of the common classes , • proposed by researchers like shlaer and mellor • Patterns for finding class and object – Concept class • Particular idea or understanding – Ex: performance – Event class • Are points in time tat must be recorded • Ex : account, request, order – Organization class • Collection of people, resources, facilities or groups to which the user belongs • Ex : account dept,bank – People class • Represents different roles user plays in interacting with the system. • Ex : bank client – Places class • Physical location that the system must keep inform about • Ex : – Tangible things and devices • Includes physical objects or group of objects • Ex : atmmachine
  • 15. Use case driven approach • Identifying classes and their usage through sequence collaboration modelling
  • 16. • Recommended approach • Problem driven approach – Prob is considered 1st. Not the relationship bw objects (like in data driven approach) • Atleast one senario be prepared for each significantly different use case instance • Use case diag – high level view of the system • Sequence diag – interaction among objects – By walking through the steps, we can determine what objects necessary for those steps to take place
  • 17. client atmmachine Bank client Insert atm card Request pin Enter pin number Verify pin number Bad pin number Bad pin number
  • 18. Classes , Responsibilities, and Collaborators • Classes ,responsibilities, collaborators – Leads to identifying its attributes and methods • CRC index card – 4” * 6” card – Cheap, portable, readily available, familiar – Contains all information Class name Collaborators Responsibiliti es in bullet format
  • 19. CRC process • 3 steps Identify classes responsibility( and identify classes) iterate Assign Identify responsibiliti collaborators es
  • 20. Atm system Account Checking account Balance (sub class) Number Saving account Withdraw (sub class) Deposit getbalance
  • 21. Guidelines: Naming class • Singular • Use standard vocabulary • Reflect its intrinsic feature • Readable names