Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.query.qom
Class JcrSameNode

    java.lang.Object
      org.modeshape.graph.query.model.SameNode
          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()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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