Last change
on this file since 7 was 5, checked in by Bart Vastenhouw, 5 years ago |
Intermediate update
|
File size:
701 bytes
|
Line | |
---|
1 | package tudelft.mentalhealth.motivatepersisting;
|
---|
2 |
|
---|
3 | import java.io.IOException;
|
---|
4 |
|
---|
5 | /**
|
---|
6 | * Selection of category and subcategory to make a statement on. Generates one
|
---|
7 | * time a possible text statement for this selection.
|
---|
8 | */
|
---|
9 | class StatementSelection {
|
---|
10 | private final Category category;
|
---|
11 | private final Subcategory subcategory;
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * @param cat the {@link Category} for the statement
|
---|
15 | * @param sub the {@link Subcategory} for the statement
|
---|
16 | * @throws IOException
|
---|
17 | */
|
---|
18 | public StatementSelection(Category cat, Subcategory sub) {
|
---|
19 | this.category = cat;
|
---|
20 | this.subcategory = sub;
|
---|
21 | }
|
---|
22 |
|
---|
23 | public Category getCategory() {
|
---|
24 | return category;
|
---|
25 | }
|
---|
26 |
|
---|
27 | public Subcategory getSubcategory() {
|
---|
28 | return subcategory;
|
---|
29 | }
|
---|
30 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.