NamedAssociation<T> namedAssociation = (NamedAssociation<T>) state.get( accessor );
if( namedAssociation == null )
{
NamedAssociationModel associationModel = stateModel.getNamedAssociation( accessor );
namedAssociation = new NamedAssociationInstance<>(
entityState instanceof BuilderEntityState
? associationModel.getBuilderInfo()
: associationModel,
entityFunction,
entityState.namedAssociationValueOf( associationModel.qualifiedName() ) );
state.put( accessor, namedAssociation );
}
return namedAssociation;
}