Class PropertyExistenceConstraint

  • All Implemented Interfaces:
    Constraint

    public class PropertyExistenceConstraint
    extends QueryConstraint
    PropertyExistenceConstraint implements a property existence constraint.
    • Constructor Detail

      • PropertyExistenceConstraint

        public PropertyExistenceConstraint​(PropertyExistenceImpl prop,
                                           SelectorImpl selector,
                                           LuceneQueryFactory factory)
                                    throws RepositoryException
        Creates a new property existence constraint.
        Parameters:
        prop - the QOM property existence constraint.
        selector - the selector for this constraint.
        factory - the lucene query factory.
        Throws:
        RepositoryException - if an error occurs while creating a lucene query for this constraint.