org.unitils.orm.common.util
Class ConfiguredOrmPersistenceUnit<ORMPU,ORMCONFOBJ>

java.lang.Object
  extended by org.unitils.orm.common.util.ConfiguredOrmPersistenceUnit<ORMPU,ORMCONFOBJ>
Type Parameters:
ORMPU - Type of the persistence unit
ORMCONFOBJ - Type of the configuration object

public class ConfiguredOrmPersistenceUnit<ORMPU,ORMCONFOBJ>
extends Object

Value object that wraps a persistence unit object and an implementation specific configuration object

Author:
Filip Neven, Tim Ducheyne

Constructor Summary
ConfiguredOrmPersistenceUnit(ORMPU ormPersistenceUnit, ORMCONFOBJ ormConfigurationObject)
          Creates a new instance
 
Method Summary
 ORMCONFOBJ getOrmConfigurationObject()
           
 ORMPU getOrmPersistenceUnit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguredOrmPersistenceUnit

public ConfiguredOrmPersistenceUnit(ORMPU ormPersistenceUnit,
                                    ORMCONFOBJ ormConfigurationObject)
Creates a new instance

Parameters:
ormPersistenceUnit -
ormConfigurationObject -
Method Detail

getOrmPersistenceUnit

public ORMPU getOrmPersistenceUnit()

getOrmConfigurationObject

public ORMCONFOBJ getOrmConfigurationObject()


Copyright © 2011. All Rights Reserved.