Class Parameter
java.lang.Object
org.castor.cpa.persistence.sql.query.expression.Expression
org.castor.cpa.persistence.sql.query.expression.Parameter
- All Implemented Interfaces:
QueryObject
A parameter in a SQL query. Values are always bound to parameter with names.
- Version:
- $Revision$ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Ahmad Hassan, Ralf Joachim
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.castor.cpa.persistence.sql.query.expression.Expression
equal, greaterEqual, greaterThan, isNotNull, isNull, lessEqual, lessThan, notEqual
-
Constructor Details
-
Parameter
Construct parameter with given name for binding.- Parameters:
name
- Name of the parameter for binding of values.
-
-
Method Details
-
name
Returns name of the parameter for binding of values.- Returns:
- Name of the parameter for binding of values.
-
accept
Accept method to handle incoming visitors.- Parameters:
visitor
- Visitor to be handled.
-
toString
Method constructing query string.
-