Nicolas wrote:
Hi Roberto,

By subproperties, you mean a property of a property?
No. I mean to give further specification for a property when it is defined for a subtype. In the example, the property "rf:worksFor" has the constraint "rf:Organization" when it is defined for a Person, while it has the constraint "rf:University" (a subtype of Organization) when it is defined for a Professor (a subtype of Person).

I hope this is clearer.. :-)

Roberto



If yes, the JSR170 doesn't. Please read p 16/17 of the spec :) You should
use a Node for what you want to achieve

Nico

On 9/6/06, Roberto Fonti <[EMAIL PROTECTED]> wrote:

Hi,
does JSR-170 and Jackrabbit support SubProperties?

This is a simplification of the scenario I would like to define:

[rf:Organization] > mix:referenceable, nt:base
  - rf:OrganizationName (string) mandatory

[rf:University] > rf:Organization

[rf:Person] > mix:referenceable, nt:base
  - rf:worksFor (reference)
    < *'rf:Organization'*

[rf:Professor] > rf:Person
  - rf:worksFor (reference)
    < *'rf:University'


*I get a NodeTypeConflictException while registering them. Any
workaround solutions?*

*Thanks,
Roberto




Reply via email to