| Package | Description |
|---|---|
| org.occurrent.domain |
| Modifier and Type | Class and Description |
|---|---|
class |
NameDefined |
class |
NameWasChanged |
| Modifier and Type | Method and Description |
|---|---|
DomainEvent |
DomainEventConverter.convertToDomainEvent(io.cloudevents.CloudEvent cloudEvent) |
| Modifier and Type | Method and Description |
|---|---|
static List<DomainEvent> |
Composition.chain(List<DomainEvent> initialDomainEvents,
Function<List<DomainEvent>,List<DomainEvent>> f) |
static List<DomainEvent> |
Name.changeName(List<DomainEvent> events,
String eventId,
LocalDateTime time,
String newName) |
static List<DomainEvent> |
Name.changeNameFromCommand(List<DomainEvent> events,
ChangeName changeName) |
static List<DomainEvent> |
Name.defineName(List<DomainEvent> events,
String eventId,
LocalDateTime time,
String name) |
static List<DomainEvent> |
Name.defineNameFromCommand(List<DomainEvent> events,
DefineName defineName) |
static List<DomainEvent> |
Name.defineTheName(String eventId,
LocalDateTime time,
String name) |
| Modifier and Type | Method and Description |
|---|---|
io.cloudevents.CloudEvent |
DomainEventConverter.convertToCloudEvent(DomainEvent e) |
| Modifier and Type | Method and Description |
|---|---|
static List<DomainEvent> |
Composition.chain(List<DomainEvent> initialDomainEvents,
Function<List<DomainEvent>,List<DomainEvent>> f) |
static List<DomainEvent> |
Composition.chain(List<DomainEvent> initialDomainEvents,
Function<List<DomainEvent>,List<DomainEvent>> f) |
static List<DomainEvent> |
Composition.chain(List<DomainEvent> initialDomainEvents,
Function<List<DomainEvent>,List<DomainEvent>> f) |
static List<DomainEvent> |
Name.changeName(List<DomainEvent> events,
String eventId,
LocalDateTime time,
String newName) |
static List<DomainEvent> |
Name.changeNameFromCommand(List<DomainEvent> events,
ChangeName changeName) |
static List<DomainEvent> |
Name.defineName(List<DomainEvent> events,
String eventId,
LocalDateTime time,
String name) |
static List<DomainEvent> |
Name.defineNameFromCommand(List<DomainEvent> events,
DefineName defineName) |
Copyright © 2022. All rights reserved.