dojo.deprecated("dojox.data.AndOrReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
thrownewError("dojox.data.AndOrReadStore: The json data as specified by: ["+this._jsonFileUrl+"] is malformed. Items within the list have identifier: ["+_51+"]. Value collided: ["+_52+"]");
}else{
if(this._jsonData){
thrownewError("dojox.data.AndOrReadStore: The json data provided by the creation arguments is malformed. Items within the list have identifier: ["+_51+"]. Value collided: ["+_52+"]");
}
}
}
}
}else{
this._features["dojo.data.api.Identity"]=Number;
}
for(i=0;i<this._arrayOfAllItems.length;++i){
_4d=this._arrayOfAllItems[i];
_4d[this._storeRefPropName]=this;
_4d[this._itemNumPropName]=i;
}
for(i=0;i<this._arrayOfAllItems.length;++i){
_4d=this._arrayOfAllItems[i];
for(keyin_4d){
_50=_4d[key];
for(varj=0;j<_50.length;++j){
_4f=_50[j];
if(_4f!==null&&typeof_4f=="object"){
if(("_type"in_4f)&&("_value"in_4f)){
var_53=_4f._type;
var_54=this._datatypeMap[_53];
if(!_54){
thrownewError("dojox.data.AndOrReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+_53+"'");
}else{
if(dojo.isFunction(_54)){
_50[j]=new_54(_4f._value);
}else{
if(dojo.isFunction(_54.deserialize)){
_50[j]=_54.deserialize(_4f._value);
}else{
thrownewError("dojox.data.AndOrReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");
}
}
}
}
if(_4f._reference){
var_55=_4f._reference;
if(!dojo.isObject(_55)){
_50[j]=this._itemsByIdentity[_55];
}else{
for(vark=0;k<this._arrayOfAllItems.length;++k){
var_56=this._arrayOfAllItems[k];
var_57=true;
for(var_58in_55){
if(_56[_58]!=_55[_58]){
_57=false;
}
}
if(_57){
_50[j]=_56;
}
}
}
if(this.referenceIntegrity){
var_59=_50[j];
if(this.isItem(_59)){
this._addReferenceToMap(_59,_4d,key);
}
}
}else{
if(this.isItem(_4f)){
if(this.referenceIntegrity){
this._addReferenceToMap(_4f,_4d,key);
}
}
}
}
}
}
}
},_addReferenceToMap:function(_5a,_5b,_5c){
},getIdentity:function(_5d){
var_5e=this._features["dojo.data.api.Identity"];
if(_5e===Number){
return_5d[this._itemNumPropName];
}else{
var_5f=_5d[_5e];
if(_5f){
return_5f[0];
}
}
returnnull;
},fetchItemByIdentity:function(_60){
if(!this._loadFinished){
var_61=this;
if(this._jsonFileUrl!==this._ccUrl){
dojo.deprecated("dojox.data.AndOrReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");
dojo.deprecated("dojox.data.AndOrReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");