站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

Mapping (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


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