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 Summary
Fields Modifier and Type Field Description protected org.palladiosimulator.pcm.core.composition.AssemblyContext
myAssemblyContext
protected org.palladiosimulator.pcm.repository.RepositoryComponent
myComponent
protected PCMAndCompletionModelHolder
myModels
protected org.palladiosimulator.pcm.repository.OperationProvidedRole
myOperationProvidedRole
protected org.palladiosimulator.pcm.repository.OperationRequiredRole
myOperationRequiredRole
-
Constructor Summary
Constructors Constructor Description AbstractComponentBuilder(PCMAndCompletionModelHolder models, String componentName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.palladiosimulator.pcm.repository.OperationProvidedRole
addOperationProvidedRole(org.palladiosimulator.pcm.repository.OperationInterface interf, String roleName)
protected org.palladiosimulator.pcm.repository.OperationRequiredRole
addOperationRequiredRole(org.palladiosimulator.pcm.repository.OperationInterface interf, String roleName)
void
build()
Called to perform this builders actionsprotected abstract org.palladiosimulator.pcm.repository.RepositoryComponent
createComponent(String componentName)
protected org.palladiosimulator.pcm.resourcetype.ProcessingResourceType
findResourceType(String nameFragment)
org.palladiosimulator.pcm.core.composition.AssemblyContext
getAssemblyContext()
org.palladiosimulator.pcm.repository.RepositoryComponent
getComponent()
protected int
getNextCounter()
org.palladiosimulator.pcm.repository.OperationProvidedRole
getOperationProvidedRole()
org.palladiosimulator.pcm.repository.OperationRequiredRole
getOperationRequiredRole()
-
-
-
Field Detail
-
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 Detail
-
AbstractComponentBuilder
public AbstractComponentBuilder(PCMAndCompletionModelHolder models, String componentName)
-
-
Method Detail
-
createComponent
protected abstract org.palladiosimulator.pcm.repository.RepositoryComponent createComponent(String componentName)
-
getAssemblyContext
public org.palladiosimulator.pcm.core.composition.AssemblyContext getAssemblyContext()
- Specified by:
getAssemblyContext
in interfaceIComponentBuilder
-
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 interfaceIComponentBuilder
-
getOperationRequiredRole
public org.palladiosimulator.pcm.repository.OperationRequiredRole getOperationRequiredRole()
- Specified by:
getOperationRequiredRole
in interfaceIComponentBuilder
-
getNextCounter
protected int getNextCounter()
-
getComponent
public org.palladiosimulator.pcm.repository.RepositoryComponent getComponent()
- Specified by:
getComponent
in interfaceIComponentBuilder
-
build
public void build()
Description copied from interface:IBuilder
Called to perform this builders actions
-
findResourceType
protected org.palladiosimulator.pcm.resourcetype.ProcessingResourceType findResourceType(String nameFragment)
-
-