Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#329 Show number of scenarios in scenario list.
- Loading branch information
Showing
5 changed files
with
86 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...oo-server/src/main/java/org/scenarioo/model/docu/aggregates/usecases/ScenarioSummary.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.scenarioo.model.docu.aggregates.usecases; | ||
|
||
import org.scenarioo.model.docu.entities.Scenario; | ||
|
||
/** | ||
* An imported Scenario in the scenario list of a use case. | ||
*/ | ||
public class ScenarioSummary { | ||
|
||
private Scenario scenario; | ||
private int numberOfSteps; | ||
|
||
public Scenario getScenario() { | ||
return scenario; | ||
} | ||
|
||
public void setScenario(final Scenario scenario) { | ||
this.scenario = scenario; | ||
} | ||
|
||
public int getNumberOfSteps() { | ||
return numberOfSteps; | ||
} | ||
|
||
public void setNumberOfSteps(final int numberOfSteps) { | ||
this.numberOfSteps = numberOfSteps; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters