|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.sql.query.QueryObject
org.castor.cpa.persistence.sql.query.Assignment
public final class Assignment
Assignment used for SQL update statements.
| Constructor Summary | |
|---|---|
Assignment(Column left,
Expression right)
Constructor that assigns the given rigth hand operand cto the left hand one. |
|
| Method Summary | |
|---|---|
Column |
leftExpression()
Returns left operand of the assignment. |
Expression |
rightExpression()
Returns right operand of the assignment. |
void |
toString(QueryContext ctx)
Append a string representation of the object to the given QueryContext. |
| Methods inherited from class org.castor.cpa.persistence.sql.query.QueryObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Assignment(Column left,
Expression right)
left - Left operand of the assignment.right - Right operand of the assignment.| Method Detail |
|---|
public Column leftExpression()
public Expression rightExpression()
public void toString(QueryContext ctx)
QueryObject
toString in class QueryObjectctx - QueryContext to append the string representation of the object to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||