Class ProvidedDelegationConnectorCreator
- 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.ProvidedDelegationConnectorCreator
-
public class ProvidedDelegationConnectorCreator extends AbstractConnectorCreator
This class constructs aProvidedDelegationConnector
.- See Also:
ProvidedDelegationConnector
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description ProvidedDelegationConnectorCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.composition.ProvidedDelegationConnector
build()
Turns the entity in the making into the finished entity.ProvidedDelegationConnectorCreator
withName(String name)
Defines the unique name of this current entity.ProvidedDelegationConnectorCreator
withOuterProvidedRole(String name)
Defines theOperationProvidedRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.ProvidedDelegationConnectorCreator
withOuterProvidedRole(org.palladiosimulator.pcm.repository.OperationProvidedRole role)
Defines theOperationProvidedRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.OperationProvidedRoleSelector<ProvidedDelegationConnectorCreator>
withProvidingContext(String name)
Defines theAssemblyContext
with the provided role.OperationProvidedRoleSelector<ProvidedDelegationConnectorCreator>
withProvidingContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
Defines theAssemblyContext
with the provided role.
-
-
-
Constructor Detail
-
ProvidedDelegationConnectorCreator
public ProvidedDelegationConnectorCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withOuterProvidedRole
public ProvidedDelegationConnectorCreator withOuterProvidedRole(org.palladiosimulator.pcm.repository.OperationProvidedRole role)
Defines theOperationProvidedRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext.- Parameters:
role
-- Returns:
- this connector
- See Also:
OperationProvidedRole
-
withOuterProvidedRole
public ProvidedDelegationConnectorCreator withOuterProvidedRole(String name) throws NoSuchElementException
Defines theOperationProvidedRole
of the org.palladiosimulator.generator.fluent.system, delegated to an AssemblyContext. The provided 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:
OperationProvidedRole
-
withProvidingContext
public OperationProvidedRoleSelector<ProvidedDelegationConnectorCreator> withProvidingContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
Defines theAssemblyContext
with the provided role.- Parameters:
context
-- Returns:
- this connector
- See Also:
AssemblyContext
,OperationProvidedRole
-
withProvidingContext
public OperationProvidedRoleSelector<ProvidedDelegationConnectorCreator> withProvidingContext(String name)
Defines theAssemblyContext
with the provided 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
,OperationProvidedRole
-
build
public org.palladiosimulator.pcm.core.composition.ProvidedDelegationConnector 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
public ProvidedDelegationConnectorCreator withName(String name)
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.
-
-