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