package exercise.engine;
import java.lang.*;
/**
* NumberEntryContents houses the data read in from the Number Entry parser
* @author Grant K. Olds
* @since JDK1.2
*/
public class NumberEntryContents extends QuestionContents
{
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 genStrategy;
private String specificStrategy;
private String giveAnswer;
NumberEntryContents(){ super();}
/**
* 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;
}
public String getSpecificStrategy()
{
return specificStrategy;
}
public String getGenStrategy()
{
return genStrategy;
}
public String getGiveAnswer()
{
return giveAnswer;
}
/**
* Sets the feedback Array
* @param answer the String that is read in for the answer.
*/
public void setAnswer( String answer )
{
this.answer = answer;
}
/**
* 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;
}
public void setSpecificStrategy ( String specificStrategy )
{
this.specificStrategy = specificStrategy;
}
public void setGenStrategy ( String genStrategy )
{
this.genStrategy = genStrategy;
}
public void setGiveAnswer ( String giveAnswer )
{
this.giveAnswer = giveAnswer;
}
}