Adding operations - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Adding operations

Description:

View Claims by Claimant. Verify an accident. Make expert report. Refer to expert ... Claimant. Claim. C=Constructor S=Selector D=Destructor M=Mutator. To do... – PowerPoint PPT presentation

Number of Views:11
Avg rating:3.0/5.0
Slides: 13
Provided by: poby4
Category:

less

Transcript and Presenter's Notes

Title: Adding operations


1
Adding operations
  • To classes

2
From where?
  • General rule
  • Constructor
  • Selector
  • Mutator
  • Destructor
  • Specific rules
  • What mutations or adjustments need to be made?
  • E.g. Change claim state, verify accident report,

3
Classes identified
  • The classes identified in the claims system are
  • Claim
  • Claimant
  • Accident
  • Expert
  • Expert Report
  • Assessor

4
(No Transcript)
5
How are the classes constructed?
  • Some of them have no explicit constructor in the
    use case diagram
  • Assessor
  • Expert
  • A more comprehensive Use Case diagram should
    include a personnel maintenance use case, to add,
    adjust or remove assessors and experts.

6
The ones we know
  • Claim
  • The Report a Claim use case
  • Constructs a claim object and associates it with
    an existing accident object.
  • Constructs a claimant object or associates the
    new claim object with an existing claimant
    object.
  • The Report Accident use case
  • Constructs an accident object.
  • The Verify an Accident use case
  • Adjusts / mutates the accident object.

7
  • The Assess a claim use case
  • Mutates claim
  • Selects claim
  • The refer to expert
  • Mutates claim
  • Selects Expert
  • Constructs expert report (with request date)
  • The Make Expert Report Use case
  • Selects the claim
  • Selects the expert
  • Mutates the expert report (adds content and
    report date)
  • Refer to Underwriter
  • Mutates the claim (changes state to U for
    underwritten)

8
Use Cases in the system so far
  • Report a claim
  • Report Accident
  • View Claim
  • Assess a claim
  • View Accident
  • View Claims by Claimant
  • Verify an accident
  • Make expert report
  • Refer to expert
  • Assess a claim
  • Settle claim
  • Make payment
  • Refer to underwriter

9
Class / Use Case
Claim Claimant Accident Expert ExpertReport Assessor
Report a claim C C S      
Report Accident     C      
View Claim S          
Assess a claim M          
View Claim by Claimant S S
View Accident     S      
Verify an Accident     M      
Make Expert Report M     S M  
Refer to Expert M     S C  
Settle claim M         S
Make payment  ? ?  ?  ?  ?  ? 
Refer to Underwriter M          
CConstructor SSelector DDestructor MMutator
10
To do
  • Make sure that every Use Case
  • Constructs / Selects / Mutates / Destroys one or
    more objects
  • Make sure that every class has
  • A constructor
  • A Destructor
  • At least one selector or mutator
  • Add appropriate operations to the class diagram.

11
(No Transcript)
12
Do the same for the student residence
Write a Comment
User Comments (0)
About PowerShow.com