You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Frank Budinsky (JIRA)" <tu...@ws.apache.org> on 2007/04/03 17:51:32 UTC

[jira] Commented: (TUSCANY-1197) Sequence composition

    [ https://issues.apache.org/jira/browse/TUSCANY-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486389 ] 

Frank Budinsky commented on TUSCANY-1197:
-----------------------------------------

The attached class Sequences is a good start (a better name would be VirtualSequence), but has some problems. It needs to filter derived fetures, so they don't result in duplicates. Also if all properties are derived from a single featureMap (e.g., mixed), it can servie as the composed Sequence. The test case should not be accessing hidden properties (like choice, any, etc.), it shoud just confirm that the composed Sequence() contains the right properties in the right positions.

> Sequence composition
> --------------------
>
>                 Key: TUSCANY-1197
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1197
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Yang ZHONG
>             Fix For: Java-SDO-Mx
>
>         Attachments: patch.1197, Sequences.java, SequencesTestCase.java
>
>
> DataObject#getSequence() provides one single Sequence for users to access properties.
> However, a DataObject can have more than one non-derived Sequences.
> The attached prototype enables DataObject#getSequence() to return a Sequence composition aggregating multiple non-derived Sequences.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org