package tudelft.mentalhealth.motivatepersisting; import java.io.IOException; /** * Selection of category and subcategory to make a statement on. Generates one * time a possible text statement for this selection. */ class StatementSelection { private final Category category; private final Subcategory subcategory; /** * @param cat the {@link Category} for the statement * @param sub the {@link Subcategory} for the statement * @throws IOException */ public StatementSelection(Category cat, Subcategory sub) { this.category = cat; this.subcategory = sub; } public Category getCategory() { return category; } public Subcategory getSubcategory() { return subcategory; } }