Class XmlProcessingHelper

java.lang.Object
org.hibernate.boot.models.xml.internal.XmlProcessingHelper

public class XmlProcessingHelper extends Object
Common helper utilities for handling mapping XML processing
  • Constructor Details

    • XmlProcessingHelper

      public XmlProcessingHelper()
  • Method Details

    • determineClassName

      public static String determineClassName(JaxbEntityMappingsImpl jaxbRoot, JaxbManagedType jaxbManagedType)
      Determine the name of a class defined in XML, accounting for <package/>
      Parameters:
      jaxbRoot - The <entity-mappings/> node for access to the package (if one)
      jaxbManagedType - The class JAXB node
    • inverse

      public static AccessType inverse(AccessType accessType)
    • getAttributeMember

      public static org.hibernate.models.spi.MutableMemberDetails getAttributeMember(String attributeName, AccessType accessType, org.hibernate.models.spi.MutableClassDetails classDetails)
      Find the member backing the named attribute
    • findAttributeMember

      public static org.hibernate.models.spi.MutableMemberDetails findAttributeMember(String attributeName, AccessType accessType, org.hibernate.models.spi.MutableClassDetails classDetails)
      Find the member backing the named attribute