Class InfrastructureRequiredRoleCreator
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.system.structure.SystemEntity
-
- org.palladiosimulator.generator.fluent.system.structure.role.InfrastructureRequiredRoleCreator
-
public class InfrastructureRequiredRoleCreator extends SystemEntity
This class constructs anInfrastructureRequiredRole.- See Also:
InfrastructureRequiredRole
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description InfrastructureRequiredRoleCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.repository.InfrastructureRequiredRolebuild()Turns the entity in the making into the finished entity.InfrastructureRequiredRoleCreatorwithName(String name)Defines the unique name of this current entity.InfrastructureRequiredRoleCreatorwithRequiredInterface(String name)Defines theInfrastructureInterfacethis role requires.InfrastructureRequiredRoleCreatorwithRequiredInterface(org.palladiosimulator.pcm.repository.InfrastructureInterface infrastructureInterface)Defines theInfrastructureInterfacethis role requires.
-
-
-
Constructor Detail
-
InfrastructureRequiredRoleCreator
public InfrastructureRequiredRoleCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withRequiredInterface
public InfrastructureRequiredRoleCreator withRequiredInterface(org.palladiosimulator.pcm.repository.InfrastructureInterface infrastructureInterface)
Defines theInfrastructureInterfacethis role requires.- Parameters:
infrastructureInterface-- Returns:
- this role creator
- See Also:
InfrastructureInterface
-
withRequiredInterface
public InfrastructureRequiredRoleCreator withRequiredInterface(String name) throws NoSuchElementException
Defines theInfrastructureInterfacethis 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:
InfrastructureInterface
-
build
public org.palladiosimulator.pcm.repository.InfrastructureRequiredRole build()
Description copied from class:EntityTurns the entity in the making into the finished entity.
-
withName
public InfrastructureRequiredRoleCreator withName(String name)
Description copied from class:EntityDefines 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.
-
-