xoql.function
Class startsWith

java.lang.Object
  extended by cdqa.function.Function
      extended by cdqa.function.BinaryFunction
          extended by cdqa.function.BinaryPredicate
              extended by xoql.function.startsWith

public class startsWith
extends cdqa.function.BinaryPredicate

This X-OQL function tests wheter the string value of the first parameter (o1) starts with the string value of the second parameter (o2).

Author:
J?r?me Baumgarten

Field Summary
 
Fields inherited from class cdqa.function.Function
NULL
 
Constructor Summary
startsWith()
           
 
Method Summary
 boolean onApply(cdqa.object.XObject o1, cdqa.object.XObject o2)
           
 
Methods inherited from class cdqa.function.BinaryPredicate
apply, createIteratorInstance, onExecute, or, rightIsTrue, theFalsePredicate, theTruePredicate
 
Methods inherited from class cdqa.function.BinaryFunction
createIteratorInstance, execute, firstArg, secondArg
 
Methods inherited from class cdqa.function.Function
createIteratorInstance, forName, getRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

startsWith

public startsWith()
Method Detail

onApply

public boolean onApply(cdqa.object.XObject o1,
                       cdqa.object.XObject o2)
Specified by:
onApply in class cdqa.function.BinaryPredicate