context

protected final BoundedContext context()

Obtains the BoundedContext to which this repository belongs.

Return

parent BoundedContext

Throws

if the repository has no context assigned