if (restrictedSimpleType.isAtomic()) {
simpleType = factory.newXSAtomicType(this, restrictedType, pRestriction);
} else if (restrictedSimpleType.isList()) {
simpleType = factory.newXSListType(this, restrictedType, pRestriction);
} else if (restrictedSimpleType.isUnion()) {
simpleType = factory.newXSUnionType(this, restrictedType, pRestriction);
}
}
this.name = null;
isSimple = true;
xsAnnotation = pRestriction.getAnnotation();