Class OperationRequiredRoleCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.system.structure.SystemEntity
org.palladiosimulator.generator.fluent.system.structure.role.OperationRequiredRoleCreator
This class constructs an
OperationRequiredRole
.- See Also:
-
OperationRequiredRole
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.repository.OperationRequiredRole
build()
Turns the entity in the making into the finished entity.Defines the unique name of this current entity.withRequiredInterface
(String name) Defines theOperationInterface
this role requires.withRequiredInterface
(org.palladiosimulator.pcm.repository.OperationInterface operationInterface) Defines theOperationInterface
this role requires.
-
Constructor Details
-
OperationRequiredRoleCreator
-
-
Method Details
-
withRequiredInterface
public OperationRequiredRoleCreator withRequiredInterface(org.palladiosimulator.pcm.repository.OperationInterface operationInterface) Defines theOperationInterface
this role requires.- Parameters:
operationInterface
-- Returns:
- this role creator
- See Also:
-
OperationInterface
-
withRequiredInterface
public OperationRequiredRoleCreator withRequiredInterface(String name) throws NoSuchElementException Defines theOperationInterface
this role requires. 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.OperationRequiredRole 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.
-