Compoze Software, Inc.

com.compoze.exchange.webdav.sql
Class LikePredicate


java.lang.Object

  |

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

        |

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

              |

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

All Implemented Interfaces:
IPredicate, ISqlFragment, java.io.Serializable

public final class LikePredicate
extends AbstractPredicate
implements java.io.Serializable

This class creates a functionn filter rule using the LIKE predicate. LIKE does a character-by-character comparison of the specified property value and the supplied characters Use the Uniform Resource Name (URN) of the property name, ie urn:schemas:contacts:givenName

See Also:
Serialized Form

Fields inherited from class com.compoze.exchange.webdav.sql.AbstractPredicate
m_sPropName, m_values
 
Constructor Summary
LikePredicate(java.lang.String sPropName, java.lang.String sValue)
          Constructor.
 
Method Summary
static void main(java.lang.String[] args)
           
 java.lang.String toSQL()
          Returns a string representation of the clause.
 
Methods inherited from class com.compoze.exchange.webdav.sql.AbstractPredicate
getName, getValue, getValues
 
Methods inherited from class com.compoze.exchange.webdav.sql.AbstractSqlFragment
escape, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LikePredicate


public LikePredicate(java.lang.String sPropName,
                     java.lang.String sValue)
Constructor.
Parameters:
sPropName - the property name.
sValue - the value of the property.
Method Detail

toSQL


public java.lang.String toSQL()
Returns a string representation of the clause.
Overrides:
toSQL in class AbstractPredicate
Returns:
the string representation of the clause.

main


public static void main(java.lang.String[] args)

Compoze Software, Inc.

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