org.apache.cayenne.jpa.conf
Class EntityMapLoaderContext

java.lang.Object
  extended by org.apache.cayenne.jpa.conf.EntityMapLoaderContext

public class EntityMapLoaderContext
extends Object

A common context shared by different loaders during JPA mapping information processing.

Author:
Andrus Adamchik

Field Summary
protected  ValidationResult conflicts
           
protected  JpaEntityMap entityMap
           
protected  ClassLoader tempClassLoader
           
protected  PersistenceUnitInfo unit
           
 
Constructor Summary
EntityMapLoaderContext(PersistenceUnitInfo unit)
           
 
Method Summary
 ValidationResult getConflicts()
           
 JpaEntityMap getEntityMap()
           
 ClassLoader getTempClassLoader()
           
 PersistenceUnitInfo getUnit()
           
 void recordConflict(ValidationFailure conflict)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conflicts

protected ValidationResult conflicts

entityMap

protected JpaEntityMap entityMap

unit

protected PersistenceUnitInfo unit

tempClassLoader

protected ClassLoader tempClassLoader
Constructor Detail

EntityMapLoaderContext

public EntityMapLoaderContext(PersistenceUnitInfo unit)
Method Detail

getUnit

public PersistenceUnitInfo getUnit()

getEntityMap

public JpaEntityMap getEntityMap()

recordConflict

public void recordConflict(ValidationFailure conflict)

getConflicts

public ValidationResult getConflicts()

getTempClassLoader

public ClassLoader getTempClassLoader()


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.