/[Apache-SVN]/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.java
ViewVC logotype

Log of /incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.java

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 532247)

Revision 448311 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 20 19:37:05 2006 UTC (17 years, 7 months ago) by clombart
File length: 1058 byte(s)
Diff to previous 406118 (colored)
set svn:eol-style to native

Revision 406118 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 13 15:08:04 2006 UTC (17 years, 11 months ago) by clombart
File length: 1058 byte(s)
Diff to previous 386570 (colored)
Add several modifications : 

* jcrNodeType is not mandatory.If not present the default value is "nt:unstructured".
* discriminator field descriptor was removed. Only the flag discriminator is defined on the class descriptor. 
	If this flag is true, a mixin node type "graffito:discriminator" is added to the node. 
	This type contains one property to store the java classname (graffito:classname).
    With this implementation, the discriminator field is not necessary. So, the persistence mechanism is still transparent for the jaba beans.

* Interface support : like the inheritance support, there are 2 differents strategies : node type per concrete class or per complete hierarchy. The hierarchy strategy requires a discriminator node type.

Revision 386570 - (view) (download) (annotate) - [select for diffs]
Added Fri Mar 17 08:52:12 2006 UTC (18 years, 1 month ago) by clombart
File length: 951 byte(s)
Working on the inheritance support : 
* fix some dtd error and some bugs in the mapper 
* If the path field is defined in the ancestor, it was mandotory to define it in the descendant.
* The classdescriptor : remove Map allFields, allBeans, allCollection : unecessary and cause some bugs 
* Add unit tests


I still got some issue with the inheritance and the innerbean (see the unit tests comments)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26