@@ -34,7 +34,7 @@ public abstract class AbstractEventWrapper extends AbstractProductProcessITextEv
34
34
/**
35
35
* Creates a wrapper for the event.
36
36
*
37
- * @param event is a {@link AbstractProductProcessITextEvent} to wrap
37
+ * @param event is a {@link AbstractProductProcessITextEvent} to wrap
38
38
* @param confirmationType event confirmation type
39
39
*/
40
40
protected AbstractEventWrapper (AbstractProductProcessITextEvent event , EventConfirmationType confirmationType ) {
@@ -47,8 +47,8 @@ protected AbstractEventWrapper(AbstractProductProcessITextEvent event, EventConf
47
47
*
48
48
* @param updatedSequenceId is a {@link SequenceId} for the document. May be different with
49
49
* sequence id of original event
50
- * @param event is a {@link AbstractProductProcessITextEvent} to wrap
51
- * @param confirmationType event confirmation type
50
+ * @param event is a {@link AbstractProductProcessITextEvent} to wrap
51
+ * @param confirmationType event confirmation type
52
52
*/
53
53
protected AbstractEventWrapper (SequenceId updatedSequenceId ,
54
54
AbstractProductProcessITextEvent event , EventConfirmationType confirmationType ) {
@@ -65,11 +65,21 @@ public AbstractProductProcessITextEvent getEvent() {
65
65
return event ;
66
66
}
67
67
68
+ /**
69
+ * Obtains the class from context of the wrapped event.
70
+ *
71
+ * @return class from context
72
+ */
68
73
@ Override
69
74
public Class <?> getClassFromContext () {
70
75
return getEvent ().getClassFromContext ();
71
76
}
72
77
78
+ /**
79
+ * Obtains the event type of the wrapped event.
80
+ *
81
+ * @return event type
82
+ */
73
83
@ Override
74
84
public String getEventType () {
75
85
return getEvent ().getEventType ();
0 commit comments