public class ExpressionSession
extends java.lang.Object
| Constructor and Description |
|---|
ExpressionSession(NumberNetStudentTableClusteredData dataCluster)
Instantiates a new expression session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllExpressionsFromDistributedMap()
Adds the all expressions from distributed map.
|
void |
addChangeListener(IExpressionSessionChangeListener listener)
Adds the change listener.
|
void |
addExpressionCreatedByCalculator(Expression e)
Adds the expression created by calculator.
|
boolean |
containsExpression(java.lang.String expressionString)
Contains expression.
|
java.lang.String |
getCurrentTargetValueAsString()
Gets the current target value as string.
|
Expression |
getExpressionForExpressionString(java.lang.String expressionString)
Gets the expression for expression string.
|
ExpressionSessionScores |
getScoresForTable(java.lang.String tableID)
Gets the scores for table.
|
java.lang.Double |
getTargetValue()
Gets the target value.
|
void |
removeChangeListener(IExpressionSessionChangeListener listener)
Removes the change listener.
|
void |
removeExpressionWithText(java.lang.String expressionText)
Removes the expression with text.
|
void |
setTarget(double newTarget)
Sets the target.
|
public ExpressionSession(NumberNetStudentTableClusteredData dataCluster)
dataCluster - the data clusterpublic void addAllExpressionsFromDistributedMap()
public void addChangeListener(IExpressionSessionChangeListener listener)
listener - the listenerpublic void addExpressionCreatedByCalculator(Expression e)
e - the epublic boolean containsExpression(java.lang.String expressionString)
expressionString - the expression stringpublic java.lang.String getCurrentTargetValueAsString()
public Expression getExpressionForExpressionString(java.lang.String expressionString)
expressionString - the expression stringpublic ExpressionSessionScores getScoresForTable(java.lang.String tableID)
tableID - the table idpublic java.lang.Double getTargetValue()
public void removeChangeListener(IExpressionSessionChangeListener listener)
listener - the listenerpublic void removeExpressionWithText(java.lang.String expressionText)
expressionText - the expression textpublic void setTarget(double newTarget)
newTarget - the new target