Ontimize Document Management 0.035EN

com.ontimize.dms.jcr.query
Class FunctionHave

java.lang.Object
  extended by com.ontimize.dms.jcr.query.Function
      extended by com.ontimize.dms.jcr.query.FunctionHave
All Implemented Interfaces:
java.io.Serializable

public class FunctionHave
extends Function

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ontimize.dms.jcr.query.Function
CONTAINS, CONTAINS_NODE, converter, EQUALS, GREATER, GREATER_OR_EQUALS, HAVE, LESS, LESS_OR_EQUALS, LIKE, name, NOT_EQUALS, NOT_HAVE, STR_XS_DATETIME
 
Constructor Summary
FunctionHave(java.lang.String name, java.lang.String prefix, java.lang.String suffix)
           
 
Method Summary
protected  java.lang.String createName(java.lang.String node, java.lang.String name)
           
protected  java.lang.String getPrefix()
           
protected  java.lang.String getSuffix()
           
 java.lang.StringBuffer parse(java.lang.String node, java.lang.String name, java.lang.Object value)
          Overwrite to return a valid query string with the current function.
 
Methods inherited from class com.ontimize.dms.jcr.query.Function
convertValue, convertValue, convertValue, convertValue, convertValue, getConverter, getName, getQuote, setConverter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionHave

public FunctionHave(java.lang.String name,
                    java.lang.String prefix,
                    java.lang.String suffix)
Method Detail

createName

protected java.lang.String createName(java.lang.String node,
                                      java.lang.String name)

parse

public java.lang.StringBuffer parse(java.lang.String node,
                                    java.lang.String name,
                                    java.lang.Object value)
Description copied from class: Function

Overwrite to return a valid query string with the current function.

Specified by:
parse in class Function
name - Element name (Node, Property).
value - Value to search.
Returns:
Query string.

getPrefix

protected java.lang.String getPrefix()

getSuffix

protected java.lang.String getSuffix()

Ontimize Document Management