org.modeshape.jcr.query.qom
Class JcrSameNode

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

public class JcrSameNode
extends SameNode
implements SameNode, JcrConstraint

Implementation of the same node constraint for the JCR Query Object Model and the Graph API.

See Also:
Serialized Form

Constructor Summary
JcrSameNode(SelectorName selectorName, String ancestorPath)
           
 
Method Summary
 String getPath()
          
 String getSelectorName()
          
 
Methods inherited from class org.modeshape.graph.query.model.SameNode
accept, equals, hashCode, path, selectorName, 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

JcrSameNode

public JcrSameNode(SelectorName selectorName,
                   String ancestorPath)
Parameters:
selectorName -
ancestorPath -
Method Detail

getPath

public String getPath()

Specified by:
getPath in interface SameNode
See Also:
SameNode.getPath()

getSelectorName

public String getSelectorName()

Specified by:
getSelectorName in interface SameNode
See Also:
PropertyValue.getSelectorName()


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