Record Class Bean<I>

java.lang.Object
java.lang.Record
org.microbean.bean.Bean<I>
Type Parameters:
I - the type of the contextual instances the associated Factory creates
Record Components:
id - the Id; must not be null
factory - the Factory; must not be null
All Implemented Interfaces:
Constable, Aggregate, Ranked

public record Bean<I>(Id id, Factory<I> factory) extends Record implements Aggregate, Constable, Ranked
A (Constable) pairing of an Id with a Factory.
Author:
Laird Nelson
See Also: