File tree 1 file changed +14
-0
lines changed
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -812,14 +812,28 @@ public Type getType() {
812
812
return type ;
813
813
}
814
814
815
+ /**
816
+ * Returns the Updated Position of the binding in the query.
817
+ *
818
+ * @return the updated position
819
+ */
815
820
public Integer getUpdatedPosition () {
816
821
return updatedPosition ;
817
822
}
818
823
824
+ /**
825
+ * Returns the Updated Name of the binding in the query.
826
+ *
827
+ * @return the updated name
828
+ */
819
829
public String getUpdatedName () {
820
830
return updatedName ;
821
831
}
822
832
833
+ /**
834
+ * Check if the bindings updated name is equal to the provided name.
835
+ *
836
+ */
823
837
boolean hasUpdatedName (@ Nullable String name ) {
824
838
return this .updatedPosition == null && this .updatedName != null && this .updatedName .equals (name );
825
839
}
You can’t perform that action at this time.
0 commit comments