Class CMLModelDomainAndSubdomainResolver

java.lang.Object
org.contextmapper.dsl.cml.CMLModelDomainAndSubdomainResolver

public class CMLModelDomainAndSubdomainResolver extends Object
  • Constructor Details

    • CMLModelDomainAndSubdomainResolver

      public CMLModelDomainAndSubdomainResolver(ContextMappingModel model)
  • Method Details

    • resolveAllSubdomains

      public Set<Subdomain> resolveAllSubdomains()
      Resolves all subdomains that are: 1) declared in the "root" CML file/model 2) subdomains implemented by Bounded Contexts of the root model, but declared in an imported CML file/model
    • resolveDomain4Subdomain

      public Domain resolveDomain4Subdomain(String subdomainName)
      Takes a name of the subdomain and returns the domain to which it belongs.