You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Justin Thomas (JIRA)" <tu...@ws.apache.org> on 2007/07/11 23:16:04 UTC

[jira] Created: (TUSCANY-1422) Add a method to get component names from a composite

Add a method to get component names from a composite
----------------------------------------------------

                 Key: TUSCANY-1422
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1422
             Project: Tuscany
          Issue Type: New Feature
          Components: C++ SCA
    Affects Versions: Cpp-M3
            Reporter: Justin Thomas


While navigating the model heirarchy, it would be helpful to get a list of all components of a given composite.  This way the developer will not need to know the specific component names in order to get them using Composite::findComponent().

-- 
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-1422) Add a method to get component names from a composite

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

Pete Robbins resolved TUSCANY-1422.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Cpp-Next

patch applied

> Add a method to get component names from a composite
> ----------------------------------------------------
>
>                 Key: TUSCANY-1422
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1422
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>            Reporter: Justin Thomas
>             Fix For: Cpp-Next
>
>         Attachments: Composite_jira1422
>
>
> While navigating the model heirarchy, it would be helpful to get a list of all components of a given composite.  This way the developer will not need to know the specific component names in order to get them using Composite::findComponent().

-- 
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-1422) Add a method to get component names from a composite

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

Brady Johnson updated TUSCANY-1422:
-----------------------------------

    Attachment: Composite_jira1422

Uploading patch, includes changes to Composite.h and Composite.cpp

> Add a method to get component names from a composite
> ----------------------------------------------------
>
>                 Key: TUSCANY-1422
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1422
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>            Reporter: Justin Thomas
>         Attachments: Composite_jira1422
>
>
> While navigating the model heirarchy, it would be helpful to get a list of all components of a given composite.  This way the developer will not need to know the specific component names in order to get them using Composite::findComponent().

-- 
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-1422) Add a method to get component names from a composite

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

Brady Johnson commented on TUSCANY-1422:
----------------------------------------

This would be simple enough by adding std::list<std::string> Composite::getComponentNames().

I'll upload a patch.


> Add a method to get component names from a composite
> ----------------------------------------------------
>
>                 Key: TUSCANY-1422
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1422
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>            Reporter: Justin Thomas
>
> While navigating the model heirarchy, it would be helpful to get a list of all components of a given composite.  This way the developer will not need to know the specific component names in order to get them using Composite::findComponent().

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