Replacement for Collection.getElementNodeName(); in Hibernate 5.4.27

I am trying to migrate Hibernate from 3.6 to 5.4.27 and I am unable to find the below method in 5.4.27

org.hibernate.mapping.Collection.getElementNodeName();

for (Collection col : getCollections())
    {
        String referencedEntity = col.getElementNodeName();
    }

I tried to read through older java doc’s to find more info on what this method returns to understand its suitable replacement but was unable to find any documentation.

Any idea on what this method returns and what would be possible replacement?

Let’s continue the discussion on Stackoverflow: java - Replacement for Collection.getElementNodeName(); in Hibernate 5.4.27 - Stack Overflow