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

Niclas Hedhman commented on QI-131:
-----------------------------------


Following the discussion on mail thread "Encapsulating State" (Sept 2008), 
perhaps this should be implemented with a Visitor pattern, which may include 
the use-cases in the mail thread.

> Add support for listing properties and associations of an entity
> ----------------------------------------------------------------
>
>                 Key: QI-131
>                 URL: http://issues.ops4j.org/jira/browse/QI-131
>             Project: Qi4j
>          Issue Type: Improvement
>            Reporter: Rickard Öberg
>            Assignee: Rickard Öberg
>             Fix For: 0.5
>
>
> There are some cases where SPI-level code wants to inspect a Composite and 
> find out what properties and associations it has. Currently such code can 
> enumerate the properties using CompositeDescriptor, but there's no way to 
> actually access the state.
> Add "State getState(Composite/EntityComposite)" to Qi4jSPI, so that this can 
> be done. This should be enough for most "reflective" usages.

-- 
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