Interface Repo

    • Method Detail

      • withName

        Repo withName​(String name)
        Defines the name of the repository.
        Parameters:
        name -
        Returns:
        this repository
      • withDescription

        Repo withDescription​(String description)
        Defines the description of the repository.
        Parameters:
        description -
        Returns:
        this repository
      • withImportedResource

        Repo withImportedResource​(String path)
        Loads the repository located in path as a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.
        Parameters:
        path - to the import repository
        Returns:
        this repository
      • withImportedResource

        Repo withImportedResource​(URI uri)
        Loads the repository located in uri as a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.
        Parameters:
        uri - to the import repository
        Returns:
        this repository
      • withImportedResource

        Repo withImportedResource​(org.palladiosimulator.pcm.repository.Repository repository)
        Provides the entities in the fetching methods of a already loaded repository by calling on the entities with the name of the repository leading.
        Parameters:
        repository - loaded repository to be copied
        Returns:
        this repository