You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/event/BeforeDeleteCallback.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ public interface BeforeDeleteCallback<T> extends EntityCallback<T> {
37
37
* account for deleting. Only transient fields of the entity should be changed in this callback.
38
38
*
39
39
* @param aggregate the aggregate.
40
-
* @param aggregateChange the associated {@link DefaultAggregateChange}.
40
+
* @param aggregateChange the associated {@link MutableAggregateChange}.
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/render/DelegatingVisitor.java
+13-8
Original file line number
Diff line number
Diff line change
@@ -26,18 +26,21 @@
26
26
* Abstract base class for delegating {@link Visitor} implementations. This class implements a delegation pattern using
27
27
* visitors. A delegating {@link Visitor} can implement {@link #doEnter(Visitable)} and {@link #doLeave(Visitable)}
28
28
* methods to provide its functionality.
29
-
* <p/>
29
+
* <p>
30
30
* <h3>Delegation</h3> Typically, a {@link Visitor} is scoped to a single responsibility. If a {@link Visitor segment}
31
31
* requires {@link #doEnter(Visitable) processing} that is not directly implemented by the visitor itself, the current
32
32
* {@link Visitor} can delegate processing to a {@link DelegatingVisitor delegate}. Once a delegation is installed, the
33
33
* {@link DelegatingVisitor delegate} is used as {@link Visitor} for the current and all subsequent items until it
34
34
* {@link #doLeave(Visitable) signals} that it is no longer responsible.
35
-
* <p/>
35
+
* </p>
36
+
* <p>
36
37
* Nested visitors are required to properly signal once they are no longer responsible for a {@link Visitor segment} to
37
38
* step back from the delegation. Otherwise, parents are no longer involved in the visitation.
38
-
* <p/>
39
+
* </p>
40
+
* <p>
39
41
* Delegation is recursive and limited by the stack size.
40
-
*
42
+
* </p>
43
+
*
41
44
* @author Mark Paluch
42
45
* @since 1.1
43
46
* @see FilteredSubtreeVisitor
@@ -49,11 +52,12 @@ abstract class DelegatingVisitor implements Visitor {
49
52
50
53
/**
51
54
* Invoked for a {@link Visitable segment} when entering the segment.
52
-
* <p/>
55
+
* <p>
53
56
* This method can signal whether it is responsible for handling the {@link Visitor segment} or whether the segment
54
57
* requires delegation to a sub-{@link Visitor}. When delegating to a sub-{@link Visitor}, {@link #doEnter(Visitable)}
55
58
* is called on the {@link DelegatingVisitor delegate}.
56
-
*
59
+
* </p>
60
+
*
57
61
* @param segment must not be {@literal null}.
58
62
* @return
59
63
*/
@@ -86,11 +90,12 @@ public final void enter(Visitable segment) {
86
90
87
91
/**
88
92
* Invoked for a {@link Visitable segment} when leaving the segment.
89
-
* <p/>
93
+
* <p>
90
94
* This method can signal whether this {@link Visitor} should remain responsible for handling subsequent
91
95
* {@link Visitor segments} or whether it should step back from delegation. When stepping back from delegation,
92
96
* {@link #doLeave(Visitable)} is called on the {@link DelegatingVisitor parent delegate}.
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/render/FilteredSubtreeVisitor.java
+3-2
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
* Filtering {@link DelegatingVisitor visitor} applying a {@link Predicate filter}. Typically used as base class for
26
26
* {@link Visitor visitors} that wish to apply hierarchical processing based on a well-defined entry {@link Visitor
27
27
* segment}.
28
-
* <p/>
28
+
* <p>
29
29
* Filtering is a three-way process:
30
30
* <ol>
31
31
* <li>Ignores elements that do not match the filter {@link Predicate}.</li>
@@ -35,7 +35,8 @@
35
35
* children of the matched {@link Visitable} until {@link #leaveMatched(Visitable) leaving the matched}
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/render/TypedSubtreeVisitor.java
+3-2
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
* Type-filtering {@link DelegatingVisitor visitor} applying a {@link Class type filter} derived from the generic type
27
27
* parameter. Typically used as base class for {@link Visitor visitors} that wish to apply hierarchical processing based
28
28
* on a well-defined entry {@link Visitor segment}.
29
-
* <p/>
29
+
* <p>
30
30
* Filtering is a three-way process:
31
31
* <ol>
32
32
* <li>Ignores elements that do not match the filter {@link Predicate}.</li>
@@ -36,7 +36,8 @@
36
36
* children of the matched {@link Visitable} until {@link #leaveMatched(Visitable) leaving the matched}
0 commit comments