// in the QNodeTypeDefinition directly
modified = supertypes.remove(NameConstants.NT_BASE);
}
}
if (modified) {
ntd = new QNodeTypeDefinitionImpl(ntd.getName(),
supertypes.toArray(new Name[supertypes.size()]),
ntd.getSupportedMixinTypes(), ntd.isMixin(),
ntd.isAbstract(), ntd.isQueryable(),
ntd.hasOrderableChildNodes(), ntd.getPrimaryItemName(),
ntd.getPropertyDefs(), ntd.getChildNodeDefs());