Log of /incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/inheritance/impl/DocumentStream.java
Parent Directory
| Revision Log
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: 2138 byte(s)
Copied from:
incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/inheritance/DocumentStream.java revision 390238
Diff to
previous 390238
(
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.
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.