//schematypeName = checkPrefix(schematypeName);
if (!anonymous) {
//Create an Array
Array corbaArray = new Array();
corbaArray.setName(name.getLocalPart());
corbaArray.setType(schematypeName);
corbaArray.setElemtype(arrayType);
corbaArray.setElemname(elName);
corbaArray.setBound(bound);
corbaArray.setRepositoryID(WSDLToCorbaHelper.REPO_STRING
+ name.getLocalPart().replace('.', '/')
+ WSDLToCorbaHelper.IDL_VERSION);
corbaArray.setQName(name);
corbatype = corbaArray;
} else {
//Create an Anonymous Array
Anonarray corbaArray = new Anonarray();
corbaArray.setName(name.getLocalPart());
corbaArray.setType(schematypeName);
corbaArray.setElemtype(arrayType);
corbaArray.setElemname(elName);
corbaArray.setBound(bound);
corbaArray.setQName(name);
corbatype = corbaArray;
}
return corbatype;
}