/** * Create a new REGULAR EXPRESSION specification for a Property. * * @param property a Property * @param regexp its value * * @return a new REGULAR EXPRESSION specification for a Property. */ public static MatchesPredicate matches( Property<String> property, String regexp ) { return new MatchesPredicate( property( property ), regexp ); }
/** * Create a new REGULAR EXPRESSION specification for a Property. * * @param property a Property * @param regexp its value * * @return a new REGULAR EXPRESSION specification for a Property. */ public static MatchesPredicate matches( Property<String> property, String regexp ) { return new MatchesPredicate( property( property ), regexp ); }
/** * Create a new REGULAR EXPRESSION specification for a Property using a named Variable. * * @param property a Property * @param variable a Query Variable * * @return a new REGULAR EXPRESSION specification for a Property using a named Variable. */ public static MatchesPredicate matches( Property<String> property, Variable variable ) { return new MatchesPredicate( property( property ), variable ); }
/** * Create a new REGULAR EXPRESSION specification for a Property using a named Variable. * * @param property a Property * @param variable a Query Variable * * @return a new REGULAR EXPRESSION specification for a Property using a named Variable. */ public static MatchesPredicate matches( Property<String> property, Variable variable ) { return new MatchesPredicate( property( property ), variable ); }