DomainEvent

io.github.positionpal.location.domain.DomainEvent
trait DomainEvent

A generic domain event, representing a valuable change in the system.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def group: GroupId

The group the user belongs to and the event is related to.

The group the user belongs to and the event is related to.

Attributes

def timestamp: Instant

The timestamp when the event occurred.

The timestamp when the event occurred.

Attributes

def user: UserId

The user who triggered the event.

The user who triggered the event.

Attributes

Concrete methods

def scope: Scope

The Scope of the event, i.e., an aggregation of the user and group this event is related to.

The Scope of the event, i.e., an aggregation of the user and group this event is related to.

Attributes