ai.stapi.graphsystem.messaging.event.AggregateGraphUpdatedEvent Maven / Gradle / Ivy
package ai.stapi.graphsystem.messaging.event;
import ai.stapi.graph.graphElementForRemoval.GraphElementForRemoval;
import ai.stapi.graph.Graph;
import ai.stapi.identity.UniqueIdentifier;
import java.util.List;
public abstract class AggregateGraphUpdatedEvent
extends GraphUpdatedEvent {
private T identity;
protected AggregateGraphUpdatedEvent() {
}
protected AggregateGraphUpdatedEvent(
T identity,
List graphElementsForRemoval
) {
super(graphElementsForRemoval);
this.identity = identity;
}
protected AggregateGraphUpdatedEvent(
T identity,
Graph synchronizedGraph
) {
super(synchronizedGraph);
this.identity = identity;
}
protected AggregateGraphUpdatedEvent(
T identity,
Graph synchronizedGraph,
List graphElementsForRemoval
) {
super(synchronizedGraph, graphElementsForRemoval);
this.identity = identity;
}
public T getIdentity() {
return identity;
}
}