Interface Repo
- All Superinterfaces:
RepoAddition
- All Known Implementing Classes:
RepositoryCreator
TODO
-
Method Summary
Modifier and TypeMethodDescriptionwithDescription
(String description) Defines the description of the repository.withImportedResource
(String path) Loads the repository located inpath
as a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.withImportedResource
(URI uri) Loads the repository located inuri
as a Resource and provides its entities in the fetching methods by calling on the entities with the name of the repository leading.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.Defines the name of the repository.Methods inherited from interface org.palladiosimulator.generator.fluent.repository.api.RepoAddition
addToRepository, addToRepository, addToRepository, addToRepository, addToRepository, addToRepository, addToRepository, addToRepository, createRepositoryNow
-
Method Details
-
withName
Defines the name of the repository.- Parameters:
name
-- Returns:
- this repository
-
withDescription
Defines the description of the repository.- Parameters:
description
-- Returns:
- this repository
-
withImportedResource
Loads the repository located inpath
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
Loads the repository located inuri
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
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
-