isSameAggregateName

Checks if two aggregates belong to the same context and have the same aggregate name.

Return

true if both aggregates belong to the same context and have the same name, false otherwise.

Parameters

other

Another NamedAggregate instance to compare with.