StatementTreeObject, java.io.Serializable, java.lang.Cloneablepublic final class Assignment extends java.lang.Object implements StatementTreeObject, java.io.Serializable, java.lang.Cloneable
value_of = value_of * 1.10
name = concat("CS-", name)
description = concat("LEGACY: ", upper(number));
| Constructor | Description |
|---|---|
Assignment(Variable variable,
Expression expression) |
Constructs the assignment.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
Performs a DEEP clone of this object if it is mutable, or a deep clone
of its mutable members.
|
Expression |
getExpression() |
Returns the Expression for this assignment.
|
Variable |
getVariable() |
Returns the variable for this assignment.
|
void |
prepareExpressions(ExpressionPreparer preparer) |
Prepares all expressions in this statement tree object by passing the
ExpressionPreparer object to the 'prepare' method of the expression.
|
public Assignment(Variable variable, Expression expression)
public Variable getVariable()
public Expression getExpression()
public void prepareExpressions(ExpressionPreparer preparer) throws DatabaseException
StatementTreeObjectprepareExpressions in interface StatementTreeObjectDatabaseExceptionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
StatementTreeObjectclone in interface StatementTreeObjectclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionCopyright © 2018. All rights reserved.