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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LikePredicate
public LikePredicate(java.lang.String sPropName,
java.lang.String sValue)
- Constructor.
- Parameters:
sPropName
- the property name.sValue
- the value of the property.
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)
Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.