Enabling class composition oneToOne entities