final void setParent( CClassInfo parent ) { assert this.parent==null; assert parent!=null; this.parent = parent; customizations.setParent(parent.model,this); }
final void setParent( CClassInfo parent ) { assert this.parent==null; assert parent!=null; this.parent = parent; customizations.setParent(parent.model,this); }
final void setParent( CClassInfo parent ) { assert this.parent==null; assert parent!=null; this.parent = parent; customizations.setParent(parent.model,this); }
protected AbstractCTypeInfoImpl(Model model, XSComponent source, CCustomizations customizations) { if(customizations==null) customizations = CCustomizations.EMPTY; else customizations.setParent(model,this); this.customizations = customizations; this.source = source; }
protected AbstractCTypeInfoImpl(Model model, XSComponent source, CCustomizations customizations) { if(customizations==null) customizations = CCustomizations.EMPTY; else customizations.setParent(model,this); this.customizations = customizations; this.source = source; }
final void setParent( CClassInfo parent ) { assert this.parent==null; assert parent!=null; this.parent = parent; customizations.setParent(parent.model,this); }
final void setParent( CClassInfo parent ) { assert this.parent==null; assert parent!=null; this.parent = parent; customizations.setParent(parent.model,this); }
protected AbstractCTypeInfoImpl(Model model, XSComponent source, CCustomizations customizations) { if(customizations==null) customizations = CCustomizations.EMPTY; else customizations.setParent(model,this); this.customizations = customizations; this.source = source; }
protected AbstractCTypeInfoImpl(Model model, XSComponent source, CCustomizations customizations) { if(customizations==null) customizations = CCustomizations.EMPTY; else customizations.setParent(model,this); this.customizations = customizations; this.source = source; }
protected AbstractCTypeInfoImpl(Model model, XSComponent source, CCustomizations customizations) { if(customizations==null) customizations = CCustomizations.EMPTY; else customizations.setParent(model,this); this.customizations = customizations; this.source = source; }
/** * @param nc * Usually this should be set in the constructor, but we do allow this parameter * to be initially null, and then set later. * @param schemaComponent * The source schema model, if this is built from XSD. */ public Model( Options opts, JCodeModel cm, NameConverter nc, ClassNameAllocator allocator, XSSchemaSet schemaComponent ) { this.options = opts; this.codeModel = cm; this.nameConverter = nc; this.defaultSymbolSpace = new SymbolSpace(codeModel); defaultSymbolSpace.setType(codeModel.ref(Object.class)); elementMappings.put(null,new HashMap<QName,CElementInfo>()); if(opts.automaticNameConflictResolution) allocator = new AutoClassNameAllocator(allocator); this.allocator = new ClassNameAllocatorWrapper(allocator); this.schemaComponent = schemaComponent; this.gloablCustomizations.setParent(this,this); }
/** * @param nc * Usually this should be set in the constructor, but we do allow this parameter * to be initially null, and then set later. * @param schemaComponent * The source schema model, if this is built from XSD. */ public Model( Options opts, JCodeModel cm, NameConverter nc, ClassNameAllocator allocator, XSSchemaSet schemaComponent ) { this.options = opts; this.codeModel = cm; this.nameConverter = nc; this.defaultSymbolSpace = new SymbolSpace(codeModel); defaultSymbolSpace.setType(codeModel.ref(Object.class)); elementMappings.put(null, new LinkedHashMap<QName, CElementInfo>()); if(opts.automaticNameConflictResolution) allocator = new AutoClassNameAllocator(allocator); this.allocator = new ClassNameAllocatorWrapper(allocator); this.schemaComponent = schemaComponent; this.globalCustomizations.setParent(this, this); }
/** * @param nc * Usually this should be set in the constructor, but we do allow this parameter * to be initially null, and then set later. * @param schemaComponent * The source schema model, if this is built from XSD. */ public Model( Options opts, JCodeModel cm, NameConverter nc, ClassNameAllocator allocator, XSSchemaSet schemaComponent ) { this.options = opts; this.codeModel = cm; this.nameConverter = nc; this.defaultSymbolSpace = new SymbolSpace(codeModel); defaultSymbolSpace.setType(codeModel.ref(Object.class)); elementMappings.put(null, new LinkedHashMap<QName, CElementInfo>()); if(opts.automaticNameConflictResolution) allocator = new AutoClassNameAllocator(allocator); this.allocator = new ClassNameAllocatorWrapper(allocator); this.schemaComponent = schemaComponent; this.globalCustomizations.setParent(this, this); }
/** * @param nc * Usually this should be set in the constructor, but we do allow this parameter * to be initially null, and then set later. * @param schemaComponent * The source schema model, if this is built from XSD. */ public Model( Options opts, JCodeModel cm, NameConverter nc, ClassNameAllocator allocator, XSSchemaSet schemaComponent ) { this.options = opts; this.codeModel = cm; this.nameConverter = nc; this.defaultSymbolSpace = new SymbolSpace(codeModel); defaultSymbolSpace.setType(codeModel.ref(Object.class)); elementMappings.put(null, new LinkedHashMap<QName, CElementInfo>()); if(opts.automaticNameConflictResolution) allocator = new AutoClassNameAllocator(allocator); this.allocator = new ClassNameAllocatorWrapper(allocator); this.schemaComponent = schemaComponent; this.globalCustomizations.setParent(this, this); }
/** * @param nc * Usually this should be set in the constructor, but we do allow this parameter * to be initially null, and then set later. * @param schemaComponent * The source schema model, if this is built from XSD. */ public Model( Options opts, JCodeModel cm, NameConverter nc, ClassNameAllocator allocator, XSSchemaSet schemaComponent ) { this.options = opts; this.codeModel = cm; this.nameConverter = nc; this.defaultSymbolSpace = new SymbolSpace(codeModel); defaultSymbolSpace.setType(codeModel.ref(Object.class)); elementMappings.put(null,new HashMap<QName,CElementInfo>()); if(opts.automaticNameConflictResolution) allocator = new AutoClassNameAllocator(allocator); this.allocator = new ClassNameAllocatorWrapper(allocator); this.schemaComponent = schemaComponent; this.gloablCustomizations.setParent(this,this); }