On Wed, Feb 18, 2009 at 3:36 PM, Rickard Öberg <[email protected]> wrote:
> Alin Dreghiciu wrote:
>> Indexing and querying of Value Composites should work now. My testing
>> was limited due to the still existing bugs (that Rickard is working
>> on).
>> So, this means that for the moment indexing/querying is supported for:
>> Property<P> where P is a primitive type
>> Property<V> where V extends ValueComposite
>
> Does it work even with hierarchical values, e.g. V1.valueProperty() ->
> V2 and then I can specify V2.somePrimitiveProperty() for the query? If
> so that is AWESOME!
yep, works with hierarchical values: You can check it out in
RdfQueryTest#script29():
Person person = templateFor( Person.class );
qb.where(
eq( person.personalURL().get().protocol().get().value(), "http" )
);
>
>> There are still left:
>> Property<S> where S extends Serializale
>> Property<Collection<P/V/S>>
>>
>> I would say that we should support also Property<Collection<P/V/S>> in
>> indexing/querying. WDYT?
>
> Yes, if possible. Serializable is not so important(is it even possible?)
To index the Collection case is quite easy but the question is: How
the query is expressed? Like in the case of ManyAssociation with
oneOf()?
--
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://www.codedragons.com - New Energy for Projects - Great People
working on Great Projects at Great Places
Sent from: Nijmegen Ge Netherlands.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev