org.unitils.orm.common.util
Class OrmConfig

java.lang.Object
  extended by org.unitils.orm.common.util.OrmConfig
All Implemented Interfaces:
ResourceConfig
Direct Known Subclasses:
JpaConfig

public class OrmConfig
extends Object
implements ResourceConfig

Object wrapping all configuration needed for defining a persistence unit for a test object

Author:
Filip Neven, Tim Ducheyne

Constructor Summary
OrmConfig(Set<String> configFiles, Method configMethod)
          Creates a new instance
 
Method Summary
 boolean equals(Object obj)
           
 Set<String> getConfigFiles()
           
 Method getConfigMethod()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrmConfig

public OrmConfig(Set<String> configFiles,
                 Method configMethod)
Creates a new instance

Parameters:
configFiles -
configMethod -
Method Detail

getConfigFiles

public Set<String> getConfigFiles()

getConfigMethod

public Method getConfigMethod()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.