name = xst.getName() + ".Array";
namespace = getNamespace(componentType, xst.getNamespace());
}
}
JBossXSParticle xsp = new JBossXSParticle();
xsp.setTerm(sutils.createXSElementDeclaration("value", xst, !componentType.isPrimitive()));
xsp.setMaxOccurs(-1);
List<XSParticle> particles = new ArrayList<XSParticle>();
particles.add(xsp);
JBossXSComplexTypeDefinition complex = sutils.createXSComplexTypeDefinition(name, null, particles, namespace);
xsModel.addXSComplexTypeDefinition(complex);