package exercise.writer; import java.lang.*; public class NumberCreatorModel { private String question; private String answer; private String lessThanX; private String lessThanXFeedback; private String greaterThanX; private String greaterThanXFeedback; private String greaterThanEqualToX; private String lessThanEqualToX; private String intervalFeedback; private String elseFeedback; private String hint; NumberCreatorModel(){} /** * Gets the question string * @return the question. null string otherwise. */ public String getQuestion() { return question; } /** * Gets the answer number * @return the answer as a string null string otherwise. */ public String getAnswer() { return answer; } /** * Gets the lessThanX number * @return the lessThanX as a string null string otherwise. */ public String getLessThanX() { return lessThanX; } /** * Gets the lessThanXFeedback * @return the lessThanXFeedback as a string null string otherwise. */ public String getLessThanXFeedback() { return lessThanXFeedback; } /** * Gets the greaterThanX * @return the greaterThanX as a string null string otherwise. */ public String getGreaterThanX() { return greaterThanX; } /** * Gets the greaterThanXFeedback * @return the greaterThanXFeedback as a string null string otherwise. */ public String getGreaterThanXFeedback() { return greaterThanXFeedback; } /** * Gets the greaterThanEqualToX * @return the greaterThanEqualToX as a string null string otherwise. */ public String getGreaterThanEqualToX() { return greaterThanEqualToX; } /** * Gets the lessThanEqualToX * @return the lessThanEqualToX as a string null string otherwise. */ public String getLessThanEqualToX() { return lessThanEqualToX; } /** * Gets the interval * @return the interval Feedback as a string null string otherwise. */ public String getIntervalFeedback() { return intervalFeedback; } /** * Gets the elseFeedback * @return the else feedback as a string null string otherwise. */ public String getElseFeedback() { return elseFeedback; } /** * Sets the feedback Array * @param answer the String that is read in for the answer. */ public void setAnswer( String answer ) { this.answer = answer; } /** * Sets the question string * @param exercise the String that is read in for the question. */ public void setQuestion(String question) { this.question = question; } /** * Sets lessThanX * @param lessThanX the String that is read in for the lessThanX value. */ public void setLessThanX( String lessThanX ) { this.lessThanX = lessThanX; } /** * Sets lessThanX * @param lessThanX the String that is read in for the lessThanX value. */ public void setLessThanXFeedback( String lessThanXFeedback ) { this.lessThanXFeedback = lessThanXFeedback; } /** * Sets greaterThanX * @param greaterThanX the String that is read in for the greaterThanX value. */ public void setGreaterThanX( String greaterThanX ) { this.greaterThanX = greaterThanX; } /** * Sets greaterThanXFeedback * @param greaterThanXFeedback the String that is read in for the * greaterThanXFeedback value. */ public void setGreaterThanXFeedback( String greaterThanXFeedback ) { this.greaterThanXFeedback = greaterThanXFeedback; } /** * Sets greaterThanEqualToX * @param greaterThanEqualToX the String that is read in for the * greaterThanEqualToX value. */ public void setGreaterThanEqualToX( String greaterThanEqualToX ) { this.greaterThanEqualToX = greaterThanEqualToX; } /** * Sets lessThanEqualToX * @param lessThanEqualToX the String that is read in for the lessThanEqualToX value. */ public void setLessThanEqualToX( String lessThanEqualToX ) { this.lessThanEqualToX = lessThanEqualToX; } /** * Sets interval * @param interval the String array that is read in for the interval value. */ public void setIntervalFeedback( String intervalFeedback ) { this.intervalFeedback = intervalFeedback; } /** * Sets elseFeedback * @param interval the String array that is read in for the interval value. */ public void setElseFeedback( String elseFeedback ) { this.elseFeedback = elseFeedback; } }