incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart" <christophe.lomb...@gmail.com>
Subject Re: using jcr mapping for Document Management System
Date Tue, 06 Feb 2007 11:14:00 GMT
On 2/6/07, ruchi goel <Ruchi.Goel@sun.com> wrote:
>
>
>
> OK. So, if I have a ps:folder inheriting from nt:folder , how do I
> access from my model the properties which are nherited from nt:folder.



You should create a new class descriptor which maps  a java class to a
ps:folder. In this class descriptor try to map the ps:folder properties into
the java class attribute. If I remember correctly, nt:file has not a lot of
properties (creation date + children def based on HierarchyNode).

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message