Class SubSystemCreator
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
-
- org.palladiosimulator.generator.fluent.repository.structure.components.Component
-
- org.palladiosimulator.generator.fluent.repository.structure.components.ComplexComponent
-
- org.palladiosimulator.generator.fluent.repository.structure.components.SubSystemCreator
-
public class SubSystemCreator extends ComplexComponent
This class constructs aSubSystem. It is used to create the 'SubSystem' object step-by-step, i.e. 'SubSystemCreator' objects are of intermediate state.- See Also:
SubSystem
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.ComplexComponent
assemblyContexts, connectors, eventChannels, resourceRequiredDelegationConnectors
-
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.Component
providedRoles, requiredRoles, resourceRequiredRoles
-
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
repository
-
-
Constructor Summary
Constructors Constructor Description SubSystemCreator(RepositoryCreator repo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.subsystem.SubSystembuild()Turns the entity in the making into the finished entity.SubSystemCreatoremits(EventGroupCreator eventGroup)Creates aSourceRoleconnection between the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatoremits(EventGroupCreator eventGroup, String name)Creates aSourceRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatoremits(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Creates aSourceRoleconnection between the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatoremits(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)Creates aSourceRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatorhandles(EventGroupCreator eventGroup)Creates aSinkRoleconnection between the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatorhandles(EventGroupCreator eventGroup, String name)Creates aSinkRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatorhandles(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Creates aSinkRoleconnection between the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatorhandles(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)Creates aSinkRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.SubSystemCreatorprovides(OperationInterfaceCreator interfce)Creates anOperationProvidedRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorprovides(OperationInterfaceCreator interfce, String name)Creates anOperationProvidedRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorprovides(org.palladiosimulator.pcm.repository.OperationInterface interfce)Creates anOperationProvidedRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorprovides(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)Creates anOperationProvidedRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorprovidesInfrastructure(InfrastructureInterfaceCreator interfce)Creates anInfrastructureProvidedRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorprovidesInfrastructure(InfrastructureInterfaceCreator interfce, String name)Creates anInfrastructureProvidedRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorprovidesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)Creates anInfrastructureProvidedRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorprovidesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)Creates anInfrastructureProvidedRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorrequires(OperationInterfaceCreator interfce)Creates anOperationRequiredRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorrequires(OperationInterfaceCreator interfce, String name)Creates anOperationRequiredRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorrequires(org.palladiosimulator.pcm.repository.OperationInterface interfce)Creates anOperationRequiredRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorrequires(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)Creates anOperationRequiredRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.SubSystemCreatorrequiresInfrastructure(InfrastructureInterfaceCreator interfce)Creates anInfrastructureRequiredRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorrequiresInfrastructure(InfrastructureInterfaceCreator interfce, String name)Creates anInfrastructureRequiredRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorrequiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)Creates anInfrastructureRequiredRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorrequiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)Creates anInfrastructureRequiredRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.SubSystemCreatorrequiresResource(ResourceInterface resourceInterface)Creates aResourceRequiredRoleconnection between the component and theResourceInterfaceresourceInterfaceand adds it to the component.SubSystemCreatorrequiresResource(ResourceInterface resourceInterface, String name)Creates aResourceRequiredRoleconnection with the namenamebetween the component and theResourceInterfaceresourceInterfaceand adds it to the component.SubSystemCreatorresourceRequiredDegelationConnection(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)Creates aResourceRequiredDelegationConnectorand adds it to the component.SubSystemCreatorwithAssemblyConnection(org.palladiosimulator.pcm.repository.OperationProvidedRole providedRole, org.palladiosimulator.pcm.core.composition.AssemblyContext providingAssemblyContext, org.palladiosimulator.pcm.repository.OperationRequiredRole requiredRole, org.palladiosimulator.pcm.core.composition.AssemblyContext requiringAssemblyContext)Creates anAssemblyConnectorand adds it to the component.SubSystemCreatorwithAssemblyContext(org.palladiosimulator.pcm.repository.RepositoryComponent component, String name, VariableUsageCreator... configParameterUsage)Creates anAssemblyContextwith the namenameand optionally manyconfigParameterUsagesand adds it to the component.SubSystemCreatorwithAssemblyContext(org.palladiosimulator.pcm.repository.RepositoryComponent component, VariableUsageCreator... configParameterUsage)Creates anAssemblyContextand optionally manyconfigParameterUsagesand adds it to the component.SubSystemCreatorwithAssemblyEventConnection(org.palladiosimulator.pcm.repository.SinkRole sinkRole, org.palladiosimulator.pcm.core.composition.AssemblyContext sinkAssemblyContext, org.palladiosimulator.pcm.repository.SourceRole sourceRole, org.palladiosimulator.pcm.core.composition.AssemblyContext sourceAssemblyContext, String filterConditionStochasticExpression)Creates anAssemblyEventConnectorand adds it to the component.SubSystemCreatorwithAssemblyInfrastructureConnection(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole providedRole, org.palladiosimulator.pcm.core.composition.AssemblyContext providingAssemblyContext, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole requiredRole, org.palladiosimulator.pcm.core.composition.AssemblyContext requiringAssemblyContext)Creates anAssemblyInfrastructureConnectorand adds it to the component.SubSystemCreatorwithEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Creates a newEventChannel.SubSystemCreatorwithEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)Creates a newEventChannelwith namename.SubSystemCreatorwithEventChannelSinkConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SinkRole sinkRole, String filterConditionStochasticExpression)Creates anEventChannelSinkConnectorand adds it to the component.SubSystemCreatorwithEventChannelSourceConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SourceRole sourceRole)Creates anEventChannelSourceConnectorand adds it to the component.SubSystemCreatorwithName(String name)Defines the unique name of this current entity.SubSystemCreatorwithProvidedDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.OperationProvidedRole outerProvidedRole)Creates aProvidedDelegationConnectorand adds it to the component.SubSystemCreatorwithProvidedInfrastructureDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole outerProvidedRole)Creates aProvidedInfrastructureDelegationConnectorand adds it to the component.SubSystemCreatorwithRequiredDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.OperationRequiredRole outerRequiredRole)Creates aRequiredDelegationConnectorand adds it to the component.SubSystemCreatorwithRequiredInfrastructureDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole outerRequiredRole)Creates aRequiredInfrastructureDelegationConnectorand adds it to the component.SubSystemCreatorwithRequiredResourceDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)Creates aRequiredResourceDelegationConnectorand adds it to the component.SubSystemCreatorwithSinkDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SinkRole innerSinkRole, org.palladiosimulator.pcm.repository.SinkRole outerSinkRole)Creates aSinkDelegationConnectorand adds it to the component.SubSystemCreatorwithSourceDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SourceRole innerSourceRole, org.palladiosimulator.pcm.repository.SourceRole outerSourceRole)Creates aSourceDelegationConnectorand adds it to the component.-
Methods inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.ComplexComponent
addEventChannel
-
-
-
-
Constructor Detail
-
SubSystemCreator
public SubSystemCreator(RepositoryCreator repo)
-
-
Method Detail
-
withName
public SubSystemCreator withName(String name)
Description copied from class:EntityDefines the unique name of this current entity. Once created entities are referenced by this name. Only entities with a unique name can be fetched from the model.
-
provides
public SubSystemCreator provides(OperationInterfaceCreator interfce)
Description copied from class:ComponentCreates anOperationProvidedRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.Create a new operation interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newOperationInterface().- Overrides:
providesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newOperationInterface()
-
provides
public SubSystemCreator provides(OperationInterfaceCreator interfce, String name)
Description copied from class:ComponentCreates anOperationProvidedRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.Create a new operation interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newOperationInterface().- Overrides:
providesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newOperationInterface()
-
provides
public SubSystemCreator provides(org.palladiosimulator.pcm.repository.OperationInterface interfce)
Description copied from class:ComponentCreates anOperationProvidedRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfOperationInterface(name).- Overrides:
providesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfOperationInterface(String)
-
provides
public SubSystemCreator provides(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)
Description copied from class:ComponentCreates anOperationProvidedRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfOperationInterface(name).- Overrides:
providesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfOperationInterface(String)
-
providesInfrastructure
public SubSystemCreator providesInfrastructure(InfrastructureInterfaceCreator interfce)
Description copied from class:ComponentCreates anInfrastructureProvidedRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.Create a new infrastructure interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newInfrastructureInterface().- Overrides:
providesInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newInfrastructureInterface()
-
providesInfrastructure
public SubSystemCreator providesInfrastructure(InfrastructureInterfaceCreator interfce, String name)
Description copied from class:ComponentCreates anInfrastructureProvidedRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.Create a new infrastructure interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newInfrastructureInterface().- Overrides:
providesInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newInfrastructureInterface()
-
providesInfrastructure
public SubSystemCreator providesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)
Description copied from class:ComponentCreates anInfrastructureProvidedRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfInfrastructureInterface(name).- Overrides:
providesInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
-
providesInfrastructure
public SubSystemCreator providesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)
Description copied from class:ComponentCreates anInfrastructureProvidedRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfInfrastructureInterface(name).- Overrides:
providesInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
-
handles
public SubSystemCreator handles(EventGroupCreator eventGroup)
Description copied from class:ComponentCreates aSinkRoleconnection between the component and theEventGroupeventGroupand adds it to the component.Create a new event group by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newEventGroup().- Overrides:
handlesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newEventGroup()
-
handles
public SubSystemCreator handles(EventGroupCreator eventGroup, String name)
Description copied from class:ComponentCreates aSinkRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.Create a new event group by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newEventGroup().- Overrides:
handlesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newEventGroup()
-
handles
public SubSystemCreator handles(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
Description copied from class:ComponentCreates aSinkRoleconnection between the component and theEventGroupeventGroupand adds it to the component.An existing
eventGroupcan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfEventGroup(name).- Overrides:
handlesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfEventGroup(String)
-
handles
public SubSystemCreator handles(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)
Description copied from class:ComponentCreates aSinkRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.An existing
eventGroupcan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfEventGroup(name).- Overrides:
handlesin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfEventGroup(String)
-
requires
public SubSystemCreator requires(OperationInterfaceCreator interfce)
Description copied from class:ComponentCreates anOperationRequiredRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.Create a new operation interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newOperationInterface().- Overrides:
requiresin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newOperationInterface()
-
requires
public SubSystemCreator requires(OperationInterfaceCreator interfce, String name)
Description copied from class:ComponentCreates anOperationRequiredRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.Create a new operation interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newOperationInterface().- Overrides:
requiresin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newOperationInterface()
-
requires
public SubSystemCreator requires(org.palladiosimulator.pcm.repository.OperationInterface interfce)
Description copied from class:ComponentCreates anOperationRequiredRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfOperationInterface(name).- Overrides:
requiresin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfOperationInterface(String)
-
requires
public SubSystemCreator requires(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)
Description copied from class:ComponentCreates anOperationRequiredRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfOperationInterface(name).- Overrides:
requiresin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfOperationInterface(String)
-
requiresInfrastructure
public SubSystemCreator requiresInfrastructure(InfrastructureInterfaceCreator interfce)
Description copied from class:ComponentCreates anInfrastructureRequiredRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.Create a new infrastructure interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newInfrastructureInterface().- Overrides:
requiresInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newInfrastructureInterface()
-
requiresInfrastructure
public SubSystemCreator requiresInfrastructure(InfrastructureInterfaceCreator interfce, String name)
Description copied from class:ComponentCreates anInfrastructureRequiredRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.Create a new infrastructure interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newInfrastructureInterface().- Overrides:
requiresInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newInfrastructureInterface()
-
requiresInfrastructure
public SubSystemCreator requiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)
Description copied from class:ComponentCreates anInfrastructureRequiredRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfInfrastructureInterface(name).- Overrides:
requiresInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
-
requiresInfrastructure
public SubSystemCreator requiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)
Description copied from class:ComponentCreates anInfrastructureRequiredRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.An existing
interfcecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfInfrastructureInterface(name).- Overrides:
requiresInfrastructurein classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
-
emits
public SubSystemCreator emits(EventGroupCreator eventGroup)
Description copied from class:ComponentCreates aSourceRoleconnection between the component and theEventGroupeventGroupand adds it to the component.Create a new event group by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newEventGroup().- Overrides:
emitsin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newEventGroup()
-
emits
public SubSystemCreator emits(EventGroupCreator eventGroup, String name)
Description copied from class:ComponentCreates aSourceRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.Create a new event group by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newEventGroup().- Overrides:
emitsin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.newEventGroup()
-
emits
public SubSystemCreator emits(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
Description copied from class:ComponentCreates aSourceRoleconnection between the component and theEventGroupeventGroupand adds it to the component.An existing
eventGroupcan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfEventGroup(name).- Overrides:
emitsin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfEventGroup(String)
-
emits
public SubSystemCreator emits(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)
Description copied from class:ComponentCreates aSourceRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.An existing
eventGroupcan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfEventGroup(name).- Overrides:
emitsin classComponent- Returns:
- this component
- See Also:
FluentRepositoryFactory.fetchOfEventGroup(String)
-
requiresResource
public SubSystemCreator requiresResource(ResourceInterface resourceInterface)
Description copied from class:ComponentCreates aResourceRequiredRoleconnection between the component and theResourceInterfaceresourceInterfaceand adds it to the component.An existing
resourceInterfacecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfResourceInterface(name).- Overrides:
requiresResourcein classComponent- Returns:
- this component
- See Also:
org.palladiosimulator.generator.fluent.repository.factory.FluentRepositoryFactory#fetchOfResourceInterface(String)
-
requiresResource
public SubSystemCreator requiresResource(ResourceInterface resourceInterface, String name)
Description copied from class:ComponentCreates aResourceRequiredRoleconnection with the namenamebetween the component and theResourceInterfaceresourceInterfaceand adds it to the component. Setting thenameis important for referencing if the role is used in a connector of a composite component and/or subsystem later on.An existing
resourceInterfacecan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfResourceInterface(name).- Overrides:
requiresResourcein classComponent- Returns:
- this component
- See Also:
org.palladiosimulator.generator.fluent.repository.factory.FluentRepositoryFactory#fetchOfResourceInterface(String)
-
withAssemblyContext
public SubSystemCreator withAssemblyContext(org.palladiosimulator.pcm.repository.RepositoryComponent component, String name, VariableUsageCreator... configParameterUsage)
Description copied from class:ComplexComponentCreates anAssemblyContextwith the namenameand optionally manyconfigParameterUsagesand adds it to the component.An existing
RepositoryComponentcan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfComponent(name).- Overrides:
withAssemblyContextin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfComponent(String)
-
withAssemblyContext
public SubSystemCreator withAssemblyContext(org.palladiosimulator.pcm.repository.RepositoryComponent component, VariableUsageCreator... configParameterUsage)
Description copied from class:ComplexComponentCreates anAssemblyContextand optionally manyconfigParameterUsagesand adds it to the component.An existing
RepositoryComponentcan be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfComponent(name).- Overrides:
withAssemblyContextin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfComponent(String)
-
withEventChannel
public SubSystemCreator withEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)
Description copied from class:ComplexComponentCreates a newEventChannelwith namename.Event channels consist of an
EventGroupand arbitrarily manyEventChannelSinkConnectors andEventChannelSinkConnectors that are added when creating the connectors.- Overrides:
withEventChannelin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfEventGroup(String)
-
withEventChannel
public SubSystemCreator withEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
Description copied from class:ComplexComponentCreates a newEventChannel.Event channels consist of an
EventGroupand arbitrarily manyEventChannelSinkConnectors andEventChannelSinkConnectors that are added when creating the connectors. However, that required the specification of a name for the event channel.- Overrides:
withEventChannelin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfEventGroup(String)
-
withAssemblyConnection
public SubSystemCreator withAssemblyConnection(org.palladiosimulator.pcm.repository.OperationProvidedRole providedRole, org.palladiosimulator.pcm.core.composition.AssemblyContext providingAssemblyContext, org.palladiosimulator.pcm.repository.OperationRequiredRole requiredRole, org.palladiosimulator.pcm.core.composition.AssemblyContext requiringAssemblyContext)
Description copied from class:ComplexComponentCreates anAssemblyConnectorand adds it to the component.An AssemblyConnector is a bidirectional link of two assembly contexts. Intuitively, an AssemblyConnector connects a provided and a required interface of two different components. AssemblyContext must refer to the tuple (Role, AssemblyContext) in order to uniquely identify which component roles communicate with each other.
Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withAssemblyConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfOperationProvidedRole(String),FluentRepositoryFactory.fetchOfOperationRequiredRole(String)
-
withProvidedDelegationConnection
public SubSystemCreator withProvidedDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.OperationProvidedRole outerProvidedRole)
Description copied from class:ComplexComponentCreates aProvidedDelegationConnectorand adds it to the component.A ProvidedDelegationConnector delegates incoming calls of provided roles to inner provided roles of encapsulated assembly contexts.
Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withProvidedDelegationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfOperationProvidedRole(String)
-
withRequiredDelegationConnection
public SubSystemCreator withRequiredDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.OperationRequiredRole outerRequiredRole)
Description copied from class:ComplexComponentCreates aRequiredDelegationConnectorand adds it to the component.A RequiredDelegationConnector delegates required roles of encapsulated assembly contexts to outer required roles .
Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withRequiredDelegationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfOperationRequiredRole(String)
-
withAssemblyEventConnection
public SubSystemCreator withAssemblyEventConnection(org.palladiosimulator.pcm.repository.SinkRole sinkRole, org.palladiosimulator.pcm.core.composition.AssemblyContext sinkAssemblyContext, org.palladiosimulator.pcm.repository.SourceRole sourceRole, org.palladiosimulator.pcm.core.composition.AssemblyContext sourceAssemblyContext, String filterConditionStochasticExpression)
Description copied from class:ComplexComponentCreates anAssemblyEventConnectorand adds it to the component.An AssemblyConnector is a bidirectional link of two assembly contexts. Intuitively, an AssemblyEventConnector connects a sink and a source. AssemblyContext must refer to the tuple (Role,AssemblyContext) in order to uniquely identify which component sink and source roles communicate with each other.
Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withAssemblyEventConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfSinkRole(String),FluentRepositoryFactory.fetchOfSourceRole(String)
-
withEventChannelSinkConnection
public SubSystemCreator withEventChannelSinkConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SinkRole sinkRole, String filterConditionStochasticExpression)
Description copied from class:ComplexComponentCreates anEventChannelSinkConnectorand adds it to the component.Existing roles, assembly contexts and event channels can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withEventChannelSinkConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfEventChannel(String),FluentRepositoryFactory.fetchOfSinkRole(String)
-
withEventChannelSourceConnection
public SubSystemCreator withEventChannelSourceConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SourceRole sourceRole)
Description copied from class:ComplexComponentCreates anEventChannelSourceConnectorand adds it to the component.Existing roles, assembly contexts and event channels can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withEventChannelSourceConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfEventChannel(String),FluentRepositoryFactory.fetchOfSourceRole(String)
-
withSinkDelegationConnection
public SubSystemCreator withSinkDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SinkRole innerSinkRole, org.palladiosimulator.pcm.repository.SinkRole outerSinkRole)
Description copied from class:ComplexComponentCreates aSinkDelegationConnectorand adds it to the component.A SinkDelegationConnector delegates an incoming event to the encapsulated assembly contexts to inner sink roles.
Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withSinkDelegationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfSinkRole(String)
-
withSourceDelegationConnection
public SubSystemCreator withSourceDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SourceRole innerSourceRole, org.palladiosimulator.pcm.repository.SourceRole outerSourceRole)
Description copied from class:ComplexComponentCreates aSourceDelegationConnectorand adds it to the component.A SourceDelegationConnector delegates outgoing events of encapsulated assembly contexts to an external souce role of the enclosing assembly context.
Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withSourceDelegationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfSourceRole(String)
-
withAssemblyInfrastructureConnection
public SubSystemCreator withAssemblyInfrastructureConnection(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole providedRole, org.palladiosimulator.pcm.core.composition.AssemblyContext providingAssemblyContext, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole requiredRole, org.palladiosimulator.pcm.core.composition.AssemblyContext requiringAssemblyContext)
Description copied from class:ComplexComponentCreates anAssemblyInfrastructureConnectorand adds it to the component.Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withAssemblyInfrastructureConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfInfrastructureProvidedRole(String),FluentRepositoryFactory.fetchOfInfrastructureRequiredRole(String)
-
withProvidedInfrastructureDelegationConnection
public SubSystemCreator withProvidedInfrastructureDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole outerProvidedRole)
Description copied from class:ComplexComponentCreates aProvidedInfrastructureDelegationConnectorand adds it to the component.Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withProvidedInfrastructureDelegationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfInfrastructureProvidedRole(String)
-
withRequiredInfrastructureDelegationConnection
public SubSystemCreator withRequiredInfrastructureDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole outerRequiredRole)
Description copied from class:ComplexComponentCreates aRequiredInfrastructureDelegationConnectorand adds it to the component.Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withRequiredInfrastructureDelegationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfInfrastructureRequiredRole(String)
-
withRequiredResourceDelegationConnection
public SubSystemCreator withRequiredResourceDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)
Description copied from class:ComplexComponentCreates aRequiredResourceDelegationConnectorand adds it to the component.Existing roles and assembly contexts can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory.
- Overrides:
withRequiredResourceDelegationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfAssemblyContext(String),FluentRepositoryFactory.fetchOfResourceRequiredRole(String)
-
resourceRequiredDegelationConnection
public SubSystemCreator resourceRequiredDegelationConnection(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)
Description copied from class:ComplexComponentCreates aResourceRequiredDelegationConnectorand adds it to the component.Existing required roles can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.fetchOfResourceRequiredRole(name).- Overrides:
resourceRequiredDegelationConnectionin classComplexComponent- Returns:
- the component in the making
- See Also:
FluentRepositoryFactory.fetchOfResourceRequiredRole(String)
-
-