Class CompleteComponentTypeCreator
CompleteComponentType
. It is used to create the 'CompleteComponentType' object
step-by-step, i.e. 'CompleteComponentTypeCreator' objects are of intermediate
state.- See Also:
-
CompleteComponentType
-
Field Summary
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.CompleteComponentType
build()
Turns the entity in the making into the finished entity.conforms
(ProvidesComponentTypeCreator providesComponentType) Creates a conforming (parental) connection to theprovidesComponentType
and adds it to the complete component type.conforms
(org.palladiosimulator.pcm.repository.ProvidesComponentType providesComponentType) Creates a conforming (parental) connection to theprovidesComponentType
and adds it to the complete component type.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.Defines the unique name of this current entity.
-
Constructor Details
-
CompleteComponentTypeCreator
-
-
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. -
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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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 CompleteComponentTypeCreator 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
public CompleteComponentTypeCreator emits(org.palladiosimulator.pcm.repository.EventGroup eventGroup) 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 CompleteComponentTypeCreator 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 theprovidesComponentType
and adds it to the complete component type.Provided (Component) Types abstract a component to its provided interfaces, leaving its requirements and implementation details open. So, provided types subsume components which offer the same functionality, but with different implementations.
The
providesComponentType
can be created using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.newProvidesComponentType()
.- Parameters:
providesComponentType
-- Returns:
- the complete component type in the making
- See Also:
-
FluentRepositoryFactory.newProvidesComponentType()
CompleteComponentType.getParentProvidesComponentTypes()
ProvidesComponentType
-
conforms
public CompleteComponentTypeCreator conforms(org.palladiosimulator.pcm.repository.ProvidesComponentType providesComponentType) Creates a conforming (parental) connection to theprovidesComponentType
and adds it to the complete component type.Provided (Component) Types abstract a component to its provided interfaces, leaving its requirements and implementation details open. So, provided types subsume components which offer the same functionality, but with different implementations.
An existing
providesComponentType
can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfProvidesComponentType(name)
.- Parameters:
providesComponentType
-- Returns:
- the complete component type in the making
- See Also:
-
FluentRepositoryFactory.fetchOfProvidesComponentType(String)
CompleteComponentType.getParentProvidesComponentTypes()
ProvidesComponentType
-
build
public org.palladiosimulator.pcm.repository.CompleteComponentType build()Description copied from class:Entity
Turns the entity in the making into the finished entity.
-