public class Expression
extends java.lang.Object
implements java.io.Serializable, com.google.gwt.user.client.rpc.IsSerializable
Constructor and Description |
---|
Expression()
Instantiates a new expression.
|
Expression(java.lang.String id,
java.lang.String expr,
double value,
double target,
java.lang.String error,
java.lang.String createdBy,
java.lang.String onTable,
boolean isEdit)
Instantiates a new expression.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCreatedBy()
Gets the created by.
|
java.util.Date |
getCreatedDate()
Gets the created date.
|
java.lang.String |
getCreatedOnTable()
Gets the created on table.
|
java.lang.String |
getError()
Gets the error.
|
java.lang.String |
getExpression()
Gets the expression.
|
java.lang.String |
getFullString()
Gets the full string.
|
java.lang.String |
getId()
Gets the id.
|
double |
getTarget()
Gets the target.
|
double |
getValue()
Gets the value.
|
boolean |
isCorrect()
Checks if is correct.
|
boolean |
isEdit()
Checks if is edits the.
|
boolean |
isErroneous()
Checks if is erroneous.
|
void |
setCreatedBy(java.lang.String createdBy)
Sets the created by.
|
void |
setCreatedDate(java.util.Date createdDate)
Sets the created date.
|
void |
setCreatedOnTable(java.lang.String onTable)
Sets the created on table.
|
void |
setEdit(boolean isEdit)
Sets the edits the.
|
void |
setError(java.lang.String error)
Sets the error.
|
void |
setExpression(java.lang.String expression)
Sets the expression.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setTarget(double target)
Sets the target.
|
void |
setValue(double value)
Sets the value.
|
java.lang.String |
toString() |
public Expression()
public Expression(java.lang.String id, java.lang.String expr, double value, double target, java.lang.String error, java.lang.String createdBy, java.lang.String onTable, boolean isEdit)
id
- the idexpr
- the exprvalue
- the valuetarget
- the targeterror
- the errorcreatedBy
- the created byonTable
- the on tableisEdit
- the is editpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getCreatedBy()
public java.util.Date getCreatedDate()
public java.lang.String getCreatedOnTable()
public java.lang.String getError()
public java.lang.String getExpression()
public java.lang.String getFullString()
public java.lang.String getId()
public double getTarget()
public double getValue()
public boolean isCorrect()
public boolean isEdit()
public boolean isErroneous()
public void setCreatedBy(java.lang.String createdBy)
createdBy
- the new created bypublic void setCreatedDate(java.util.Date createdDate)
createdDate
- the new created datepublic void setCreatedOnTable(java.lang.String onTable)
onTable
- the new created on tablepublic void setEdit(boolean isEdit)
isEdit
- the new edits thepublic void setError(java.lang.String error)
error
- the new errorpublic void setExpression(java.lang.String expression)
expression
- the new expressionpublic void setId(java.lang.String id)
id
- the new idpublic void setTarget(double target)
target
- the new targetpublic void setValue(double value)
value
- the new valuepublic java.lang.String toString()
toString
in class java.lang.Object