//>>built
define("dojox/wire/CompositeWire",["dijit","dojo","dojox","dojo/require!dojox/wire/_base,dojox/wire/Wire"],function(f,d,e){d.provide("dojox.wire.CompositeWire");d.require("dojox.wire._base");d.require("dojox.wire.Wire");d.declare("dojox.wire.CompositeWire",e.wire.Wire,{_wireClass:"dojox.wire.CompositeWire",constructor:function(a){this._initializeChildren(this.children)},_getValue:function(a){if(!a||!this.children)return a;var c=d.isArray(this.children)?[]:{},b;for(b in this.children)c[b]=this.children[b].getValue(a);
return c},_setValue:function(a,c){if(!a||!this.children)return a;for(var b in this.children)this.children[b].setValue(c[b],a);return a},_initializeChildren:function(a){if(a)for(var c in a){var b=a[c];b.parent=this;e.wire.isWire(b)||(a[c]=e.wire.create(b))}}})});