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.

Since:
JCR 2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the property.
    Gets the name of the selector against which to apply this constraint.
  • Method Details

    • 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