Interface RepoAddition
-
- All Known Subinterfaces:
Repo
- All Known Implementing Classes:
RepositoryCreator
public interface RepoAdditionTODO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepoAdditionaddToRepository(Component component)Adds thecomponentto the list of components stored in the repository.RepoAdditionaddToRepository(Interface interfce)Adds theinterfceto the list of interfaces stored in the repository.RepoAdditionaddToRepository(CompositeDataTypeCreator compositeDataType)Adds thecompositeDataTypeto the list of data types provided by this repository.RepoAdditionaddToRepository(ExceptionTypeCreator exceptionType)Adds theexceptionTypeto the list of exception types provided by this repository.RepoAdditionaddToRepository(ResourceTimeoutFailureTypeCreator failureType)Adds thefailureTypeto the list of failure types provided by this repository.RepoAdditionaddToRepository(org.palladiosimulator.pcm.reliability.FailureType failureType)Adds thefailureTypeto the list of failure types provided by this repository.RepoAdditionaddToRepository(org.palladiosimulator.pcm.repository.CollectionDataType collectionDataType)Adds thecollectionDataTypeto the list of data types provided by this repository.org.palladiosimulator.pcm.repository.RepositorycreateRepositoryNow()Turns this repository-in-the-making into a Palladio-'Repository' object.
-
-
-
Method Detail
-
addToRepository
RepoAddition addToRepository(org.palladiosimulator.pcm.repository.CollectionDataType collectionDataType)
Adds thecollectionDataTypeto the list of data types provided by this repository.The
collectionDataTyperepresents a collection data type, e.g. a list, array, set of items of the particular type.
ThecollectionDataTypecan 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 thecompositeDataTypeto the list of data types provided by this repository.The
compositeDataTyperepresents a complex data type containing other data types. This construct is common in higher programming languages as record, struct, or class.
ThecompositeDataTypecan 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 thefailureTypeto 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 thefailureTypeto 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 theexceptionTypeto 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 thecomponentto 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'.
Thecomponentcan 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 theinterfceto 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'.
Theinterfcecan 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
-
-