net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion
Class JCRFunctionExpression
java.lang.Object
net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.BaseCriterion
net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.JCRFunctionExpression
- All Implemented Interfaces:
- Serializable, Criterion
- Direct Known Subclasses:
- LikeExpression
public class JCRFunctionExpression
- extends BaseCriterion
- implements Criterion
- Version:
- $Id: JCRFunctionExpression.java 3285 2011-01-24 18:10:19Z fgiust $
- Author:
- fgrilli
- See Also:
- Serialized Form
propertyName
protected final String propertyName
value
protected final Object value
function
protected final String function
JCRFunctionExpression
public JCRFunctionExpression(String propertyName,
Object value,
String function)
getFunction
protected final String getFunction()
toXPathString
public String toXPathString(Criteria criteria)
throws JCRQueryException
- Description copied from interface:
Criterion
- Render the XPath fragment
- Specified by:
toXPathString in interface Criterion
- Parameters:
criteria - input criteria
- Returns:
- converted XPATH expression
- Throws:
JCRQueryException - if there is a problem converting the input criteria to a valid xpath expression
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2011 Openmind. All Rights Reserved.