org.castor.cpa.persistence.sql.query
Class QueryObject
java.lang.Object
org.castor.cpa.persistence.sql.query.QueryObject
- Direct Known Subclasses:
- Assignment, Condition, Delete, Expression, Insert, Qualifier, Select, Update
public abstract class QueryObject
- extends Object
Abstract base class for all query objects.
- Version:
- $Revision$ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Ahmad Hassan, Ralf Joachim
QueryObject
public QueryObject()
toString
public final String toString()
- Overrides:
toString in class Object
toString
public abstract void toString(QueryContext ctx)
- Append a string representation of the object to the given QueryContext. In general,
this toString method appends a string that "textually represents" this object. The
result should be a string in valid SQL syntax. It is required that all subclasses
override this method.
- Parameters:
ctx - QueryContext to append the string representation of the object to.
Copyright © 2010. All Rights Reserved.