com.github.rahulsom.grooves.api.events.DisjoinEvent Maven / Gradle / Ivy
package com.github.rahulsom.grooves.api.events;
import com.github.rahulsom.grooves.api.AggregateType;
/**
* Breaks a join from {@link AggregateT} to {@link DisjoinedAggregateT} that had existed earlier.
*
* @param The Aggregate that had its link severed
* @param The Type for Event's {@link #getId} field
* @param The parent event type
* @param The target aggregate
*
* @author Rahul Somasunderam
*/
public interface DisjoinEvent<
AggregateT extends AggregateType,
EventIdT,
EventT,
DisjoinedAggregateT extends AggregateType>
extends BaseEvent {
DisjoinedAggregateT getJoinAggregate();
void setJoinAggregate(DisjoinedAggregateT rollupAggregate);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy