GraphLogger.log( "Found owner node: %1$s", entityNode );
if ( entityNode == null ) {
return null;
}
return new Association(
new Neo4jAssociationSnapshot(
entityNode,
associationKey,
associationContext.getAssociationTypeContext().getAssociatedEntityKeyMetadata(),
associationContext.getAssociationTypeContext().getRoleOnMainSide()
)