Quantcast
Channel: Active questions tagged use-case - Stack Overflow
Viewing all articles
Browse latest Browse all 82

How to make a class diagram out of a use case diagram?

$
0
0

I plan to do a system aiming at journalists submitting news stories to editors in view of publishing. This is my use-case diagram:

complex diagram with 12 interrelated uses cases and 4 actors

I struggle somewhat to define the classes based on this diagram.Below is how I've defined key classes so far, using actors and some of the use cases. But I am not sure if this is the right approach.

How do I make a class diagram out of the use case diagram?

Story

Attributes:  storyID  title  content  status (e.g., submitted, approved, rejected, archived)  submissionDateMethods:  getStoryID()  getTitle()  getContent()  getStatus()  setStatus(status)

Journalist

Attributes:  journalistID  name  emailMethods:  submitStory(storyDetails)  getJournalistID()  getName()  getEmail()

Editor

Attributes:  editorID  nameMethods:  reviewStory(story)  approveStory(story)  rejectStory(story)

FileVerification

Attributes:  verificationStatusMethods:  verifyFile(story)

ProcessingCenter

Methods:  processApprovedStory(story)

System Class

Methods:  validateInput(input)  storeData(data)  generateNotification(recipient, message)  sendNotification(notification)

Viewing all articles
Browse latest Browse all 82

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>