You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Yang ZHONG (JIRA)" <tu...@ws.apache.org> on 2007/03/29 06:21:25 UTC

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

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


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


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

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yang ZHONG updated TUSCANY-1197:
--------------------------------

    Attachment: patch.1197
                SequencesTestCase.java
                Sequences.java

> 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


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

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
    [ 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


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

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Budinsky resolved TUSCANY-1197.
-------------------------------------

    Resolution: Fixed

Committed revision 536331.

> 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


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

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486438 ] 

Yang ZHONG commented on TUSCANY-1197:
-------------------------------------

Derived fetures have already been filtered out by the patched ClassImpl, search getSequenceFeature() & isSequenceFeatureMap for isDerived().
Therefore, cases such as mixed are already taken care of.

> 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


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

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486662 ] 

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

Thanks Yang, I missed that. 

I found the getSequenceFeature() method hard to follow. I don't think it's quite right and will need some more work.


> 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