use of org.contextmapper.contextmap.generator.model.BoundedContextType in project context-mapper-dsl by ContextMapper.
the class ContextMapModelConverter method convert.
private BoundedContext convert(org.contextmapper.dsl.contextMappingDSL.BoundedContext cmlBoundedContext) {
BoundedContextType type = BoundedContextType.GENERIC;
if (cmlBoundedContext.getType().equals(org.contextmapper.dsl.contextMappingDSL.BoundedContextType.TEAM))
type = BoundedContextType.TEAM;
BoundedContext boundedContext = new BoundedContext(cmlBoundedContext.getName(), type);
this.bcMap.put(cmlBoundedContext.getName(), boundedContext);
return boundedContext;
}
Aggregations