org.apache.jackrabbit.core.query.jsr283.qom
Interface PropertyExistence

All Superinterfaces:
Constraint
All Known Implementing Classes:
PropertyExistenceImpl

public interface PropertyExistence
extends Constraint

Tests the existence of a property.

A node-tuple satisfies the constraint if the selector node has a property named property.

The query is invalid if:

Since:
JCR 2.0

Method Summary
 String getPropertyName()
          Gets the name of the property.
 String getSelectorName()
          Gets the name of the selector against which to apply this constraint.
 

Method Detail

getSelectorName

String getSelectorName()
Gets the name of the selector against which to apply this constraint.

Returns:
the selector name; non-null

getPropertyName

String getPropertyName()
Gets the name of the property.

Returns:
the property name; non-null


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.