private static SimpleTypeParameter createComplexParameter(String name,
			Map<String, ComplexTypeParameter> tipuriComplexe) {

		ComplexTypeParameter stp = new ComplexTypeParameter();
		ArrayList<Attribute> attributes = new ArrayList<Attribute>();
		for (Attribute a : tipuriComplexe.get(name).getAttributes()) {
			Attribute b = new Attribute();
			b.setBaseType(a.getBaseType());
			b.setName(a.getName());
			b.setRestrictions(a.getRestrictions());
			b.setUse(a.getUse());
			b.setValue(a.getValue());
			attributes.add(b);
		}
		stp.setAttributes(attributes);
		return stp;
	}