Class MergedRepository

All Implemented Interfaces:
Iterable<org.palladiosimulator.pcm.repository.Repository>, Notifier, EObject, InternalEObject

public final class MergedRepository extends EObjectImpl implements Iterable<org.palladiosimulator.pcm.repository.Repository>
This class realizes a Repository which consists of many Repositories.
  • Constructor Details

    • MergedRepository

      public MergedRepository(org.palladiosimulator.pcm.repository.Repository... repositories)
    • MergedRepository

      public MergedRepository(List<org.palladiosimulator.pcm.repository.Repository> repositories)
    • MergedRepository

      public MergedRepository(Set<org.palladiosimulator.pcm.repository.Repository> repositories)
  • Method Details

    • getCostRepos

      public List<CostRepository> getCostRepos()
    • getAffectedComponentsByFCCList

      public List<org.palladiosimulator.pcm.repository.RepositoryComponent> getAffectedComponentsByFCCList(List<CompletionComponent> fccs)
      Retrieves all components annotated by a set of annotations.
      Parameters:
      annotations - - The set of annotations.
      Returns:
      all components annotated by a set of annotations.
    • createAndAddAdapter

      public org.palladiosimulator.pcm.repository.RepositoryComponent createAndAddAdapter(String name, org.palladiosimulator.pcm.repository.Repository repo)
      Creates and add a adapter component to the concern solution repository.
      Parameters:
      name - - The name of the adapter component.
      Returns:
      the created adapter component.
    • getAsRepoWithoutStereotypes

      public org.palladiosimulator.pcm.repository.Repository getAsRepoWithoutStereotypes()
    • getAllProvidedRoles

      public List<org.palladiosimulator.pcm.repository.ProvidedRole> getAllProvidedRoles()
    • iterator

      public Iterator<org.palladiosimulator.pcm.repository.Repository> iterator()
      Specified by:
      iterator in interface Iterable<org.palladiosimulator.pcm.repository.Repository>