[YANGTOOLS-216] generated interface from "container" in "case" does not extend ChildOf interface Created: 16/Jul/14  Updated: 10/Apr/22  Due: 25/Jul/14  Resolved: 21/Jul/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Martin Sunal Assignee: Martin Vitez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


External issue ID: 1377

 Description   

It is not possible to use "container" which is located underneath "case" in InstanceIdentifierBuilder.child(<N extends ChildOf<? super T>> container) because generated interface from "container" does not extend ChildOf interface.

Example:
opendaylight-action-types.yang

grouping action {
choice action {
case output-action-case {
container output-action

{ ... }

}
}
}

generated interface from output-action-case is
public interface OutputAction
extends
DataObject,
Augmentable<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.action.output.action._case.OutputAction>



 Comments   
Comment by Martin Vitez [ 17/Jul/14 ]

Proposed patch:

https://git.opendaylight.org/gerrit/#/c/9113/

Generated at Wed Feb 07 20:52:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.