Class SubSystemCreator


  • public class SubSystemCreator
    extends ComplexComponent
    This class constructs a SubSystem. It is used to create the 'SubSystem' object step-by-step, i.e. 'SubSystemCreator' objects are of intermediate state.
    See Also:
    SubSystem
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.palladiosimulator.pcm.subsystem.SubSystem build()
      Turns the entity in the making into the finished entity.
      SubSystemCreator emits​(EventGroupCreator eventGroup)
      Creates a SourceRole connection between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator emits​(EventGroupCreator eventGroup, String name)
      Creates a SourceRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator emits​(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
      Creates a SourceRole connection between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator emits​(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)
      Creates a SourceRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator handles​(EventGroupCreator eventGroup)
      Creates a SinkRole connection between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator handles​(EventGroupCreator eventGroup, String name)
      Creates a SinkRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator handles​(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
      Creates a SinkRole connection between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator handles​(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)
      Creates a SinkRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component.
      SubSystemCreator provides​(OperationInterfaceCreator interfce)
      Creates an OperationProvidedRole connection between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator provides​(OperationInterfaceCreator interfce, String name)
      Creates an OperationProvidedRole connection with the name name between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator provides​(org.palladiosimulator.pcm.repository.OperationInterface interfce)
      Creates an OperationProvidedRole connection between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator provides​(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)
      Creates an OperationProvidedRole connection with the name name between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator providesInfrastructure​(InfrastructureInterfaceCreator interfce)
      Creates an InfrastructureProvidedRole connection between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator providesInfrastructure​(InfrastructureInterfaceCreator interfce, String name)
      Creates an InfrastructureProvidedRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator providesInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)
      Creates an InfrastructureProvidedRole connection between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator providesInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)
      Creates an InfrastructureProvidedRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator requires​(OperationInterfaceCreator interfce)
      Creates an OperationRequiredRole connection between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator requires​(OperationInterfaceCreator interfce, String name)
      Creates an OperationRequiredRole connection with the name name between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator requires​(org.palladiosimulator.pcm.repository.OperationInterface interfce)
      Creates an OperationRequiredRole connection between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator requires​(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)
      Creates an OperationRequiredRole connection with the name name between the component and the OperationInterface interfce and adds it to the component.
      SubSystemCreator requiresInfrastructure​(InfrastructureInterfaceCreator interfce)
      Creates an InfrastructureRequiredRole connection between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator requiresInfrastructure​(InfrastructureInterfaceCreator interfce, String name)
      Creates an InfrastructureRequiredRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator requiresInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)
      Creates an InfrastructureRequiredRole connection between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator requiresInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)
      Creates an InfrastructureRequiredRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component.
      SubSystemCreator requiresResource​(ResourceInterface resourceInterface)
      Creates a ResourceRequiredRole connection between the component and the ResourceInterface resourceInterface and adds it to the component.
      SubSystemCreator requiresResource​(ResourceInterface resourceInterface, String name)
      Creates a ResourceRequiredRole connection with the name name between the component and the ResourceInterface resourceInterface and adds it to the component.
      SubSystemCreator resourceRequiredDegelationConnection​(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)
      Creates a ResourceRequiredDelegationConnector and adds it to the component.
      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)
      Creates an AssemblyConnector and adds it to the component.
      SubSystemCreator withAssemblyContext​(org.palladiosimulator.pcm.repository.RepositoryComponent component, String name, VariableUsageCreator... configParameterUsage)
      Creates an AssemblyContext with the name name and optionally many configParameterUsages and adds it to the component.
      SubSystemCreator withAssemblyContext​(org.palladiosimulator.pcm.repository.RepositoryComponent component, VariableUsageCreator... configParameterUsage)
      Creates an AssemblyContext and optionally many configParameterUsages and adds it to the component.
      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)
      Creates an AssemblyEventConnector and adds it to the component.
      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)
      Creates an AssemblyInfrastructureConnector and adds it to the component.
      SubSystemCreator withEventChannel​(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
      Creates a new EventChannel.
      SubSystemCreator withEventChannel​(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)
      Creates a new EventChannel with name name.
      SubSystemCreator withEventChannelSinkConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SinkRole sinkRole, String filterConditionStochasticExpression)
      Creates an EventChannelSinkConnector and adds it to the component.
      SubSystemCreator withEventChannelSourceConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SourceRole sourceRole)
      Creates an EventChannelSourceConnector and adds it to the component.
      SubSystemCreator withName​(String name)
      Defines the unique name of this current entity.
      SubSystemCreator withProvidedDelegationConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.OperationProvidedRole outerProvidedRole)
      Creates a ProvidedDelegationConnector and adds it to the component.
      SubSystemCreator withProvidedInfrastructureDelegationConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole outerProvidedRole)
      Creates a ProvidedInfrastructureDelegationConnector and adds it to the component.
      SubSystemCreator withRequiredDelegationConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.OperationRequiredRole outerRequiredRole)
      Creates a RequiredDelegationConnector and adds it to the component.
      SubSystemCreator withRequiredInfrastructureDelegationConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole outerRequiredRole)
      Creates a RequiredInfrastructureDelegationConnector and adds it to the component.
      SubSystemCreator withRequiredResourceDelegationConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)
      Creates a RequiredResourceDelegationConnector and adds it to the component.
      SubSystemCreator withSinkDelegationConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SinkRole innerSinkRole, org.palladiosimulator.pcm.repository.SinkRole outerSinkRole)
      Creates a SinkDelegationConnector and adds it to the component.
      SubSystemCreator withSourceDelegationConnection​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SourceRole innerSourceRole, org.palladiosimulator.pcm.repository.SourceRole outerSourceRole)
      Creates a SourceDelegationConnector and adds it to the component.
    • Method Detail

      • withName

        public SubSystemCreator withName​(String name)
        Description copied from class: Entity
        Defines 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.
        Overrides:
        withName in class Entity
        Returns:
        this current entity in the making
      • provides

        public SubSystemCreator provides​(OperationInterfaceCreator interfce,
                                         String name)
        Description copied from class: Component
        Creates an OperationProvidedRole connection with the name name between the component and the OperationInterface interfce and adds it to the component. Setting the name is 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:
        provides in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.newOperationInterface()
      • provides

        public SubSystemCreator provides​(org.palladiosimulator.pcm.repository.OperationInterface interfce)
        Description copied from class: Component
        Creates an OperationProvidedRole connection between the component and the OperationInterface interfce and adds it to the component.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfOperationInterface(name).

        Overrides:
        provides in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfOperationInterface(String)
      • provides

        public SubSystemCreator provides​(org.palladiosimulator.pcm.repository.OperationInterface interfce,
                                         String name)
        Description copied from class: Component
        Creates an OperationProvidedRole connection with the name name between the component and the OperationInterface interfce and adds it to the component. Setting the name is important for referencing if the role is used in a connector of a composite component and/or subsystem later on.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfOperationInterface(name).

        Overrides:
        provides in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfOperationInterface(String)
      • providesInfrastructure

        public SubSystemCreator providesInfrastructure​(InfrastructureInterfaceCreator interfce,
                                                       String name)
        Description copied from class: Component
        Creates an InfrastructureProvidedRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component. Setting the name is 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:
        providesInfrastructure in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.newInfrastructureInterface()
      • providesInfrastructure

        public SubSystemCreator providesInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)
        Description copied from class: Component
        Creates an InfrastructureProvidedRole connection between the component and the InfrastructureInterface interfce and adds it to the component.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfInfrastructureInterface(name).

        Overrides:
        providesInfrastructure in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
      • providesInfrastructure

        public SubSystemCreator providesInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce,
                                                       String name)
        Description copied from class: Component
        Creates an InfrastructureProvidedRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component. Setting the name is important for referencing if the role is used in a connector of a composite component and/or subsystem later on.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfInfrastructureInterface(name).

        Overrides:
        providesInfrastructure in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
      • handles

        public SubSystemCreator handles​(EventGroupCreator eventGroup,
                                        String name)
        Description copied from class: Component
        Creates a SinkRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component. Setting the name is 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:
        handles in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.newEventGroup()
      • handles

        public SubSystemCreator handles​(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
        Description copied from class: Component
        Creates a SinkRole connection between the component and the EventGroup eventGroup and adds it to the component.

        An existing eventGroup can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfEventGroup(name).

        Overrides:
        handles in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfEventGroup(String)
      • handles

        public SubSystemCreator handles​(org.palladiosimulator.pcm.repository.EventGroup eventGroup,
                                        String name)
        Description copied from class: Component
        Creates a SinkRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component. Setting the name is important for referencing if the role is used in a connector of a composite component and/or subsystem later on.

        An existing eventGroup can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfEventGroup(name).

        Overrides:
        handles in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfEventGroup(String)
      • requires

        public SubSystemCreator requires​(OperationInterfaceCreator interfce,
                                         String name)
        Description copied from class: Component
        Creates an OperationRequiredRole connection with the name name between the component and the OperationInterface interfce and adds it to the component. Setting the name is 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:
        requires in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.newOperationInterface()
      • requires

        public SubSystemCreator requires​(org.palladiosimulator.pcm.repository.OperationInterface interfce)
        Description copied from class: Component
        Creates an OperationRequiredRole connection between the component and the OperationInterface interfce and adds it to the component.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfOperationInterface(name).

        Overrides:
        requires in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfOperationInterface(String)
      • requires

        public SubSystemCreator requires​(org.palladiosimulator.pcm.repository.OperationInterface interfce,
                                         String name)
        Description copied from class: Component
        Creates an OperationRequiredRole connection with the name name between the component and the OperationInterface interfce and adds it to the component. Setting the name is important for referencing if the role is used in a connector of a composite component and/or subsystem later on.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfOperationInterface(name).

        Overrides:
        requires in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfOperationInterface(String)
      • requiresInfrastructure

        public SubSystemCreator requiresInfrastructure​(InfrastructureInterfaceCreator interfce,
                                                       String name)
        Description copied from class: Component
        Creates an InfrastructureRequiredRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component. Setting the name is 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:
        requiresInfrastructure in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.newInfrastructureInterface()
      • requiresInfrastructure

        public SubSystemCreator requiresInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)
        Description copied from class: Component
        Creates an InfrastructureRequiredRole connection between the component and the InfrastructureInterface interfce and adds it to the component.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfInfrastructureInterface(name).

        Overrides:
        requiresInfrastructure in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
      • requiresInfrastructure

        public SubSystemCreator requiresInfrastructure​(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce,
                                                       String name)
        Description copied from class: Component
        Creates an InfrastructureRequiredRole connection with the name name between the component and the InfrastructureInterface interfce and adds it to the component. Setting the name is important for referencing if the role is used in a connector of a composite component and/or subsystem later on.

        An existing interfce can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfInfrastructureInterface(name).

        Overrides:
        requiresInfrastructure in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfInfrastructureInterface(String)
      • emits

        public SubSystemCreator emits​(EventGroupCreator eventGroup,
                                      String name)
        Description copied from class: Component
        Creates a SourceRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component. Setting the name is 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:
        emits in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.newEventGroup()
      • emits

        public SubSystemCreator emits​(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
        Description copied from class: Component
        Creates a SourceRole connection between the component and the EventGroup eventGroup and adds it to the component.

        An existing eventGroup can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfEventGroup(name).

        Overrides:
        emits in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfEventGroup(String)
      • emits

        public SubSystemCreator emits​(org.palladiosimulator.pcm.repository.EventGroup eventGroup,
                                      String name)
        Description copied from class: Component
        Creates a SourceRole connection with the name name between the component and the EventGroup eventGroup and adds it to the component. Setting the name is important for referencing if the role is used in a connector of a composite component and/or subsystem later on.

        An existing eventGroup can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfEventGroup(name).

        Overrides:
        emits in class Component
        Returns:
        this component
        See Also:
        FluentRepositoryFactory.fetchOfEventGroup(String)
      • requiresResource

        public SubSystemCreator requiresResource​(ResourceInterface resourceInterface)
        Description copied from class: Component
        Creates a ResourceRequiredRole connection between the component and the ResourceInterface resourceInterface and adds it to the component.

        An existing resourceInterface can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfResourceInterface(name).

        Overrides:
        requiresResource in class Component
        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: Component
        Creates a ResourceRequiredRole connection with the name name between the component and the ResourceInterface resourceInterface and adds it to the component. Setting the name is important for referencing if the role is used in a connector of a composite component and/or subsystem later on.

        An existing resourceInterface can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e. create.fetchOfResourceInterface(name).

        Overrides:
        requiresResource in class Component
        Returns:
        this component
        See Also:
        org.palladiosimulator.generator.fluent.repository.factory.FluentRepositoryFactory#fetchOfResourceInterface(String)
      • withEventChannel

        public SubSystemCreator withEventChannel​(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
        Description copied from class: ComplexComponent
        Creates a new EventChannel.

        Event channels consist of an EventGroup and arbitrarily many EventChannelSinkConnectors and EventChannelSinkConnectors that are added when creating the connectors. However, that required the specification of a name for the event channel.

        Overrides:
        withEventChannel in class ComplexComponent
        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: ComplexComponent
        Creates an AssemblyConnector and 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:
        withAssemblyConnection in class ComplexComponent
        Returns:
        the component in the making
        See Also:
        FluentRepositoryFactory.fetchOfAssemblyContext(String), FluentRepositoryFactory.fetchOfOperationProvidedRole(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: ComplexComponent
        Creates an AssemblyEventConnector and 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:
        withAssemblyEventConnection in class ComplexComponent
        Returns:
        the component in the making
        See Also:
        FluentRepositoryFactory.fetchOfAssemblyContext(String), FluentRepositoryFactory.fetchOfSinkRole(String), FluentRepositoryFactory.fetchOfSourceRole(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: ComplexComponent
        Creates a SourceDelegationConnector and 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:
        withSourceDelegationConnection in class ComplexComponent
        Returns:
        the component in the making
        See Also:
        FluentRepositoryFactory.fetchOfAssemblyContext(String), FluentRepositoryFactory.fetchOfSourceRole(String)
      • resourceRequiredDegelationConnection

        public SubSystemCreator resourceRequiredDegelationConnection​(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole,
                                                                     org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)
        Description copied from class: ComplexComponent
        Creates a ResourceRequiredDelegationConnector and 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:
        resourceRequiredDegelationConnection in class ComplexComponent
        Returns:
        the component in the making
        See Also:
        FluentRepositoryFactory.fetchOfResourceRequiredRole(String)
      • build

        public org.palladiosimulator.pcm.subsystem.SubSystem build()
        Description copied from class: Entity
        Turns the entity in the making into the finished entity.
        Specified by:
        build in class Component
        Returns:
        the finished entity