Class CompositeComponentCreator
- 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.CompositeComponentCreator
-
public class CompositeComponentCreator extends ComplexComponent
This class constructs aCompositeComponent. 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
Constructors Constructor Description CompositeComponentCreator(RepositoryCreator repo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.repository.RepositoryComponentbuild()Turns the entity in the making into the finished entity.CompositeComponentCreatorconforms(CompleteComponentTypeCreator completeComponentType)Creates a conforming (parental) connection to thecompleteComponentTypeand adds it to the composite component.CompositeComponentCreatorconforms(org.palladiosimulator.pcm.repository.CompleteComponentType completeComponentType)Creates a conforming (parental) connection to thecompleteComponentTypeand adds it to the composite component.CompositeComponentCreatoremits(EventGroupCreator eventGroup)Creates aSourceRoleconnection between the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatoremits(EventGroupCreator eventGroup, String name)Creates aSourceRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatoremits(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Creates aSourceRoleconnection between the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatoremits(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)Creates aSourceRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatorhandles(EventGroupCreator eventGroup)Creates aSinkRoleconnection between the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatorhandles(EventGroupCreator eventGroup, String name)Creates aSinkRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatorhandles(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Creates aSinkRoleconnection between the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatorhandles(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)Creates aSinkRoleconnection with the namenamebetween the component and theEventGroupeventGroupand adds it to the component.CompositeComponentCreatorofType(org.palladiosimulator.pcm.repository.ComponentType type)Sets the type of the composite component.
Possible values are 'BUSINESS_COMPONENT' (default) and 'INFRASTRUCTURE_COMPONENT'.CompositeComponentCreatorprovides(OperationInterfaceCreator interfce)Creates anOperationProvidedRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorprovides(OperationInterfaceCreator interfce, String name)Creates anOperationProvidedRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorprovides(org.palladiosimulator.pcm.repository.OperationInterface interfce)Creates anOperationProvidedRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorprovides(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)Creates anOperationProvidedRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorprovidesInfrastructure(InfrastructureInterfaceCreator interfce)Creates anInfrastructureProvidedRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorprovidesInfrastructure(InfrastructureInterfaceCreator interfce, String name)Creates anInfrastructureProvidedRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorprovidesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)Creates anInfrastructureProvidedRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorprovidesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)Creates anInfrastructureProvidedRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequires(OperationInterfaceCreator interfce)Creates anOperationRequiredRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequires(OperationInterfaceCreator interfce, String name)Creates anOperationRequiredRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequires(org.palladiosimulator.pcm.repository.OperationInterface interfce)Creates anOperationRequiredRoleconnection between the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequires(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name)Creates anOperationRequiredRoleconnection with the namenamebetween the component and theOperationInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequiresInfrastructure(InfrastructureInterfaceCreator interfce)Creates anInfrastructureRequiredRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequiresInfrastructure(InfrastructureInterfaceCreator interfce, String name)Creates anInfrastructureRequiredRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce)Creates anInfrastructureRequiredRoleconnection between the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce, String name)Creates anInfrastructureRequiredRoleconnection with the namenamebetween the component and theInfrastructureInterfaceinterfceand adds it to the component.CompositeComponentCreatorrequiresResource(ResourceInterface resourceInterface)Creates aResourceRequiredRoleconnection between the component and theResourceInterfaceresourceInterfaceand adds it to the component.CompositeComponentCreatorrequiresResource(ResourceInterface resourceInterface, String name)Creates aResourceRequiredRoleconnection with the namenamebetween the component and theResourceInterfaceresourceInterfaceand adds it to the component.CompositeComponentCreatorresourceRequiredDegelationConnection(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole innerRequiredRole, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole outerRequiredRole)Creates aResourceRequiredDelegationConnectorand adds it to the component.CompositeComponentCreatorwithAssemblyConnection(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.CompositeComponentCreatorwithAssemblyContext(org.palladiosimulator.pcm.repository.RepositoryComponent component, String name, VariableUsageCreator... configParameterUsage)Creates anAssemblyContextwith the namenameand optionally manyconfigParameterUsagesand adds it to the component.CompositeComponentCreatorwithAssemblyContext(org.palladiosimulator.pcm.repository.RepositoryComponent component, VariableUsageCreator... configParameterUsage)Creates anAssemblyContextand optionally manyconfigParameterUsagesand adds it to the component.CompositeComponentCreatorwithAssemblyEventConnection(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.CompositeComponentCreatorwithAssemblyInfrastructureConnection(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.CompositeComponentCreatorwithEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Creates a newEventChannel.CompositeComponentCreatorwithEventChannel(org.palladiosimulator.pcm.repository.EventGroup eventGroup, String name)Creates a newEventChannelwith namename.CompositeComponentCreatorwithEventChannelSinkConnection(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.CompositeComponentCreatorwithEventChannelSourceConnection(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.CompositeComponentCreatorwithName(String name)Defines the unique name of this current entity.CompositeComponentCreatorwithProvidedDelegationConnection(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.CompositeComponentCreatorwithProvidedInfrastructureDelegationConnection(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.CompositeComponentCreatorwithRequiredDelegationConnection(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.CompositeComponentCreatorwithRequiredInfrastructureDelegationConnection(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.CompositeComponentCreatorwithRequiredResourceDelegationConnection(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.CompositeComponentCreatorwithSinkDelegationConnection(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.CompositeComponentCreatorwithSourceDelegationConnection(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.CompositeComponentCreatorwithVariableUsage(VariableUsageCreator variableUsage)Adds aVariableUsageto the composite component.-
Methods inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.ComplexComponent
addEventChannel
-
-
-
-
Constructor Detail
-
CompositeComponentCreator
public CompositeComponentCreator(RepositoryCreator repo)
-
-
Method Detail
-
withName
public CompositeComponentCreator 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.
-
ofType
public CompositeComponentCreator ofType(org.palladiosimulator.pcm.repository.ComponentType type)
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
public CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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)
-
conforms
public CompositeComponentCreator conforms(CompleteComponentTypeCreator completeComponentType)
Creates a conforming (parental) connection to thecompleteComponentTypeand 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
completeComponentTypecan 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 thecompleteComponentTypeand 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
completeComponentTypecan 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
-
withVariableUsage
public CompositeComponentCreator withVariableUsage(VariableUsageCreator variableUsage)
Adds aVariableUsageto the composite component.Variable usages are used to characterize variables like input and output variables or component parameters. They contain the specification of the variable as VariableCharacterisation and also refer to the name of the characterized variable in its namedReference association.
Create a new variable usage by using the org.palladiosimulator.generator.fluent.component.factory, i.e.
create.newVariableUsage().- Parameters:
variableUsage- in the making- Returns:
- the composite component in the making
- See Also:
FluentRepositoryFactory.newVariableUsage(),VariableUsage
-
withAssemblyContext
public CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 CompositeComponentCreator 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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 CompositeComponentCreator 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)
-
-