source: MotivateDuringTherapy/src/main/java/tudelft/mentalhealth/motivatepersisting/StatementSelection.java@ 4

Last change on this file since 4 was 2, checked in by Wouter Pasman, 6 years ago

extra buttons etc

File size: 730 bytes
Line 
1package tudelft.mentalhealth.motivatepersisting;
2
3import 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 */
9class 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.