javax.jcr.query.qom
Interface PropertyExistence

All Superinterfaces:
Constraint

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.

Since:
JCR 2.0

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

Method Detail

getSelectorName

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

Returns:
the selector name; non-null

getPropertyName

java.lang.String getPropertyName()
Gets the name of the property.

Returns:
the property name; non-null


Copyright © 2009 Day Software. All Rights Reserved.