|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.Assignment
public final class Assignment
An assignment from a variable to an expression. For example;
value_of = value_of * 1.10
name = concat("CS-", name)
description = concat("LEGACY: ", upper(number));
| Constructor Summary | |
|---|---|
Assignment(Variable variable,
Expression expression)
Constructs the assignment. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Assignment(Variable variable,
Expression expression)
| Method Detail |
|---|
public Variable getVariable()
public Expression getExpression()
public void prepareExpressions(ExpressionPreparer preparer)
throws DatabaseException
StatementTreeObject
prepareExpressions in interface StatementTreeObjectDatabaseException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
StatementTreeObject
clone in interface StatementTreeObjectclone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||