Comment to binding-generator source code (partially) + bug fixing 71/871/2
authorJozef Gloncak <jgloncak@cisco.com>
Tue, 13 Aug 2013 07:46:38 +0000 (09:46 +0200)
committerJozef Gloncak <jgloncak@cisco.com>
Wed, 14 Aug 2013 09:15:58 +0000 (11:15 +0200)
commit8977d4cbb4175dcf729ac59ed919d7400259980e
treeca708eab380ffdada84c2f87289c8715494d31af
parent8c9d975256458fb743ccbfe1d04152fac3a62dc3
Comment to binding-generator source code (partially) + bug fixing

Bug fix:
- in method allNotificationsToGenType was changed implemented type
from javax.management.Notification
to org.opendaylight.yangtools.yang.binding.Notification
- if typedef contain as type other typedef from other module it wasn't
  generated with input parameter in constructor (now fixed)

Change-Id: I8182abc649eef43035acdf5d934917756ab2562d
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
code-generator/binding-generator-api/src/main/java/org/opendaylight/yangtools/sal/binding/generator/api/BindingGenerator.java
code-generator/binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/generator/impl/BindingGeneratorImpl.java
code-generator/binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/yang/types/TypeProviderImpl.java
code-generator/binding-generator-impl/src/test/java/org/opendaylight/yangtools/sal/binding/generator/impl/ExtendedTypedefTest.java
code-generator/binding-generator-impl/src/test/resources/typedef-of-typedef/ietf-inet-types@2010-09-24.yang [new file with mode: 0644]
code-generator/binding-generator-impl/src/test/resources/typedef-of-typedef/typedef_of_typedef.yang [moved from code-generator/binding-generator-impl/src/test/resources/typedef_of_typedef.yang with 89% similarity]
code-generator/samples/maven-code-gen-sample/src/main/yang/typedef_of_typedef.yang