Commit 4559e45c authored by Valentin Le Gauche's avatar Valentin Le Gauche

Merge branch '44-renomer-la-classe-meeting-en-scenario' into 'master'

Resolve "Renomer la classe Meeting en Scenario"

Closes #44

See merge request tx-techno-num/impactometre!32
parents b4f987bf 6e2484df
'use strict' 'use strict'
class Meeting { class Scenario {
/** /**
* Create a meeting. * Create a scenario corresponding to a meeting.
* @param {String} user - The user who creates the meeting. * @param {String} user - The user who creates the scenario.
* @param {Map<string, Journey>} journeys - All the journeys entered by the user indexed by their ids. * @param {Map<string, Journey>} journeys - All the journeys entered by the user indexed by their ids.
* @param {Hardware} hardware - The different kinds of hardware device used for the meeting. * @param {Hardware} hardware - The different kinds of hardware device used for the meeting.
* @param {Software} software - The software used for the meetings. * @param {Software} software - The software used for the meeting.
* @param {Number} meetingDuration - The meeting duration in minutes. * @param {Number} meetingDuration - The scenario duration in minutes.
*/ */
constructor (user, journeys, hardware, software, meetingDuration) { constructor (user, journeys, hardware, software, meetingDuration) {
this._user = user this._user = user
...@@ -20,7 +20,7 @@ class Meeting { ...@@ -20,7 +20,7 @@ class Meeting {
// Getters // Getters
/** /**
* Getter of the user who creates the meeting. * Getter of the user who creates the scenario.
*/ */
get user () { get user () {
return this._user return this._user
...@@ -43,7 +43,7 @@ class Meeting { ...@@ -43,7 +43,7 @@ class Meeting {
} }
/** /**
* Getter The software used for the meeting. * Getter the software used for the scenario.
* @see {Sofware} * @see {Sofware}
*/ */
get software () { get software () {
...@@ -60,7 +60,7 @@ class Meeting { ...@@ -60,7 +60,7 @@ class Meeting {
// Setters // Setters
/** /**
* Setter of the user who creates the meeting. * Setter of the user who creates the scenario.
*/ */
set user (user) { set user (user) {
this._user = user this._user = user
...@@ -83,7 +83,7 @@ class Meeting { ...@@ -83,7 +83,7 @@ class Meeting {
} }
/** /**
* Setter The software used for the meeting. * Setter the software used for the meeting.
* @see {Sofware} * @see {Sofware}
*/ */
set software (software) { set software (software) {
...@@ -100,4 +100,4 @@ class Meeting { ...@@ -100,4 +100,4 @@ class Meeting {
// Other methods // Other methods
} }
module.exports = Meeting module.exports = Scenario
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment