/** * Create a new GREATER THAN specification for a Property. * * @param property a Property * @param value its value * * @return a new GREATER THAN specification for a Property. */ public static <T> GtSpecification<T> gt( Property<T> property, T value ) { return new GtSpecification<>( property( property ), value ); }
/** * Create a new GREATER THAN specification for a Property using a named Variable. * * @param property a Property * @param variable a Query Variable * * @return a new GREATER THAN specification for a Property using a named Variable. */ @SuppressWarnings( {"raw", "unchecked"} ) public static <T> GtSpecification<T> gt( Property<T> property, Variable variable ) { return new GtSpecification( property( property ), variable ); }