Class OperationProvidedRoleCreator


public class OperationProvidedRoleCreator extends SystemEntity
This class constructs an OperationProvidedRole.
See Also:
  • OperationProvidedRole
  • Constructor Details

    • OperationProvidedRoleCreator

      public OperationProvidedRoleCreator(SystemCreator systemCreator)
  • Method Details

    • withProvidedInterface

      public OperationProvidedRoleCreator withProvidedInterface(org.palladiosimulator.pcm.repository.OperationInterface operationInterface)
      Defines the OperationInterface this role provides.
      Parameters:
      operationInterface -
      Returns:
      this role creator
      See Also:
      • OperationInterface
    • withProvidedInterface

      public OperationProvidedRoleCreator withProvidedInterface(String name) throws NoSuchElementException
      Defines the OperationInterface 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:
      • OperationInterface
    • build

      public org.palladiosimulator.pcm.repository.OperationProvidedRole 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 OperationProvidedRoleCreator 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