jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: SPI: PropertyDefinition.getRequiredType
Date Wed, 22 Nov 2006 14:58:28 GMT
> No, the point is that in JSR-170 it is possible that for a given node
> type N, the NodeType interface will only return residual property
> definitions (because the set of property definitions on this node type
> may be very large), while Property.getPropertyDefinition() will return a
> non-residual definition (because in this case, the property name is
> known in advance, so the size problem above doesn't matter).
not quite. the set of property definitions of a nodetype is always a
static set and does not vary on the set of all possible properties
that can be added. i.e. it does not depend on the actual contents of a
of course they might be dynamically generated by the repository
implementation and this set could be large. but afair, jsr170 does not
mention that this set can be incomplete.

regards, toby

-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

View raw message