Class ResourceRequiredRoleCreator
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.system.structure.SystemEntity
-
- org.palladiosimulator.generator.fluent.system.structure.role.ResourceRequiredRoleCreator
-
public class ResourceRequiredRoleCreator extends SystemEntity
This class constructs anResourceRequiredRole
.- See Also:
ResourceRequiredRole
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description ResourceRequiredRoleCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.entity.ResourceRequiredRole
build()
Turns the entity in the making into the finished entity.ResourceRequiredRoleCreator
withName(String name)
Defines the unique name of this current entity.ResourceRequiredRoleCreator
withRequiredInterface(ResourceInterface resource)
Defines theResourceInterface
this role requires.
-
-
-
Constructor Detail
-
ResourceRequiredRoleCreator
public ResourceRequiredRoleCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withRequiredInterface
public ResourceRequiredRoleCreator withRequiredInterface(ResourceInterface resource)
Defines theResourceInterface
this role requires.- Parameters:
resource
-- Returns:
- this role creator
- See Also:
ResourceInterface
-
build
public org.palladiosimulator.pcm.core.entity.ResourceRequiredRole build()
Description copied from class:Entity
Turns the entity in the making into the finished entity.
-
withName
public ResourceRequiredRoleCreator withName(String name)
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.
-
-