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

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


org.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(String className)
           
 Type getIdentifierType(String className)
           
 Type getReferencedPropertyType(String className, String propertyName)
           
 

Method Detail

getIdentifierType

public Type getIdentifierType(String className)
                       throws MappingException
Throws:
MappingException

getIdentifierPropertyName

public String getIdentifierPropertyName(String className)
                                 throws MappingException
Throws:
MappingException

getReferencedPropertyType

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