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

Method Detail

getIdentifierType

Type getIdentifierType(java.lang.String className)
                       throws MappingException
Throws:
MappingException

getIdentifierPropertyName

java.lang.String getIdentifierPropertyName(java.lang.String className)
                                           throws MappingException
Throws:
MappingException

getReferencedPropertyType

Type getReferencedPropertyType(java.lang.String className,
                               java.lang.String propertyName)
                               throws MappingException
Throws:
MappingException


Copyright © 2008 Hibernate.org. All Rights Reserved.