org.kuali.rice.krad.app.persistence.jpa
Class PackagePersistableBusinessObjectClassExposer

java.lang.Object
  extended by org.kuali.rice.krad.app.persistence.jpa.PackagePersistableBusinessObjectClassExposer
All Implemented Interfaces:
PersistableBusinessObjectClassExposer

public abstract class PackagePersistableBusinessObjectClassExposer
extends Object
implements PersistableBusinessObjectClassExposer

Abstract class which exposes as JPA managed classes all of the business objects in a given package

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
PackagePersistableBusinessObjectClassExposer()
           
 
Method Summary
 Set<String> exposePersistableBusinessObjectClassNames()
          Exposes all of the JPA annotated entities in the package given by the getPackageNameToExpose method to be managed by the PersistenceUnit calling this
abstract  List<String> getPackageNamesToExpose()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackagePersistableBusinessObjectClassExposer

public PackagePersistableBusinessObjectClassExposer()
Method Detail

exposePersistableBusinessObjectClassNames

public Set<String> exposePersistableBusinessObjectClassNames()
Exposes all of the JPA annotated entities in the package given by the getPackageNameToExpose method to be managed by the PersistenceUnit calling this

Specified by:
exposePersistableBusinessObjectClassNames in interface PersistableBusinessObjectClassExposer
Returns:
a Set of class names to be managed by JPA
See Also:
PersistableBusinessObjectClassExposer.exposePersistableBusinessObjectClassNames()

getPackageNamesToExpose

public abstract List<String> getPackageNamesToExpose()
Returns:
the name of the package to expose all JPA annotated entities in


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.