Class ResourceRequiredRoleCreator


  • public class ResourceRequiredRoleCreator
    extends SystemEntity
    This class constructs an ResourceRequiredRole.
    See Also:
    ResourceRequiredRole
    • Constructor Detail

      • ResourceRequiredRoleCreator

        public ResourceRequiredRoleCreator​(SystemCreator systemCreator)
    • Method Detail

      • withRequiredInterface

        public ResourceRequiredRoleCreator withRequiredInterface​(ResourceInterface resource)
        Defines the ResourceInterface 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.
        Specified by:
        build in class Entity
        Returns:
        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.
        Overrides:
        withName in class Entity
        Returns:
        this current entity in the making