Class AssemblyConnectorCreator


  • public class AssemblyConnectorCreator
    extends AbstractConnectorCreator
    This class constructs an AssemblyConnector.
    See Also:
    AssemblyConnector
    • Constructor Detail

      • AssemblyConnectorCreator

        public AssemblyConnectorCreator​(SystemCreator systemCreator)
    • Method Detail

      • withRequiringAssemblyContext

        public OperationRequiredRoleSelector<AssemblyConnectorCreator> withRequiringAssemblyContext​(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
        Defines the AssemblyContext that requires the role.
        Parameters:
        context -
        Returns:
        this assembly connector
        See Also:
        AssemblyContext
      • withProvidingAssemblyContext

        public OperationProvidedRoleSelector<AssemblyConnectorCreator> withProvidingAssemblyContext​(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
        Defines the AssemblyContext that provides the role.
        Parameters:
        context -
        Returns:
        this assembly connector
        See Also:
        AssemblyContext
      • build

        public org.palladiosimulator.pcm.core.composition.AssemblyConnector build()
        Description copied from class: Entity
        Turns the entity in the making into the finished entity.
        Specified by:
        build in class AbstractConnectorCreator
        Returns:
        the finished entity
      • withName

        public AssemblyConnectorCreator 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