Quoting Stanislav Muhametsin <[email protected]>:
Since org.qi4j.spi.property.ValueType already has method types() ,
which is only interesting for ValueType's representing
ValueComposites, could it also have collectedType() from
org.qi4j.runtime.types.CollectionType ? That way I wouldn't need to
reference org.qi4j.runtime.* packages/classes. It could return null
for all other except CollectionType. Alternatively, you could make
CollectionType return collected type in types() -method. Whichever
works better for you. :)
The reason for this is because I am writing RDB entitystore / query
service extension (got really tired and frustrated with OpenRDF).
Regarding this - why "isCollection()" method is missing now from
ValueType (I just refreshed my git)? :) I really need those two
(isCollection() and collectedType()) methods for my project.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev