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 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