public static EaUmlRepository getRepository(EA.Repository eaRepository)
        {
            if (repositories.ContainsKey(eaRepository.ProjectGUID))
            {
                return(repositories[eaRepository.ProjectGUID]);
            }
            //not in list yet
            var newRepository = new EaUmlRepository(eaRepository);

            repositories.Add(eaRepository.ProjectGUID, newRepository);
            return(newRepository);
        }
 public EaUmlAttribute(Repository eaRepository, Attribute eaAttribute)
 {
     this.eaRepository = eaRepository;
     this.eaAttribute  = eaAttribute;
     this.repository   = EaUmlRepository.getRepository(eaRepository);
 }
 public EaUmlClassifier(Repository eaRepository, Element eaElement)
 {
     this.eaRepository = eaRepository;
     this.eaElement    = eaElement;
     this.repository   = EaUmlRepository.getRepository(eaRepository);
 }