@@ -570,9 +570,10 @@ public Query<T> setParameter(Property<?> property, String value) {
570
570
}
571
571
572
572
/**
573
- * Sets a parameter previously given to the {@link QueryBuilder } to a new value.
573
+ * Changes the parameter of the query condition with the matching {@code alias } to a new {@code value} .
574
574
*
575
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
575
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
576
+ * @param value The new value to use for the query condition.
576
577
*/
577
578
public Query <T > setParameter (String alias , String value ) {
578
579
checkOpen ();
@@ -590,9 +591,10 @@ public Query<T> setParameter(Property<?> property, long value) {
590
591
}
591
592
592
593
/**
593
- * Sets a parameter previously given to the {@link QueryBuilder } to a new value.
594
+ * Changes the parameter of the query condition with the matching {@code alias } to a new {@code value} .
594
595
*
595
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
596
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
597
+ * @param value The new value to use for the query condition.
596
598
*/
597
599
public Query <T > setParameter (String alias , long value ) {
598
600
checkOpen ();
@@ -610,9 +612,10 @@ public Query<T> setParameter(Property<?> property, double value) {
610
612
}
611
613
612
614
/**
613
- * Sets a parameter previously given to the {@link QueryBuilder } to a new value.
615
+ * Changes the parameter of the query condition with the matching {@code alias } to a new {@code value} .
614
616
*
615
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
617
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
618
+ * @param value The new value to use for the query condition.
616
619
*/
617
620
public Query <T > setParameter (String alias , double value ) {
618
621
checkOpen ();
@@ -630,9 +633,10 @@ public Query<T> setParameter(Property<?> property, Date value) {
630
633
}
631
634
632
635
/**
633
- * Sets a parameter previously given to the {@link QueryBuilder } to a new value.
636
+ * Changes the parameter of the query condition with the matching {@code alias } to a new {@code value} .
634
637
*
635
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
638
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
639
+ * @param value The new value to use for the query condition.
636
640
* @throws NullPointerException if given date is null
637
641
*/
638
642
public Query <T > setParameter (String alias , Date value ) {
@@ -647,9 +651,10 @@ public Query<T> setParameter(Property<?> property, boolean value) {
647
651
}
648
652
649
653
/**
650
- * Sets a parameter previously given to the {@link QueryBuilder } to a new value.
654
+ * Changes the parameter of the query condition with the matching {@code alias } to a new {@code value} .
651
655
*
652
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
656
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
657
+ * @param value The new value to use for the query condition.
653
658
*/
654
659
public Query <T > setParameter (String alias , boolean value ) {
655
660
return setParameter (alias , value ? 1 : 0 );
@@ -761,9 +766,11 @@ public Query<T> setParameters(Property<?> property, long value1, long value2) {
761
766
}
762
767
763
768
/**
764
- * Sets a parameter previously given to the {@link QueryBuilder } to new values.
769
+ * Changes the parameters of the query condition with the matching {@code alias } to the new values.
765
770
*
766
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
771
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
772
+ * @param value1 The first value to use for the query condition.
773
+ * @param value2 The second value to use for the query condition.
767
774
*/
768
775
public Query <T > setParameters (String alias , long value1 , long value2 ) {
769
776
checkOpen ();
@@ -823,9 +830,11 @@ public Query<T> setParameters(Property<?> property, double value1, double value2
823
830
}
824
831
825
832
/**
826
- * Sets a parameter previously given to the {@link QueryBuilder } to new values.
833
+ * Changes the parameters of the query condition with the matching {@code alias } to the new values.
827
834
*
828
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
835
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
836
+ * @param value1 The first value to use for the query condition.
837
+ * @param value2 The second value to use for the query condition.
829
838
*/
830
839
public Query <T > setParameters (String alias , double value1 , double value2 ) {
831
840
checkOpen ();
@@ -864,9 +873,11 @@ public Query<T> setParameters(Property<?> property, String key, String value) {
864
873
}
865
874
866
875
/**
867
- * Sets a parameter previously given to the {@link QueryBuilder } to new values.
876
+ * Changes the parameters of the query condition with the matching {@code alias } to the new values.
868
877
*
869
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
878
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
879
+ * @param key The first value to use for the query condition.
880
+ * @param value The second value to use for the query condition.
870
881
*/
871
882
public Query <T > setParameters (String alias , String key , String value ) {
872
883
checkOpen ();
@@ -884,9 +895,10 @@ public Query<T> setParameter(Property<?> property, byte[] value) {
884
895
}
885
896
886
897
/**
887
- * Sets a parameter previously given to the {@link QueryBuilder } to new values .
898
+ * Changes the parameter of the query condition with the matching {@code alias } to a new {@code value} .
888
899
*
889
- * @param alias as defined using {@link QueryBuilder#parameterAlias(String)}.
900
+ * @param alias as defined using {@link PropertyQueryCondition#alias(String)}.
901
+ * @param value The new value to use for the query condition.
890
902
*/
891
903
public Query <T > setParameter (String alias , byte [] value ) {
892
904
checkOpen ();
0 commit comments