net.sf.hibernate.engine
Interface Mapping

All Known Subinterfaces:
SessionFactoryImplementor
All 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(Class persistentClass)
           
 Type getIdentifierType(Class persistentClass)
           
 Type getPropertyType(Class persistentClass, String propertyName)
           
 

Method Detail

getIdentifierType

public Type getIdentifierType(Class persistentClass)
                       throws MappingException
Throws:
MappingException

getIdentifierPropertyName

public String getIdentifierPropertyName(Class persistentClass)
                                 throws MappingException
Throws:
MappingException

getPropertyType

public Type getPropertyType(Class persistentClass,
                            String propertyName)
                     throws MappingException
Throws:
MappingException