Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software Design: Class Diagram - Search #103

Closed
6 tasks done
xltvy opened this issue Apr 5, 2022 · 4 comments
Closed
6 tasks done

Software Design: Class Diagram - Search #103

xltvy opened this issue Apr 5, 2022 · 4 comments
Assignees
Labels
diagrams Related to use-case/class/sequence diagrams priority-critical Highest priority issue Status: Completed Issue is solved type-system design System design related

Comments

@xltvy
Copy link
Contributor

xltvy commented Apr 5, 2022

Issue Description

As the next part of the software design process, we will provide a class diagram for our project moving from the use case diagram phase. Class diagram will be completed with a collective effort and as part I will be preparing the parts of the diagram related to search operation.

  • This issue is a sub-issue of Software Design: Class Diagram #86 .
  • There will be two classes related to search operation
    1. SearchEngine
    2. SearchHandler
  • These classes will be formed, using this section of the use case diagram as basis:

Ekran Resmi 2022-04-05 17 05 43

Step Details

Steps that will be performed:

  • Review relevant parts of the Use-Case Diagram
  • Review relevant requirements
  • Define the attributes for each class
  • Define the methods for each class
  • Define the relations of these classes with each other and the remaining classes
  • Add those to the Class Diagram

Final Actions

  • After each class is determined and combined into a diagram, it will be merged into the main class diagram provided in this link.
  • After completion, this issue will be reviewed and evaluated by the team members upon closing the issue.

Deadline of the Issue

05.04.2022 - Tuesday - 22.00

Reviewer

Ecenur Sezer - @codingAku

Deadline for the Review

05.04.2022 - Tuesday - 23.59

@xltvy xltvy added priority-medium Medium level priority issue status-new New issue in initial state labels Apr 5, 2022
@xltvy xltvy self-assigned this Apr 5, 2022
@xltvy xltvy added priority-critical Highest priority issue diagrams Related to use-case/class/sequence diagrams type-system design System design related and removed priority-medium Medium level priority issue labels Apr 5, 2022
@xltvy
Copy link
Contributor Author

xltvy commented Apr 5, 2022

SearchEngine

I defined the SearchEngine class attributes as follows:

Attribute Name Type Description
search_type string type of the searched element (course or user)
searched_element string searched element
searcher_id UID ID of the user that performs search operation

I defined the SearchEngine class methods as follows:

Method Name Parameters Return Type
query search_type: string, searched_element: string void
setSearchType search_type: string void
getSearchType - string
getSearcherID - UID
getSearchedElement - string

@xltvy
Copy link
Contributor Author

xltvy commented Apr 5, 2022

SearchHandler

I defined the SearchHandler class attributes as follows:

Attribute Name Type Description
search_type string type of the searched element (course or user)
searched_element string searched element

I defined the SearchHandler class methods as follows:

Method Name Parameters Return Type
searchUser _key: string List<User>
searchCourse _key: string List<Course>

@xltvy
Copy link
Contributor Author

xltvy commented Apr 5, 2022

Info:

I have created the initial form of the SearchEngine and SearchHandler classes as part of the class diagram of our project.

Here is a screenshot taken directly from our class diagram, which can be viewed from this link:

Ekran Resmi 2022-04-05 21 33 01

This issue will be reviewed and if necessary edited/updated further.

@xltvy xltvy added status-inprogress Issue is currently worked Status: Completed Issue is solved status-needreview A review to the issue is needed and removed status-new New issue in initial state status-inprogress Issue is currently worked Status: Completed Issue is solved labels Apr 5, 2022
@xltvy xltvy mentioned this issue Apr 5, 2022
13 tasks
@codingAku
Copy link
Contributor

Class diagrams have been reviewed in our meetings and in PS session. Everything is compatible with our discussions.

@onurkomurcu onurkomurcu added Status: Completed Issue is solved and removed status-needreview A review to the issue is needed labels Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagrams Related to use-case/class/sequence diagrams priority-critical Highest priority issue Status: Completed Issue is solved type-system design System design related
Projects
None yet
Development

No branches or pull requests

3 participants