Class OrImpl
- java.lang.Object
- 
- org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
- 
- org.apache.jackrabbit.spi.commons.query.qom.ConstraintImpl
- 
- org.apache.jackrabbit.spi.commons.query.qom.OrImpl
 
 
 
- 
- All Implemented Interfaces:
- Constraint,- Or
 
 public class OrImpl extends ConstraintImpl implements Or OrImpl...
- 
- 
Field Summary- 
Fields inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNoderesolver
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(QOMTreeVisitor visitor, Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.ConstraintgetConstraint1()Gets the first constraint.ConstraintgetConstraint2()Gets the second constraint.StringtoString()- 
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNodegetJCRName, getJCRPath, protect, quote, quote
 
- 
 
- 
- 
- 
Method Detail- 
getConstraint1public Constraint getConstraint1() Gets the first constraint.- Specified by:
- getConstraint1in interface- Or
- Returns:
- the constraint; non-null
 
 - 
getConstraint2public Constraint getConstraint2() Gets the second constraint.- Specified by:
- getConstraint2in interface- Or
- Returns:
- the constraint; non-null
 
 - 
acceptpublic Object accept(QOMTreeVisitor visitor, Object data) throws Exception Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.- Specified by:
- acceptin class- AbstractQOMNode
- Parameters:
- visitor- the visitor.
- data- user defined data, which is passed to the visit method.
- Throws:
- Exception
 
 
- 
 
-