Class SinkRoleCreator
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.system.structure.SystemEntity
-
- org.palladiosimulator.generator.fluent.system.structure.role.SinkRoleCreator
-
public class SinkRoleCreator extends SystemEntity
This class constructs anSinkRole.- See Also:
SinkRole
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description SinkRoleCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.repository.SinkRolebuild()Turns the entity in the making into the finished entity.SinkRoleCreatorwithEventGroup(String name)Defines theEventGroupthis role provides.SinkRoleCreatorwithEventGroup(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Defines theEventGroupthis role provides.SinkRoleCreatorwithName(String name)Defines the unique name of this current entity.
-
-
-
Constructor Detail
-
SinkRoleCreator
public SinkRoleCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withEventGroup
public SinkRoleCreator withEventGroup(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
Defines theEventGroupthis role provides.- Parameters:
eventGroup-- Returns:
- this role creator
- See Also:
EventGroup
-
withEventGroup
public SinkRoleCreator withEventGroup(String name) throws NoSuchElementException
Defines theEventGroupthis 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:
EventGroup
-
build
public org.palladiosimulator.pcm.repository.SinkRole build()
Description copied from class:EntityTurns the entity in the making into the finished entity.
-
withName
public SinkRoleCreator 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.
-
-