[ 
http://issues.apache.org/jira/browse/WODEN-33?page=comments#action_12417808 ] 

Jeremy Hughes commented on WODEN-33:
------------------------------------

We have the NestedComponent interface for components that are nested. The term 
parent has been used in both NestedComponent and NestedElement.

All that's required is for DocumententationElement to extened NestedElement 
instead of WSDLElement and for impl's of DocumentationElement to implement:

    public void setParentElement(WSDLElement parent);
    
    public WSDLElement getParentElement();

Other XxxElement interfaces already extend NestedElement - DocumentationElement 
seemed to be the only one that was wrong.

About your 'lighter weight than inheritance' concern. Could you expand on this 
- implementing the above two methods seems quite lightweight to me. Other 
XxxElement impl classes already do this by extending NestedConfigurableImpl.

> DocumentationElement should extend NestedElement
> ------------------------------------------------
>
>          Key: WODEN-33
>          URL: http://issues.apache.org/jira/browse/WODEN-33
>      Project: Woden
>         Type: Bug

>   Components: Parser
>     Reporter: Jeremy Hughes
>     Priority: Minor

>
> So that you can navigate from DocumentationElement to parent 
> DescriptionElement

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to