org.hibernate.engine

Interface Mapping

Known Subinterfaces:
SessionFactoryImplementor
Known Implementing Classes:
SessionFactoryImpl

public interface Mapping

Defines operations common to "compiled" mappings (ie. SessionFactory) and "uncompiled" mappings (ie. Configuration) that are used by implementors of Type.
Author:
Gavin King
See Also:
Type, SessionFactoryImpl, Configuration

Method Summary

String
getIdentifierPropertyName(String className)
Type
getIdentifierType(String className)
Type
getReferencedPropertyType(String className, String propertyName)

Method Details

getIdentifierPropertyName

public String getIdentifierPropertyName(String className)
            throws MappingException

getIdentifierType

public Type getIdentifierType(String className)
            throws MappingException

getReferencedPropertyType

public Type getReferencedPropertyType(String className,
                                      String propertyName)
            throws MappingException