Compoze Software, Inc.

com.compoze.exchange.webdav.sql
Class AbstractSqlFragment


java.lang.Object

  |

  +--com.compoze.exchange.webdav.sql.AbstractSqlFragment

All Implemented Interfaces:
ISqlFragment, java.io.Serializable
Direct Known Subclasses:
AbstractFunction, AbstractOperator, AbstractPredicate, Condition, FromClause, GroupByClause, OrderByClause, SelectStatement, WhereClause

public abstract class AbstractSqlFragment
extends java.lang.Object
implements ISqlFragment, java.io.Serializable

The class provides default implementations for SQL fragments.

See Also:
Serialized Form

Constructor Summary
AbstractSqlFragment()
           
 
Method Summary
protected static java.lang.String escape(java.lang.String sValue)
          Escapes the value.
abstract  java.lang.String toSQL()
          Returns a string representation of the clause.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractSqlFragment


public AbstractSqlFragment()
Method Detail

escape


protected static java.lang.String escape(java.lang.String sValue)
Escapes the value.
Parameters:
sValue - the value to escape

toSQL


public abstract java.lang.String toSQL()
Returns a string representation of the clause.
Specified by:
toSQL in interface ISqlFragment
Returns:
the string representation of the clause.

toString


public java.lang.String toString()
Returns a string representation of this object.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of this object.

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.