Class Component
- Direct Known Subclasses:
BasicComponentCreator
,CompleteComponentTypeCreator
,ComplexComponent
,ProvidesComponentTypeCreator
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<org.palladiosimulator.pcm.repository.ProvidedRole>
protected List<org.palladiosimulator.pcm.repository.RequiredRole>
protected List<org.palladiosimulator.pcm.core.entity.ResourceRequiredRole>
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
repository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract org.palladiosimulator.pcm.repository.RepositoryComponent
build()
Turns the entity in the making into the finished entity.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.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.
-
Field Details
-
providedRoles
-
requiredRoles
-
resourceRequiredRoles
-
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
build
public abstract org.palladiosimulator.pcm.repository.RepositoryComponent build()Description copied from class:Entity
Turns the entity in the making into the finished entity. -
provides
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()
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
provides
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()
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
provides
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)
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
provides
public Component provides(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name) 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)
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
providesInfrastructure
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()
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
providesInfrastructure
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()
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
providesInfrastructure
public Component providesInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce) 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)
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
providesInfrastructure
public 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. 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)
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
handles
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()
.- Parameters:
eventGroup
-- Returns:
- this component
- See Also:
-
handles
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()
.- Parameters:
eventGroup
-name
-- Returns:
- this component
- See Also:
-
handles
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)
.- Parameters:
eventGroup
-- Returns:
- this component
- See Also:
-
handles
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)
.- Parameters:
eventGroup
-name
-- Returns:
- this component
- See Also:
-
requires
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()
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
requires
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()
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
requires
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)
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
requires
public Component requires(org.palladiosimulator.pcm.repository.OperationInterface interfce, String name) 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)
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
requiresInfrastructure
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()
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
requiresInfrastructure
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()
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
requiresInfrastructure
public Component requiresInfrastructure(org.palladiosimulator.pcm.repository.InfrastructureInterface interfce) 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)
.- Parameters:
interfce
-- Returns:
- this component
- See Also:
-
requiresInfrastructure
public 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. 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)
.- Parameters:
interfce
-name
-- Returns:
- this component
- See Also:
-
emits
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()
.- Parameters:
eventGroup
-- Returns:
- this component
- See Also:
-
emits
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()
.- Parameters:
eventGroup
-name
-- Returns:
- this component
- See Also:
-
emits
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)
.- Parameters:
eventGroup
-- Returns:
- this component
- See Also:
-
emits
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)
.- Parameters:
eventGroup
-name
-- Returns:
- this component
- See Also:
-