Class AbstractComponentBuilder

java.lang.Object
de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
All Implemented Interfaces:
IBuilder, IComponentBuilder
Direct Known Subclasses:
AbstractCompositeStructureBuilder, BasicComponentBuilder

public abstract class AbstractComponentBuilder extends Object implements IComponentBuilder
Replaces the passed AssemblyConnector with a completion
  • Field Details

    • myComponent

      protected org.palladiosimulator.pcm.repository.RepositoryComponent myComponent
    • myOperationProvidedRole

      protected org.palladiosimulator.pcm.repository.OperationProvidedRole myOperationProvidedRole
    • myOperationRequiredRole

      protected org.palladiosimulator.pcm.repository.OperationRequiredRole myOperationRequiredRole
    • myAssemblyContext

      protected org.palladiosimulator.pcm.core.composition.AssemblyContext myAssemblyContext
    • myModels

      protected PCMAndCompletionModelHolder myModels
  • Constructor Details

  • Method Details

    • createComponent

      protected abstract org.palladiosimulator.pcm.repository.RepositoryComponent createComponent(String componentName)
    • getAssemblyContext

      public org.palladiosimulator.pcm.core.composition.AssemblyContext getAssemblyContext()
      Specified by:
      getAssemblyContext in interface IComponentBuilder
    • addOperationProvidedRole

      protected org.palladiosimulator.pcm.repository.OperationProvidedRole addOperationProvidedRole(org.palladiosimulator.pcm.repository.OperationInterface interf, String roleName)
    • addOperationRequiredRole

      protected org.palladiosimulator.pcm.repository.OperationRequiredRole addOperationRequiredRole(org.palladiosimulator.pcm.repository.OperationInterface interf, String roleName)
    • getOperationProvidedRole

      public org.palladiosimulator.pcm.repository.OperationProvidedRole getOperationProvidedRole()
      Specified by:
      getOperationProvidedRole in interface IComponentBuilder
    • getOperationRequiredRole

      public org.palladiosimulator.pcm.repository.OperationRequiredRole getOperationRequiredRole()
      Specified by:
      getOperationRequiredRole in interface IComponentBuilder
    • getNextCounter

      protected int getNextCounter()
    • getComponent

      public org.palladiosimulator.pcm.repository.RepositoryComponent getComponent()
      Specified by:
      getComponent in interface IComponentBuilder
    • build

      public void build()
      Description copied from interface: IBuilder
      Called to perform this builders actions
      Specified by:
      build in interface IBuilder
    • findResourceType

      protected org.palladiosimulator.pcm.resourcetype.ProcessingResourceType findResourceType(String nameFragment)