incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r315037 - in /incubator/graffito/trunk/jcr-mapping/src/test-config: jcrmapping-atomic.xml jcrmapping.xml
Date Wed, 12 Oct 2005 20:36:38 GMT
Author: clombart
Date: Wed Oct 12 13:36:34 2005
New Revision: 315037

URL: http://svn.apache.org/viewcvs?rev=315037&view=rev
Log:
Support multiple mapping files : GRFT-48 - splitted the mapping file used for the unit tests

Added:
    incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping-atomic.xml
Modified:
    incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping.xml

Added: incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping-atomic.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping-atomic.xml?rev=315037&view=auto
==============================================================================
--- incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping-atomic.xml (added)
+++ incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping-atomic.xml Wed Oct 12
13:36:34 2005
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE graffito-jcr PUBLIC "-//The Apache Software Foundation//DTD Repository//EN"
"./src/dtd/graffito-jcr-mapping.dtd">
+<graffito-jcr>
+    <class-descriptor
+		className="org.apache.portals.graffito.jcr.testmodel.Atomic" jcrNodeType="nt:unstructured">
+
+		<field-descriptor fieldName="string" jcrName="string" />
+		<field-descriptor fieldName="booleanObject" jcrName="booleanObject" />
+		<field-descriptor fieldName="booleanPrimitive" jcrName="booleanPrimitive" />
+		<field-descriptor fieldName="integerObject" jcrName="integerObject" />
+		<field-descriptor fieldName="intPrimitive" jcrName="intPrimitive" />
+		<field-descriptor fieldName="byteArray" jcrName="byteArray" />
+		<field-descriptor fieldName="calendar" jcrName="calendar" />
+		<field-descriptor fieldName="date" jcrName="date" />
+		<field-descriptor fieldName="doubleObject" jcrName="doubleObject" />
+		<field-descriptor fieldName="doublePrimitive" jcrName="doublePrimitive" />
+		<field-descriptor fieldName="inputStream" jcrName="inputStream" />
+		<field-descriptor fieldName="timestamp" jcrName="timestamp" />
+	</class-descriptor>
+
+    <class-descriptor
+		className="org.apache.portals.graffito.jcr.testmodel.MultiValue" jcrNodeType="nt:unstructured">
+		<field-descriptor fieldName="name" jcrName="name" />
+		<collection-descriptor fieldName="multiValues" jcrName="multiValue" proxy="false" 
+		                       elementClassName="java.lang.String" 
+		                       collectionConverter="org.apache.portals.graffito.jcr.persistence.collectionconverter.impl.MultiValueCollectionConverterImpl"
/>
+
+		<collection-descriptor fieldName="nullMultiValues" jcrName="nullMultiValue" proxy="false"

+		                       elementClassName="java.lang.String" 
+		                       collectionConverter="org.apache.portals.graffito.jcr.persistence.collectionconverter.impl.MultiValueCollectionConverterImpl"
/>
+		                       
+
+	</class-descriptor> 
+</graffito-jcr>
+ 
\ No newline at end of file

Modified: incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping.xml?rev=315037&r1=315036&r2=315037&view=diff
==============================================================================
--- incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping.xml (original)
+++ incubator/graffito/trunk/jcr-mapping/src/test-config/jcrmapping.xml Wed Oct 12 13:36:34
2005
@@ -4,37 +4,6 @@
 <graffito-jcr>
     
   
-    <class-descriptor
-		className="org.apache.portals.graffito.jcr.testmodel.Atomic" jcrNodeType="nt:unstructured">
-
-		<field-descriptor fieldName="string" jcrName="string" />
-		<field-descriptor fieldName="booleanObject" jcrName="booleanObject" />
-		<field-descriptor fieldName="booleanPrimitive" jcrName="booleanPrimitive" />
-		<field-descriptor fieldName="integerObject" jcrName="integerObject" />
-		<field-descriptor fieldName="intPrimitive" jcrName="intPrimitive" />
-		<field-descriptor fieldName="byteArray" jcrName="byteArray" />
-		<field-descriptor fieldName="calendar" jcrName="calendar" />
-		<field-descriptor fieldName="date" jcrName="date" />
-		<field-descriptor fieldName="doubleObject" jcrName="doubleObject" />
-		<field-descriptor fieldName="doublePrimitive" jcrName="doublePrimitive" />
-		<field-descriptor fieldName="inputStream" jcrName="inputStream" />
-		<field-descriptor fieldName="timestamp" jcrName="timestamp" />
-	</class-descriptor>
-
-    <class-descriptor
-		className="org.apache.portals.graffito.jcr.testmodel.MultiValue" jcrNodeType="nt:unstructured">
-		<collection-descriptor fieldName="multiValues" jcrName="multiValue" proxy="false" 
-		                       elementClassName="java.lang.String" 
-		                       collectionConverter="org.apache.portals.graffito.jcr.persistence.collectionconverter.impl.MultiValueCollectionConverterImpl"
/>
-
-		<collection-descriptor fieldName="nullMultiValues" jcrName="nullMultiValue" proxy="false"

-		                       elementClassName="java.lang.String" 
-		                       collectionConverter="org.apache.portals.graffito.jcr.persistence.collectionconverter.impl.MultiValueCollectionConverterImpl"
/>
-		                       
-
-	</class-descriptor>
-
-   
 	<class-descriptor className="org.apache.portals.graffito.jcr.testmodel.Folder" jcrNodeType="nt:unstructured">
 		<!-- Field-descriptor is used to map simple attributes to jcr property -->
 		<field-descriptor fieldName="name" jcrName="name" />



Mime
View raw message