Class NonDuplicatingInterfacePortBuilder

java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.AbstractBuilder
org.somox.analyzer.simplemodelanalyzer.builder.NonDuplicatingInterfacePortBuilder
All Implemented Interfaces:
IRoleBuilderStrategy

public class NonDuplicatingInterfacePortBuilder extends AbstractBuilder implements IRoleBuilderStrategy
Idea: All interfaces which are not required by internal interfaces (and consequently captured in assembly connectors) are exposed as provided interfaces (interface ports) of the composite component.
Additionally creates provided and required delegation connectors.
  • Constructor Details

  • Method Details

    • buildProvidedRole

      public List<org.palladiosimulator.pcm.repository.OperationProvidedRole> buildProvidedRole(ComponentImplementingClassesLink componentLink)
      Strategy: Create a new provided role for all inner interfaces which are not associated in assembly connectors. Additionally creates provided and required delegation connectors.
      Specified by:
      buildProvidedRole in interface IRoleBuilderStrategy
      Parameters:
      componentLink - The composite component for which to build interface ports
    • buildRequiredRole

      public List<org.palladiosimulator.pcm.repository.OperationRequiredRole> buildRequiredRole(ComponentImplementingClassesLink componentLink)
      Strategy: Create a new interface port for all inner interfaces which are not associated in assembly connectors. Additionally creates provided and required delegation connectors.
      Specified by:
      buildRequiredRole in interface IRoleBuilderStrategy
      Parameters:
      componentLink - The composite component for which to build interface ports