}
for (UsesNodeBuilder usesNode : augment.getUsesNodes()) {
val copy = CopyUtils.copyUses(usesNode, target);
+ copy.setAugmenting(true);
target.addUsesNode(copy);
}
}
}
public static def getRpc(ModuleBuilder module,String name) {
- for(rpc : module.rpcs) {
+ for(rpc : module.getRpcs()) {
if(name == rpc.QName.localName) {
return rpc;
}
}
public static def getNotification(ModuleBuilder module,String name) {
- for(notification : module.notifications) {
+ for(notification : module.getNotifications()) {
if(name == notification.QName.localName) {
return notification;
}
}
return parent as ModuleBuilder;
}
- }
-
\ No newline at end of file
+
+}
+