Class RequiredDelegationConnectorCreator
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.operation.RequiredDelegationConnectorCreator
This class constructs a
RequiredDelegationConnector
.- See Also:
-
RequiredDelegationConnector
-
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.RequiredDelegationConnector
build()
Turns the entity in the making into the finished entity.Defines the unique name of this current entity.withOuterRequiredRole
(String name) Defines theOperationRequiredRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.withOuterRequiredRole
(org.palladiosimulator.pcm.repository.OperationRequiredRole role) Defines theOperationRequiredRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.withRequiringContext
(String name) Defines theAssemblyContext
with the required role.withRequiringContext
(org.palladiosimulator.pcm.core.composition.AssemblyContext context) Defines theAssemblyContext
with the required role.
-
Constructor Details
-
RequiredDelegationConnectorCreator
-
-
Method Details
-
withOuterRequiredRole
public RequiredDelegationConnectorCreator withOuterRequiredRole(org.palladiosimulator.pcm.repository.OperationRequiredRole role) Defines theOperationRequiredRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.- Parameters:
role
-- Returns:
- this connector
- See Also:
-
OperationRequiredRole
-
withOuterRequiredRole
public RequiredDelegationConnectorCreator withOuterRequiredRole(String name) throws NoSuchElementException Defines theOperationRequiredRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext. The required 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:
-
OperationRequiredRole
-
withRequiringContext
public OperationRequiredRoleSelector<RequiredDelegationConnectorCreator> withRequiringContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context) Defines theAssemblyContext
with the required role.- Parameters:
context
-- Returns:
- this connector
- See Also:
-
AssemblyContext
OperationRequiredRole
-
withRequiringContext
public OperationRequiredRoleSelector<RequiredDelegationConnectorCreator> withRequiringContext(String name) Defines theAssemblyContext
with the required 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
OperationRequiredRole
-
build
public org.palladiosimulator.pcm.core.composition.RequiredDelegationConnector 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.
-