javax.jcr.query.qom.Or Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
/*
* Copyright 2009 Day Management AG, Switzerland. All rights reserved.
*/
package javax.jcr.query.qom;
/**
* Performs a logical disjunction of two other constraints.
*
* To satisfy the Or
constraint, the node-tuple must either:
* - satisfy {@link #getConstraint1 constraint1} but not {@link
* #getConstraint2 constraint2}, or
- satisfy {@link #getConstraint2
* constraint2} but not {@link #getConstraint1 constraint1}, or
- satisfy
* both {@link #getConstraint1 constraint1} and {@link #getConstraint2
* constraint2}.
*
* @since JCR 2.0
*/
public interface Or
extends Constraint {
/**
* Gets the first constraint.
*
* @return the constraint; non-null
*/
public Constraint getConstraint1();
/**
* Gets the second constraint.
*
* @return the constraint; non-null
*/
public Constraint getConstraint2();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy