Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 9d2713d4cbe1ec052002f10cbf1b17370a1f7745 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                               
                                                               





                                                                                                                                                                                                                                      



                                                                                                 




                                                                                                                          
                                                                                          







                                                                                                                                                                                                                                            



                                                                                                    





                                                                                                                                                                   
                                                                                      






                                                                                                                                                                 
                                                                                    






                                                                                                                                                                                                                                          



                                                                                                   
                                                                                                
                                                                                                       



                                                                                                                                                                  
                                                                                  








                                                                                                                                                                                                                                              



                                                                                                  

                                                                                                 
                                                                                                                                                                                                                                     
                                                                                                                            



                                                                               
                        
                                                                                                                                                                                                                                        
                                                                                                                               



                                                                               



                                                                                                    
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">

<!--	Generated by Teneo on Fri Sep 29 13:56:50 CEST 2006 -->
<jdo>
	<package name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Book"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<inheritance strategy="new-table">
				<discriminator column="DTYPE" strategy="value-map" value="Book"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="title" persistence-modifier="persistent" null-value="none"/>
			<field name="pages" persistence-modifier="persistent" null-value="none"/>
			<field name="category" persistence-modifier="persistent" null-value="none" embedded="true"/>
			<field name="author" persistence-modifier="persistent" delete-action="restrict" null-value="none">
				<foreign-key>
					<column name="book_author_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.WriterImpl"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.LibraryImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="library" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Library"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<inheritance strategy="new-table">
				<discriminator column="DTYPE" strategy="value-map" value="Library"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="none"/>
			<field name="writers" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.WriterImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="LIBRARY_WRITERS_IDX"/>
				<column name="library_writers_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
			<field name="books" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.BookImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="LIBRARY_BOOKS_IDX"/>
				<column name="library_books_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.WriterImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="writer" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Writer"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<inheritance strategy="new-table">
				<discriminator column="DTYPE" strategy="value-map" value="Writer"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="none"/>
			<field name="books" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.BookImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="WRITER_BOOKS_IDX"/>
				<column name="book_author_id" allows-null="true"/>
				<foreign-key delete-action="restrict" update-action="cascade"/>
			</field>
		</class>
	</package>
	<package name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.AssetImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="asset" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.Asset"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<inheritance strategy="new-table">
				<discriminator column="DTYPE" strategy="value-map" value="Asset"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="value" persistence-modifier="persistent" null-value="none"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolBookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.SchoolBook"/>
			<inheritance strategy="superclass-table">
				<discriminator value="SchoolBook"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.impl.SchoolLibraryImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.schoollibrary.SchoolLibrary"/>
			<inheritance strategy="superclass-table">
				<discriminator value="SchoolLibrary"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="location" persistence-modifier="persistent" null-value="none"/>
		</class>
	</package>
</jdo>

Back to the top