You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "John Kaputin (JIRA)" <ji...@apache.org> on 2007/01/29 15:13:49 UTC

[jira] Resolved: (WODEN-87) Need convenience methods in Interface API to flatten interface inheritence

     [ https://issues.apache.org/jira/browse/WODEN-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Kaputin resolved WODEN-87.
-------------------------------

    Resolution: Fixed

r500917 Fixed.
r500924 Unit tests.

> Need convenience methods in Interface API to flatten interface inheritence
> --------------------------------------------------------------------------
>
>                 Key: WODEN-87
>                 URL: https://issues.apache.org/jira/browse/WODEN-87
>             Project: Woden
>          Issue Type: New Feature
>          Components: Parser
>            Reporter: John Kaputin
>         Assigned To: John Kaputin
>             Fix For: M7
>
>
> We have a use case (from Axis2) for convenience methods on the org.apache.woden.wsdl20.Interface API for additional convenience methods that provide a flattened view on all interface child components - both those directly declared and any inherited ones.  Existing methods like Interface.getInterfaceOperations and getInterfaceFaults return only the components declared directly within the Interface (this is correct per the description of those properties in the WSDL 2.0 spec).   Currently the getExtendedInterfaces method must be used to 'drill down' to get inherited components.   Cases like diamond inheritance must also be handled by the user to avoid duplicates. The proposed convenience methods make all this transparent to the user.
> The proposed new methods on Interface are:
> getAllInterfaceOperations
> getAllIntefaceFaults
> Some further consideration may be required about whether  the existing behaviour of getInterfaceOperations and getInterfaceFaults if actually useful (ie. getting the declared components only). An alternative approach would be to add methods like getDeclaredInterfaceOperations and change the behaviou of getInterfaceOperations to return all operations - direclty declared and inherited. 

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org