[ 
http://issues.ops4j.org/jira/browse/QI-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11739#action_11739
 ] 

Niclas Hedhman commented on QI-58:
----------------------------------

Do we agree that the Abc class above is legal, i.e. the Property generic type 
can be a complex type inclusive of recursive properties??

Can we really work out the semantics around this?

public interface Abc
{
    Property<Def> def();
}

public interface Def
{
    Property<Habba> value()
    Habba other();
}

public interface Habba
{
    Property<Zout> zout()
    Zout doeff();
}

> Property -> Property .. -> .. Querying
> --------------------------------------
>
>                 Key: QI-58
>                 URL: http://issues.ops4j.org/jira/browse/QI-58
>             Project: Qi4j
>          Issue Type: Improvement
>          Components: Query
>            Reporter: Niclas Hedhman
>            Assignee: Alin Dreghiciu
>
> Right now the Entity must the Property directly, and can not be a type which 
> has additional Properties.
> For instance;
> public interface Abc
> {
>     Property<Def> def();
> }
> public interface Def
> {
>     Property<Double> value()
> }
> public interface MyEntity extends Abc, EntityComposite
> {
> }
> It is now not possible to do a query looking for the value() value.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to