Class AbstractComponentBuilder
java.lang.Object
de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
- All Implemented Interfaces:
IBuilder
,IComponentBuilder
- Direct Known Subclasses:
AbstractCompositeStructureBuilder
,BasicComponentBuilder
Replaces the passed AssemblyConnector with a completion
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.palladiosimulator.pcm.core.composition.AssemblyContext
protected org.palladiosimulator.pcm.repository.RepositoryComponent
protected PCMAndCompletionModelHolder
protected org.palladiosimulator.pcm.repository.OperationProvidedRole
protected org.palladiosimulator.pcm.repository.OperationRequiredRole
-
Constructor Summary
ConstructorDescriptionAbstractComponentBuilder
(PCMAndCompletionModelHolder models, String componentName) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
org.palladiosimulator.pcm.repository.RepositoryComponent
protected int
org.palladiosimulator.pcm.repository.OperationProvidedRole
org.palladiosimulator.pcm.repository.OperationRequiredRole
-
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
-
-
Constructor Details
-
AbstractComponentBuilder
-
-
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 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)
-