Interface RepoAddition
-
- All Known Subinterfaces:
Repo
- All Known Implementing Classes:
RepositoryCreator
public interface RepoAddition
TODO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepoAddition
addToRepository(Component component)
Adds thecomponent
to the list of components stored in the repository.RepoAddition
addToRepository(Interface interfce)
Adds theinterfce
to the list of interfaces stored in the repository.RepoAddition
addToRepository(CompositeDataTypeCreator compositeDataType)
Adds thecompositeDataType
to the list of data types provided by this repository.RepoAddition
addToRepository(ExceptionTypeCreator exceptionType)
Adds theexceptionType
to the list of exception types provided by this repository.RepoAddition
addToRepository(ResourceTimeoutFailureTypeCreator failureType)
Adds thefailureType
to the list of failure types provided by this repository.RepoAddition
addToRepository(org.palladiosimulator.pcm.reliability.FailureType failureType)
Adds thefailureType
to the list of failure types provided by this repository.RepoAddition
addToRepository(org.palladiosimulator.pcm.repository.CollectionDataType collectionDataType)
Adds thecollectionDataType
to the list of data types provided by this repository.org.palladiosimulator.pcm.repository.Repository
createRepositoryNow()
Turns this repository-in-the-making into a Palladio-'Repository' object.
-
-
-
Method Detail
-
addToRepository
RepoAddition addToRepository(org.palladiosimulator.pcm.repository.CollectionDataType collectionDataType)
Adds thecollectionDataType
to the list of data types provided by this repository.The
collectionDataType
represents a collection data type, e.g. a list, array, set of items of the particular type.
ThecollectionDataType
can be created using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.newCollectionDataType()
- Parameters:
collectionDataType
-- Returns:
- this repository, now containing the
collectionDataType
- See Also:
FluentRepositoryFactory.newCollectionDataType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.Primitive)
,FluentRepositoryFactory.newCollectionDataType(String, org.palladiosimulator.pcm.repository.DataType)
,CollectionDataType
-
addToRepository
RepoAddition addToRepository(CompositeDataTypeCreator compositeDataType)
Adds thecompositeDataType
to the list of data types provided by this repository.The
compositeDataType
represents a complex data type containing other data types. This construct is common in higher programming languages as record, struct, or class.
ThecompositeDataType
can be created using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.newCompositeDataType()
- Parameters:
compositeDataType
-- Returns:
- this repository, now containing the
compositeDataType
- See Also:
org.palladiosimulator.generator.fluent.repository.factory.FluentRepositoryFactory#newCompositeDataType(String, org.palladiosimulator.pcm.repository.CompositeDataType...)
,CompositeDataType
-
addToRepository
RepoAddition addToRepository(org.palladiosimulator.pcm.reliability.FailureType failureType)
Adds thefailureType
to the list of failure types provided by this repository.- Parameters:
failureType
-- Returns:
- this repository, now containing the
failureType
- See Also:
FluentRepositoryFactory.newHardwareInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.ProcessingResource)
,FluentRepositoryFactory.newNetworkInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.CommunicationLinkResource)
,FluentRepositoryFactory.newSoftwareInducedFailureType(String)
,FluentRepositoryFactory.newResourceTimeoutFailureType(String)
,FailureType
-
addToRepository
RepoAddition addToRepository(ResourceTimeoutFailureTypeCreator failureType)
Adds thefailureType
to the list of failure types provided by this repository.- Parameters:
failureType
-- Returns:
- this repository, now containing the
failureType
- See Also:
FluentRepositoryFactory.newHardwareInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.ProcessingResource)
,FluentRepositoryFactory.newNetworkInducedFailureType(String, org.palladiosimulator.generator.fluent.component.repositoryStructure.datatypes.CommunicationLinkResource)
,FluentRepositoryFactory.newSoftwareInducedFailureType(String)
,FluentRepositoryFactory.newResourceTimeoutFailureType(String)
,FailureType
-
addToRepository
RepoAddition addToRepository(ExceptionTypeCreator exceptionType)
Adds theexceptionType
to the list of exception types provided by this repository.- Parameters:
exceptionType
-- Returns:
- this repository, now containing the
exceptionType
- See Also:
FluentRepositoryFactory.newExceptionType()
,ExceptionType
-
addToRepository
RepoAddition addToRepository(Component component)
Adds thecomponent
to the list of components stored in the repository.Components are atomic building blocks of a software architecture. There are 5 different types of components: 'BasicComponent', 'CompositeComponent', 'SubSystem', 'CompleteComponentType', 'ProvidesComponentType'.
Thecomponent
can be created using the org.palladiosimulator.generator.fluent.component.factory, e.g.create.newBasicComponent()
etc.- Parameters:
component
-- Returns:
- this repository, now containing the
component
- See Also:
FluentRepositoryFactory.newBasicComponent()
,FluentRepositoryFactory.newCompositeComponent()
,FluentRepositoryFactory.newSubSystem()
,FluentRepositoryFactory.newCompleteComponentType()
,FluentRepositoryFactory.newProvidesComponentType()
,RepositoryComponent
-
addToRepository
RepoAddition addToRepository(Interface interfce)
Adds theinterfce
to the list of interfaces stored in the repository.Interfaces are modeled as a set of signatures representing services provided or required by a component. There are 3 different types of interfaces: 'OperationInterface', 'EventGroup', 'InfrastructureInterface'.
Theinterfce
can be created using the org.palladiosimulator.generator.fluent.component.factory, e.g.create.newOperationInterface()
etc.- Parameters:
interfce
-- Returns:
- this repository, now containing the
interfce
- See Also:
FluentRepositoryFactory.newOperationInterface()
,FluentRepositoryFactory.newEventGroup()
,FluentRepositoryFactory.newInfrastructureInterface()
,Interface
-
createRepositoryNow
org.palladiosimulator.pcm.repository.Repository createRepositoryNow()
Turns this repository-in-the-making into a Palladio-'Repository' object.- Returns:
- the final repository object
- See Also:
Repository
-
-