Project Report: Demonstration of Types of Viruses and Its Mechanism
Project Report: Demonstration of Types of Viruses and Its Mechanism
Project Report: Demonstration of Types of Viruses and Its Mechanism
GROUP 3 1
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
2. Mini – project description
+ In the demonstration:
• Display the structure of the virus. Note that each virus has different
structure, you should clearly display and explain them.
• One button to start demonstrating the progress of virus infecting the host
cell. Different viruses have the same basic mechanism of spreading with minor
difference - remember to show that There is always return button for user to get
back to the main menu at any time.
GROUP 3 2
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
2.2. Usecase and explanation
Explaination:
- First of all, our window always have a quit button with ask for confirmation.
- In the main screen, we has “Help” menu which contains “Usage”, “Aim of
application” and “Problem” items on the top of scene. In the center has a
split pane contain 2 list of virus (with and without envelope). Choose a virus
to “show structure of virus”.
GROUP 3 3
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
- In the StructureScreen, if you choose a part, screen will show the detail
scene of that part.
- In the StructureScreen, you also can choose to demonstrate infecting process
to move to InfectingScreen.
- Every Screen have “Back” button or “Quit” programme.
GROUP 3 4
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
3. Explanation of design ideas
3.1. General class diagram
GROUP 3 5
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
“Viruscomponent” stands for a part of real Virus.
Parts of Virus: AcidNucleic, Enzime, Capsid, Envelope, ... Inheritate from VirusComponent and
has some specific methods.
Virus
GROUP 3 6
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
“Virus” will have a virusComponentHashMap to store all the components of a
virus.
CellStructure
GROUP 3 7
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
Similar to Virus, we also create class name CellComponent to abstract CellComponent in real
life. Parts of Cell: Layer, Membrance, Nucleus inheritate from CellComponent with some
specific attributes and methods.
Cell
GROUP 3 8
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
“Cell” will have a cellComponentHashMap to store all components of cell.
GROUP 3 9
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang
3.3
GROUP 3 10
Subject: Object – Oriented Programming
Guiding by Prof. Nguyen Thi Thu Trang