Class XmlProcessingHelper
java.lang.Object
org.hibernate.boot.models.xml.internal.XmlProcessingHelper
Common helper utilities for handling mapping XML processing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
determineClassName
(JaxbEntityMappingsImpl jaxbRoot, JaxbManagedType jaxbManagedType) Determine the name of a class defined in XML, accounting for<package/>
static org.hibernate.models.spi.MutableMemberDetails
findAttributeMember
(String attributeName, AccessType accessType, org.hibernate.models.spi.MutableClassDetails classDetails) Find the member backing the named attributestatic org.hibernate.models.spi.MutableMemberDetails
getAttributeMember
(String attributeName, AccessType accessType, org.hibernate.models.spi.MutableClassDetails classDetails) Find the member backing the named attributestatic AccessType
inverse
(AccessType accessType)
-
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
-
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
-