MetadataNamedAggregateGetter

A named aggregate getter that always returns a predefined named aggregate from metadata.

This implementation is used when the named aggregate is known from configuration or metadata and doesn't need to be derived from the target object.

Parameters

T

The type of the target object.

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate)

Properties

Link copied to clipboard

The predefined named aggregate to return.

Functions

Link copied to clipboard
open override fun getNamedAggregate(target: T): NamedAggregate

Returns the predefined named aggregate, ignoring the target.