NamedBoundedContext

Interface for entities that belong to a named bounded context.

In Domain-Driven Design, a bounded context represents a boundary within which a particular domain model applies. This interface allows entities to declare their association with a specific bounded context by name.

Inheritors

Properties

Link copied to clipboard
abstract val contextName: String

The name of the bounded context this entity belongs to.

Functions

Link copied to clipboard

Checks if this entity belongs to the same bounded context as another entity.