Author: clr Date: Tue Mar 29 16:01:00 2005 New Revision: 159450 URL: http://svn.apache.org/viewcvs?view=rev&rev=159450 Log: Add Mapping property to PersistenceManagerFactory
Modified: incubator/jdo/trunk/api20/src/java/javax/jdo/PersistenceManagerFactory.java Modified: incubator/jdo/trunk/api20/src/java/javax/jdo/PersistenceManagerFactory.java URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/api20/src/java/javax/jdo/PersistenceManagerFactory.java?view=diff&r1=159449&r2=159450 ============================================================================== --- incubator/jdo/trunk/api20/src/java/javax/jdo/PersistenceManagerFactory.java (original) +++ incubator/jdo/trunk/api20/src/java/javax/jdo/PersistenceManagerFactory.java Tue Mar 29 16:01:00 2005 @@ -193,6 +193,20 @@ */ boolean getMultithreaded(); + /** Set the Mapping setting for this factory. This is used to find the + * object-datastore mapping file(s). + * + * @param mapping the Mapping setting. + */ + void setMapping (String mapping); + + /** Get the Mapping setting for this factory. This is used to find the + * object-datastore mapping file(s). + * + * @return the Mapping setting. + */ + String getMapping (); + /** Set the default Optimistic setting for all <code>PersistenceManager</code> instances * obtained from this factory. *