Class CompositeComponentCreator
CompositeComponent
. It is used to create the 'CompositeComponent' object
step-by-step, i.e. 'CompositeComponentCreator' objects are of intermediate state.- See Also:
-
CompositeComponent
-
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
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.repository.RepositoryComponent
build()
Turns the entity in the making into the finished entity.conforms
(CompleteComponentTypeCreator completeComponentType) Creates a conforming (parental) connection to thecompleteComponentType
and adds it to the composite component.conforms
(org.palladiosimulator.pcm.repository.CompleteComponentType completeComponentType) Creates a conforming (parental) connection to thecompleteComponentType
and adds it to the composite component.emits
(EventGroupCreator eventGroup) Creates aSourceRole
connection between the component and theEventGroup
eventGroup
and adds it to the component.emits
(EventGroupCreator eventGroup, String name) Creates aSourceRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component.emits
(org.palladiosimulator.pcm.repository.EventGroup eventGroup) Creates aSourceRole
connection between the component and theEventGroup
eventGroup
and adds it to the component.Creates aSourceRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component.handles
(EventGroupCreator eventGroup) Creates aSinkRole
connection between the component and theEventGroup
eventGroup
and adds it to the component.handles
(EventGroupCreator eventGroup, String name) Creates aSinkRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component.handles
(org.palladiosimulator.pcm.repository.EventGroup eventGroup) Creates aSinkRole
connection between the component and theEventGroup
eventGroup
and adds it to the component.Creates aSinkRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component.ofType
(org.palladiosimulator.pcm.repository.ComponentType type) Sets the type of the composite component.
Possible values are 'BUSINESS_COMPONENT' (default) and 'INFRASTRUCTURE_COMPONENT'.provides
(OperationInterfaceCreator interfce) Creates anOperationProvidedRole
connection between the component and theOperationInterface
interfce
and adds it to the component.provides
(OperationInterfaceCreator interfce, String name) Creates anOperationProvidedRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component.provides
(org.palladiosimulator.pcm.repository.OperationInterface interfce) Creates anOperationProvidedRole
connection between the component and theOperationInterface
interfce
and adds it to the component.Creates anOperationProvidedRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component.Creates anInfrastructureProvidedRole
connection between the component and theInfrastructureInterface
interfce
and adds it to the component.providesInfrastructure
(InfrastructureInterfaceCreator interfce, String name) Creates anInfrastructureProvidedRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component.providesInfrastructure
(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce) Creates anInfrastructureProvidedRole
connection between the component and theInfrastructureInterface
interfce
and adds it to the component.providesInfrastructure
(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name) Creates anInfrastructureProvidedRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component.requires
(OperationInterfaceCreator interfce) Creates anOperationRequiredRole
connection between the component and theOperationInterface
interfce
and adds it to the component.requires
(OperationInterfaceCreator interfce, String name) Creates anOperationRequiredRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component.requires
(org.palladiosimulator.pcm.repository.OperationInterface interfce) Creates anOperationRequiredRole
connection between the component and theOperationInterface
interfce
and adds it to the component.Creates anOperationRequiredRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component.Creates anInfrastructureRequiredRole
connection between the component and theInfrastructureInterface
interfce
and adds it to the component.requiresInfrastructure
(InfrastructureInterfaceCreator interfce, String name) Creates anInfrastructureRequiredRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component.requiresInfrastructure
(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce) Creates anInfrastructureRequiredRole
connection between the component and theInfrastructureInterface
interfce
and adds it to the component.requiresInfrastructure
(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name) Creates anInfrastructureRequiredRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component.requiresResource
(ResourceInterface resourceInterface) Creates aResourceRequiredRole
connection between the component and theResourceInterface
resourceInterface
and adds it to the component.requiresResource
(ResourceInterface resourceInterface, String name) Creates aResourceRequiredRole
connection with the namename
between the component and theResourceInterface
resourceInterface
and adds it to the component.resourceRequiredDegelationConnection
(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole) Creates aResourceRequiredDelegationConnector
and adds it to the component.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 anAssemblyConnector
and adds it to the component.withAssemblyContext
(org.palladiosimulator.pcm.repository.RepositoryComponent component, String name, VariableUsageCreator... configParameterUsage) Creates anAssemblyContext
with the namename
and optionally manyconfigParameterUsages
and adds it to the component.withAssemblyContext
(org.palladiosimulator.pcm.repository.RepositoryComponent component, VariableUsageCreator... configParameterUsage) Creates anAssemblyContext
and optionally manyconfigParameterUsages
and adds it to the component.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 anAssemblyEventConnector
and adds it to the component.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 anAssemblyInfrastructureConnector
and adds it to the component.withEventChannel
(org.palladiosimulator.pcm.repository.EventGroup eventGroup) Creates a newEventChannel
.withEventChannel
(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name) Creates a newEventChannel
with namename
.withEventChannelSinkConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SinkRole sinkRole, String filterConditionStochasticExpression) Creates anEventChannelSinkConnector
and adds it to the component.withEventChannelSourceConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.composition.EventChannel eventChannel, org.palladiosimulator.pcm.repository.SourceRole sourceRole) Creates anEventChannelSourceConnector
and adds it to the component.Defines the unique name of this current entity.withProvidedDelegationConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.OperationProvidedRole outerProvidedRole) Creates aProvidedDelegationConnector
and adds it to the component.withProvidedInfrastructureDelegationConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole outerProvidedRole) Creates aProvidedInfrastructureDelegationConnector
and adds it to the component.withRequiredDelegationConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.OperationRequiredRole outerRequiredRole) Creates aRequiredDelegationConnector
and adds it to the component.withRequiredInfrastructureDelegationConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole outerRequiredRole) Creates aRequiredInfrastructureDelegationConnector
and adds it to the component.withRequiredResourceDelegationConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole) Creates aRequiredResourceDelegationConnector
and adds it to the component.withSinkDelegationConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SinkRole innerSinkRole, org.palladiosimulator.pcm.repository.SinkRole outerSinkRole) Creates aSinkDelegationConnector
and adds it to the component.withSourceDelegationConnection
(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SourceRole innerSourceRole, org.palladiosimulator.pcm.repository.SourceRole outerSourceRole) Creates aSourceDelegationConnector
and adds it to the component.withVariableUsage
(VariableUsageCreator variableUsage) Adds aVariableUsage
to the composite component.Methods inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.ComplexComponent
addEventChannel
-
Constructor Details
-
CompositeComponentCreator
-
-
Method Details
-
withName
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. -
ofType
Sets the type of the composite component.
Possible values are 'BUSINESS_COMPONENT' (default) and 'INFRASTRUCTURE_COMPONENT'.- Parameters:
type
-- Returns:
- the composite component in the making
-
provides
Description copied from class:Component
Creates anOperationProvidedRole
connection between the component and theOperationInterface
interfce
and adds it to the component.Create a new operation interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newOperationInterface()
. -
provides
Description copied from class:Component
Creates anOperationProvidedRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component. Setting thename
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()
. -
provides
public CompositeComponentCreator provides(org.palladiosimulator.pcm.repository.OperationInterface interfce) Description copied from class:Component
Creates anOperationProvidedRole
connection between the component and theOperationInterface
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)
. -
provides
public CompositeComponentCreator provides(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name) Description copied from class:Component
Creates anOperationProvidedRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component. Setting thename
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)
. -
providesInfrastructure
Description copied from class:Component
Creates anInfrastructureProvidedRole
connection between the component and theInfrastructureInterface
interfce
and adds it to the component.Create a new infrastructure interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newInfrastructureInterface()
.- Overrides:
providesInfrastructure
in classComponent
- Returns:
- this component
- See Also:
-
providesInfrastructure
public CompositeComponentCreator providesInfrastructure(InfrastructureInterfaceCreator interfce, String name) Description copied from class:Component
Creates anInfrastructureProvidedRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component. Setting thename
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 classComponent
- Returns:
- this component
- See Also:
-
providesInfrastructure
public CompositeComponentCreator providesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce) Description copied from class:Component
Creates anInfrastructureProvidedRole
connection between the component and theInfrastructureInterface
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 classComponent
- Returns:
- this component
- See Also:
-
providesInfrastructure
public CompositeComponentCreator providesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name) Description copied from class:Component
Creates anInfrastructureProvidedRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component. Setting thename
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 classComponent
- Returns:
- this component
- See Also:
-
handles
Description copied from class:Component
Creates aSinkRole
connection between the component and theEventGroup
eventGroup
and adds it to the component.Create a new event group by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newEventGroup()
. -
handles
Description copied from class:Component
Creates aSinkRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component. Setting thename
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()
. -
handles
public CompositeComponentCreator handles(org.palladiosimulator.pcm.repository.EventGroup eventGroup) Description copied from class:Component
Creates aSinkRole
connection between the component and theEventGroup
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)
. -
handles
public CompositeComponentCreator handles(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name) Description copied from class:Component
Creates aSinkRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component. Setting thename
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)
. -
requires
Description copied from class:Component
Creates anOperationRequiredRole
connection between the component and theOperationInterface
interfce
and adds it to the component.Create a new operation interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newOperationInterface()
. -
requires
Description copied from class:Component
Creates anOperationRequiredRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component. Setting thename
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()
. -
requires
public CompositeComponentCreator requires(org.palladiosimulator.pcm.repository.OperationInterface interfce) Description copied from class:Component
Creates anOperationRequiredRole
connection between the component and theOperationInterface
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)
. -
requires
public CompositeComponentCreator requires(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name) Description copied from class:Component
Creates anOperationRequiredRole
connection with the namename
between the component and theOperationInterface
interfce
and adds it to the component. Setting thename
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)
. -
requiresInfrastructure
Description copied from class:Component
Creates anInfrastructureRequiredRole
connection between the component and theInfrastructureInterface
interfce
and adds it to the component.Create a new infrastructure interface by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newInfrastructureInterface()
.- Overrides:
requiresInfrastructure
in classComponent
- Returns:
- this component
- See Also:
-
requiresInfrastructure
public CompositeComponentCreator requiresInfrastructure(InfrastructureInterfaceCreator interfce, String name) Description copied from class:Component
Creates anInfrastructureRequiredRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component. Setting thename
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 classComponent
- Returns:
- this component
- See Also:
-
requiresInfrastructure
public CompositeComponentCreator requiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce) Description copied from class:Component
Creates anInfrastructureRequiredRole
connection between the component and theInfrastructureInterface
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 classComponent
- Returns:
- this component
- See Also:
-
requiresInfrastructure
public CompositeComponentCreator requiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name) Description copied from class:Component
Creates anInfrastructureRequiredRole
connection with the namename
between the component and theInfrastructureInterface
interfce
and adds it to the component. Setting thename
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 classComponent
- Returns:
- this component
- See Also:
-
emits
Description copied from class:Component
Creates aSourceRole
connection between the component and theEventGroup
eventGroup
and adds it to the component.Create a new event group by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newEventGroup()
. -
emits
Description copied from class:Component
Creates aSourceRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component. Setting thename
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()
. -
emits
Description copied from class:Component
Creates aSourceRole
connection between the component and theEventGroup
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)
. -
emits
public CompositeComponentCreator emits(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name) Description copied from class:Component
Creates aSourceRole
connection with the namename
between the component and theEventGroup
eventGroup
and adds it to the component. Setting thename
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)
. -
conforms
Creates a conforming (parental) connection to thecompleteComponentType
and adds it to the composite component.Complete (Component) types abstract from the realization of components. They only contain provided and required roles omitting the components’ internal structure, i.e., the service effect specifications or assemblies.
The
completeComponentType
can be created using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.newCompleteComponentType()
.- Parameters:
completeComponentType
-- Returns:
- the composite component in the making
- See Also:
-
FluentRepositoryFactory.newCompleteComponentType()
ImplementationComponentType.getParentCompleteComponentTypes()
CompleteComponentType
-
conforms
public CompositeComponentCreator conforms(org.palladiosimulator.pcm.repository.CompleteComponentType completeComponentType) Creates a conforming (parental) connection to thecompleteComponentType
and adds it to the composite component.Complete (Component) types abstract from the realization of components. They only contain provided and required roles omitting the components’ internal structure, i.e., the service effect specifications or assemblies.
An existing
completeComponentType
can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfCompleteComponentType(name)
.- Parameters:
completeComponentType
-- Returns:
- the composite component in the making
- See Also:
-
FluentRepositoryFactory.fetchOfCompleteComponentType(String)
ImplementationComponentType.getParentCompleteComponentTypes()
CompleteComponentType
-
withEventChannel
public CompositeComponentCreator withEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name) Description copied from class:ComplexComponent
Creates a newEventChannel
with namename
.Event channels consist of an
EventGroup
and arbitrarily manyEventChannelSinkConnector
s andEventChannelSinkConnector
s that are added when creating the connectors.- Overrides:
withEventChannel
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withEventChannel
public CompositeComponentCreator withEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup) Description copied from class:ComplexComponent
Creates a newEventChannel
.Event channels consist of an
EventGroup
and arbitrarily manyEventChannelSinkConnector
s andEventChannelSinkConnector
s that are added when creating the connectors. However, that required the specification of a name for the event channel.- Overrides:
withEventChannel
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withAssemblyConnection
public CompositeComponentCreator 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 anAssemblyConnector
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 classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withProvidedDelegationConnection
public CompositeComponentCreator withProvidedDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.OperationProvidedRole outerProvidedRole) Description copied from class:ComplexComponent
Creates aProvidedDelegationConnector
and 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:
withProvidedDelegationConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withRequiredDelegationConnection
public CompositeComponentCreator withRequiredDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.OperationRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.OperationRequiredRole outerRequiredRole) Description copied from class:ComplexComponent
Creates aRequiredDelegationConnector
and 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:
withRequiredDelegationConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withAssemblyEventConnection
public CompositeComponentCreator 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 anAssemblyEventConnector
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 classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withEventChannelSinkConnection
public CompositeComponentCreator 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:ComplexComponent
Creates anEventChannelSinkConnector
and 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:
withEventChannelSinkConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withEventChannelSourceConnection
public CompositeComponentCreator 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:ComplexComponent
Creates anEventChannelSourceConnector
and 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:
withEventChannelSourceConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withSinkDelegationConnection
public CompositeComponentCreator withSinkDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.SinkRole innerSinkRole, org.palladiosimulator.pcm.repository.SinkRole outerSinkRole) Description copied from class:ComplexComponent
Creates aSinkDelegationConnector
and 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:
withSinkDelegationConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withSourceDelegationConnection
public CompositeComponentCreator 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 aSourceDelegationConnector
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 classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withAssemblyInfrastructureConnection
public CompositeComponentCreator 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:ComplexComponent
Creates anAssemblyInfrastructureConnector
and 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:
withAssemblyInfrastructureConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withProvidedInfrastructureDelegationConnection
public CompositeComponentCreator withProvidedInfrastructureDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole innerProvidedRole, org.palladiosimulator.pcm.repository.InfrastructureProvidedRole outerProvidedRole) Description copied from class:ComplexComponent
Creates aProvidedInfrastructureDelegationConnector
and 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:
withProvidedInfrastructureDelegationConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withRequiredInfrastructureDelegationConnection
public CompositeComponentCreator withRequiredInfrastructureDelegationConnection(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole innerRequiredRole, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole outerRequiredRole) Description copied from class:ComplexComponent
Creates aRequiredInfrastructureDelegationConnector
and 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:
withRequiredInfrastructureDelegationConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
withRequiredResourceDelegationConnection
public CompositeComponentCreator 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:ComplexComponent
Creates aRequiredResourceDelegationConnector
and 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:
withRequiredResourceDelegationConnection
in classComplexComponent
- Returns:
- the component in the making
- See Also:
-
resourceRequiredDegelationConnection
public CompositeComponentCreator resourceRequiredDegelationConnection(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole) Description copied from class:ComplexComponent
Creates aResourceRequiredDelegationConnector
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 classComplexComponent
- Returns:
- the component in the making
- See Also:
-
build
public org.palladiosimulator.pcm.repository.RepositoryComponent build()Description copied from class:Entity
Turns the entity in the making into the finished entity.
-