public abstract class SelectorBasedConstraint extends Object implements Constraint
SelectorBasedConstraint implements a constraint that is based
on a named selector.| Constructor and Description |
|---|
SelectorBasedConstraint(org.apache.jackrabbit.spi.commons.query.qom.SelectorImpl selector)
Creates a new constraint based on the given
selector. |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jackrabbit.spi.commons.query.qom.SelectorImpl |
getSelector() |
protected int |
getSelectorIndex(org.apache.jackrabbit.spi.Name[] names)
Returns the selector index of this constraint.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluatepublic SelectorBasedConstraint(org.apache.jackrabbit.spi.commons.query.qom.SelectorImpl selector)
selector.selector - the selector this constraint is based on.protected int getSelectorIndex(org.apache.jackrabbit.spi.Name[] names)
names - the selector names.protected org.apache.jackrabbit.spi.commons.query.qom.SelectorImpl getSelector()
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.