elt1.setName(name);
XmlSchemaSimpleTypeRestriction restriction = new XmlSchemaSimpleTypeRestriction();
restriction.setBaseTypeName(typeTable.getSimpleSchemaTypeName(BigDecimal.class.getName()));
FixedType fixedType = (FixedType) aliasType;
XmlSchemaTotalDigitsFacet totalDigits = new XmlSchemaTotalDigitsFacet(fixedType.getDigits(), false);
restriction.getFacets().add(totalDigits);
XmlSchemaFractionDigitsFacet fractionDigits = new XmlSchemaFractionDigitsFacet(fixedType.getScale(), true);
restriction.getFacets().add(fractionDigits);
simpleType.setContent(restriction);
} else {
XmlSchemaComplexType complexType = new XmlSchemaComplexType(xmlSchema, false);