org.modeshape.jcr.query.qom
Class JcrNot

java.lang.Object
  extended by org.modeshape.graph.query.model.Not
      extended by org.modeshape.jcr.query.qom.JcrNot
All Implemented Interfaces:
Serializable, Not, Constraint, LanguageObject, Visitable, JcrConstraint

public class JcrNot
extends Not
implements Not, JcrConstraint

Implementation of the 'not' constraint for the JCR Query Object Model and the Graph API.

See Also:
Serialized Form

Constructor Summary
JcrNot(JcrConstraint constraint)
           
 
Method Summary
 JcrConstraint constraint()
          The constraint being negated.
 JcrConstraint getConstraint()
          
 
Methods inherited from class org.modeshape.graph.query.model.Not
accept, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.modeshape.graph.query.model.Visitable
accept
 

Constructor Detail

JcrNot

public JcrNot(JcrConstraint constraint)
Parameters:
constraint -
Method Detail

constraint

public JcrConstraint constraint()
The constraint being negated.

Overrides:
constraint in class Not
Returns:
the constraint; never null
See Also:
Not.constraint()

getConstraint

public JcrConstraint getConstraint()

Specified by:
getConstraint in interface Not
See Also:
Not.getConstraint()


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.