|
||||||||
| 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.expression.Expression
org.castor.cpa.persistence.sql.query.expression.Parameter
public final class Parameter
A parameter in a SQL query. Values are always bound to parameter with names.
| Constructor Summary | |
|---|---|
Parameter(java.lang.String name)
Construct parameter with given name for binding. |
|
| Method Summary | |
|---|---|
java.lang.String |
name()
Returns name of the parameter for binding of values. |
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.expression.Expression |
|---|
equal, greaterEqual, greaterThan, isNotNull, isNull, lessEqual, lessThan, notEqual |
| 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 Parameter(java.lang.String name)
name - Name of the parameter for binding of values.| Method Detail |
|---|
public java.lang.String name()
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 | |||||||