jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: SPI: PropertyDefinition.getRequiredType
Date Wed, 22 Nov 2006 14:10:52 GMT
hi

sorry. i reread you mail multiple times, and i don't get
your point.

here is what jsr170 defines:

- that PropertyDefinition.getRequiredType() may be one of
   STRING, BINARY, DATE, LONG, DOUBLE, NAME, PATH, REFERENCE,
   BOOLEAN or UNDEFINED.

- If PropertyDefinition.getRequiredType() is UNDEFINED,
   then a Property having this definition may be of any type.

- The value of a property may never be UNDEFINED. Thus,
   Property.getType() will never return UNDEFINED.

- Node.setProperty: If the node type of this node does not indicate
   a specific property type, then the property type of the supplied
   Value object is used and if the property already exists (has
   previously been set) it assumes both the new value and new
   property type.

if you want to point out, that the NodeTypeRegistry doesn't
get informed about new registrations: that's a known issue
(see TODO.txt) and covered by the jira issue, you created
recently.

regards
angela



Mime
View raw message