cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r979660 [3/3] - in /cayenne/main/trunk/docs/doc/src/main/image-src: ./ single-table-inheritance/ vertical-inheritance/
Date Tue, 27 Jul 2010 12:12:44 GMT
Added: cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/UntitledDomainMap.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/UntitledDomainMap.map.xml?rev=979660&view=auto
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/UntitledDomainMap.map.xml
(added)
+++ cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/UntitledDomainMap.map.xml
Tue Jul 27 12:12:44 2010
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data-map xmlns="http://cayenne.apache.org/schema/3.0/modelMap"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://cayenne.apache.org/schema/3.0/modelMap http://cayenne.apache.org/schema/3.0/modelMap.xsd"
+  project-version="3.0.0.1">
+	<property name="defaultPackage" value="org.example"/>
+	<db-entity name="BOOK">
+		<db-attribute name="AUTHOR" type="VARCHAR" length="500"/>
+		<db-attribute name="DOWNLOAD_URL" type="VARCHAR" length="500"/>
+		<db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/>
+		<db-attribute name="IN_STOCK" type="BOOLEAN"/>
+		<db-attribute name="ISBN" type="CHAR" length="9"/>
+		<db-attribute name="PRICE" type="DECIMAL"/>
+		<db-attribute name="SHIPPING_WEIGHT" type="DECIMAL"/>
+		<db-attribute name="SIZE_MB" type="DECIMAL"/>
+		<db-attribute name="TITLE" type="VARCHAR" length="500"/>
+		<db-attribute name="TYPE" type="CHAR" isMandatory="true" length="1"/>
+	</db-entity>
+	<obj-entity name="Book" className="org.example.Book" dbEntityName="BOOK">
+		<obj-attribute name="author" type="java.lang.String" db-attribute-path="AUTHOR"/>
+		<obj-attribute name="isbn" type="java.lang.String" db-attribute-path="ISBN"/>
+		<obj-attribute name="price" type="java.math.BigDecimal" db-attribute-path="PRICE"/>
+		<obj-attribute name="title" type="java.lang.String" db-attribute-path="TITLE"/>
+		<obj-attribute name="type" type="java.lang.String" db-attribute-path="TYPE"/>
+	</obj-entity>
+	<obj-entity name="PaperBook" superEntityName="Book" className="org.example.PaperBook">
+		<qualifier><![CDATA[type = "P"]]></qualifier>
+	</obj-entity>
+</data-map>

Added: cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/cayenne.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/cayenne.xml?rev=979660&view=auto
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/cayenne.xml (added)
+++ cayenne/main/trunk/docs/doc/src/main/image-src/single-table-inheritance/cayenne.xml Tue
Jul 27 12:12:44 2010
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<domains project-version="3.0.0.1">
+<domain name="UntitledDomain">
+	<map name="UntitledDomainMap" location="UntitledDomainMap.map.xml"/>
+</domain>
+</domains>

Added: cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/UntitledDomainMap.map.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/UntitledDomainMap.map.xml?rev=979660&view=auto
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/UntitledDomainMap.map.xml
(added)
+++ cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/UntitledDomainMap.map.xml
Tue Jul 27 12:12:44 2010
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data-map xmlns="http://cayenne.apache.org/schema/3.0/modelMap"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://cayenne.apache.org/schema/3.0/modelMap http://cayenne.apache.org/schema/3.0/modelMap.xsd"
+  project-version="3.0.0.1">
+	<property name="defaultPackage" value="org.example"/>
+	<db-entity name="BOOK">
+		<db-attribute name="AUTHOR" type="VARCHAR" length="500"/>
+		<db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/>
+		<db-attribute name="ISBN" type="CHAR" length="9"/>
+		<db-attribute name="PRICE" type="DECIMAL"/>
+		<db-attribute name="TITLE" type="VARCHAR" length="500"/>
+		<db-attribute name="TYPE" type="CHAR" isMandatory="true" length="1"/>
+	</db-entity>
+	<db-entity name="EBOOK">
+		<db-attribute name="DOWNLOAD_URL" type="VARCHAR" length="500"/>
+		<db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/>
+		<db-attribute name="SIZE_MB" type="DECIMAL"/>
+	</db-entity>
+	<db-entity name="PAPER_BOOK">
+		<db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/>
+		<db-attribute name="IN_STOCK" type="BOOLEAN"/>
+		<db-attribute name="SHIPPING_WEIGHT" type="DECIMAL"/>
+	</db-entity>
+	<obj-entity name="Book" className="org.example.Book" dbEntityName="BOOK">
+		<obj-attribute name="author" type="java.lang.String" db-attribute-path="AUTHOR"/>
+		<obj-attribute name="isbn" type="java.lang.String" db-attribute-path="ISBN"/>
+		<obj-attribute name="price" type="java.math.BigDecimal" db-attribute-path="PRICE"/>
+		<obj-attribute name="title" type="java.lang.String" db-attribute-path="TITLE"/>
+		<obj-attribute name="type" type="java.lang.String" db-attribute-path="TYPE"/>
+	</obj-entity>
+	<obj-entity name="PaperBook" superEntityName="Book" className="org.example.PaperBook">
+		<qualifier><![CDATA[type = "P"]]></qualifier>
+		<obj-attribute name="inStock" type="boolean" db-attribute-path="paperBook.IN_STOCK"/>
+	</obj-entity>
+	<db-relationship name="ebook" source="BOOK" target="EBOOK" toDependentPK="true" toMany="false">
+		<db-attribute-pair source="ID" target="ID"/>
+	</db-relationship>
+	<db-relationship name="paperBook" source="BOOK" target="PAPER_BOOK" toDependentPK="true"
toMany="false">
+		<db-attribute-pair source="ID" target="ID"/>
+	</db-relationship>
+	<db-relationship name="book" source="EBOOK" target="BOOK" toMany="false">
+		<db-attribute-pair source="ID" target="ID"/>
+	</db-relationship>
+	<db-relationship name="book" source="PAPER_BOOK" target="BOOK" toMany="false">
+		<db-attribute-pair source="ID" target="ID"/>
+	</db-relationship>
+</data-map>

Added: cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/cayenne.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/cayenne.xml?rev=979660&view=auto
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/cayenne.xml (added)
+++ cayenne/main/trunk/docs/doc/src/main/image-src/vertical-inheritance/cayenne.xml Tue Jul
27 12:12:44 2010
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<domains project-version="3.0.0.1">
+<domain name="UntitledDomain">
+	<map name="UntitledDomainMap" location="UntitledDomainMap.map.xml"/>
+</domain>
+</domains>



Mime
View raw message