domainComposite.setName(new QName(Base.SCA11_NS, ""));
domainComposite.setLocal(false);
domainComposite.getIncludes().add(composite1);
domainComposite.getIncludes().add(composite2);
CompositeBuilder includeBuilder = new CompositeIncludeBuilderImpl();
CompositeBuilder cloneBuilder = new CompositeCloneBuilderImpl();
CompositeBuilder uriBuilder = new StructuralURIBuilderImpl(extensionPoints);
BuilderContext context = new BuilderContext(extensionPoints);
context.setDefinitions(definitions);
domainComposite = cloneBuilder.build(domainComposite, context);
domainComposite = includeBuilder.build(domainComposite, context);
domainComposite = uriBuilder.build(domainComposite, context);
PolicyAttachmentBuilderImpl builder = new PolicyAttachmentBuilderImpl(extensionPoints);
domainComposite = builder.build(domainComposite, context);
}