gradle
8.3

# namedDomainObjectSet

abstract fun <T> namedDomainObjectSet(elementType: Class<T>): NamedDomainObjectSet<T>

Creates a new NamedDomainObjectSet for managing named objects of the specified type.

All objects MUST expose their name as a bean property called "name". The name must be constant for the life of the object.

#### Return

The domain object set.

#### Parameters

elementType

The type of objects for the domain object set to contain.

<T>

The type of objects for the domain object set to contain.