download Mapping.java
Language: Java
LOC: 7
Project Info
Hibernate
Server: SourceForge
Type: cvs
...te\cirrus\hibernate\engine\
   Batcher.java
   Cascades.java
   Key.java
   Mapping.java
   ...FactoryImplementor.java
   SessionImplementor.java
   Versioning.java

//$Id: Mapping.java,v 1.1 2002/10/01 01:25:29 oneovthafew Exp $
package cirrus.hibernate.engine;

import cirrus.hibernate.MappingException;
import cirrus.hibernate.type.Type;

/**
 * Defines operations common to "compiled" mappings (ie. <tt>SessionFactory</tt>)
 * and "uncompiled" mappings (ie. <tt>Datastore</tt>) that are used by
 * implementors of <tt>Type</tt>.
 * @see cirrus.hibernate.type.Type
 * @see cirrus.hibernate.impl.SessionFactoryImpl
 * @see cirrus.hibernate.impl.DatastoreImpl
 */
public interface Mapping {
	public Type getIdentifierType(Class persistentClass) throws MappingException;
	public Type getCollectionKeyType(String role) throws MappingException;
}

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us