public XsQName[] getTypesafeEnumBase(SchemaSG pController) {
XSSchema schema = getXSSchema();
if (schema instanceof JAXBSchema) {
JAXBSchema jaxbSchema = (JAXBSchema) schema;
JAXBGlobalBindings globalBindings = jaxbSchema.getJAXBGlobalBindings();
if (globalBindings != null) {
return globalBindings.getTypesafeEnumBase();
}
}
return new XsQName[]{XSNCName.getInstance().getName()};
}