Class SinkDelegationConnectorCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.system.structure.SystemEntity
org.palladiosimulator.generator.fluent.system.structure.connector.AbstractConnectorCreator
org.palladiosimulator.generator.fluent.system.structure.connector.event.SinkDelegationConnectorCreator
This class constructs a
SinkDelegationConnector
.- See Also:
-
SinkDelegationConnector
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.core.composition.SinkDelegationConnector
build()
Turns the entity in the making into the finished entity.withAssemblyContext
(String name) Defines theAssemblyContext
with the sink role.withAssemblyContext
(org.palladiosimulator.pcm.core.composition.AssemblyContext context) Defines theAssemblyContext
with the sink role.Defines the unique name of this current entity.withOuterSinkRole
(String name) Defines theSinkRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.withOuterSinkRole
(org.palladiosimulator.pcm.repository.SinkRole role) Defines theSinkRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.
-
Constructor Details
-
SinkDelegationConnectorCreator
-
-
Method Details
-
withOuterSinkRole
public SinkDelegationConnectorCreator withOuterSinkRole(org.palladiosimulator.pcm.repository.SinkRole role) Defines theSinkRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.- Parameters:
role
-- Returns:
- this connector
- See Also:
-
SinkRole
-
withOuterSinkRole
Defines theSinkRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext. The sink roles added to the org.palladiosimulator.generator.fluent.system are searched for one that matches the given name.- Parameters:
role
-- Returns:
- this connector
- Throws:
NoSuchElementException
- Thrown if no element matches the given name.- See Also:
-
SinkRole
-
withAssemblyContext
public SinkRoleSelector<SinkDelegationConnectorCreator> withAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context) Defines theAssemblyContext
with the sink role.- Parameters:
context
-- Returns:
- this connector
- See Also:
-
AssemblyContext
SinkRole
-
withAssemblyContext
Defines theAssemblyContext
with the sink role. The assembly contexts added to the org.palladiosimulator.generator.fluent.system are searched for one that matches the given name.- Parameters:
name
-- Returns:
- this connector
- Throws:
NoSuchElementException
- Thrown if no element matches the given name.- See Also:
-
AssemblyContext
SinkRole
-
build
public org.palladiosimulator.pcm.core.composition.SinkDelegationConnector build()Description copied from class:Entity
Turns the entity in the making into the finished entity.- Specified by:
build
in classAbstractConnectorCreator
- Returns:
- the finished entity
-
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.
-