Class OperationProvidedRoleCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.system.structure.SystemEntity
org.palladiosimulator.generator.fluent.system.structure.role.OperationProvidedRoleCreator
This class constructs an
OperationProvidedRole
.- See Also:
-
OperationProvidedRole
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.repository.OperationProvidedRole
build()
Turns the entity in the making into the finished entity.Defines the unique name of this current entity.withProvidedInterface
(String name) Defines theOperationInterface
this role provides.withProvidedInterface
(org.palladiosimulator.pcm.repository.OperationInterface operationInterface) Defines theOperationInterface
this role provides.
-
Constructor Details
-
OperationProvidedRoleCreator
-
-
Method Details
-
withProvidedInterface
public OperationProvidedRoleCreator withProvidedInterface(org.palladiosimulator.pcm.repository.OperationInterface operationInterface) Defines theOperationInterface
this role provides.- Parameters:
operationInterface
-- Returns:
- this role creator
- See Also:
-
OperationInterface
-
withProvidedInterface
public OperationProvidedRoleCreator withProvidedInterface(String name) throws NoSuchElementException Defines theOperationInterface
this role provides. Searches the repositories added to the org.palladiosimulator.generator.fluent.system for an interface that matches the given name.- Parameters:
name
-- Returns:
- this role creator
- Throws:
NoSuchElementException
- Thrown if no element matches the given name.- See Also:
-
OperationInterface
-
build
public org.palladiosimulator.pcm.repository.OperationProvidedRole build()Description copied from class:Entity
Turns the entity in the making into 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.
-