Class PojoBasicComponentPortClass
java.lang.Object
org.palladiosimulator.protocom.tech.ConceptMapping<E>
org.palladiosimulator.protocom.tech.rmi.PojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
org.palladiosimulator.protocom.tech.pojo.repository.PojoBasicComponentPortClass
- All Implemented Interfaces:
ICompilationUnit
,IJClass
,IJCompilationUnit
public class PojoBasicComponentPortClass
extends PojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
Provider for port classes based on provided roles. Please note that InfrastructureProvidedRoles
were - to some degree - hacked into the PCM such that cumbersome case distinction for
Operation and Infrastructure is necessary.
Possible TODO is to split PojoBasicComponentPortClass into two classes with a common super type.
Keep in mind though that InfrastructureComponents in ProtoCom are not generated, but rather calls
to the real infrastructure!
TODO Code stubs may also use CallVistitors like the performance prototype implementation.
Note that, in this case, the ctx object might simply be removed.
-
Field Summary
Fields inherited from class org.palladiosimulator.protocom.tech.ConceptMapping
pcmEntity
-
Constructor Summary
ConstructorDescriptionPojoBasicComponentPortClass
(org.palladiosimulator.pcm.repository.ProvidedRole pcmEntity) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
_providedRoleInterface
(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role) protected String
_providedRoleInterface
(org.palladiosimulator.pcm.repository.OperationProvidedRole role) protected String
_providedRoleInterface
(org.palladiosimulator.pcm.repository.SinkRole role) TODO Implement SinkRoles?_providedRoleMethods
(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role) _providedRoleMethods
(org.palladiosimulator.pcm.repository.OperationProvidedRole role) _providedRoleMethods
(org.palladiosimulator.pcm.repository.SinkRole role) TODO Implement SinkRoles?Name of the compilation unit.Collection<? extends IJMethod>
Constructors of this class.filePath()
Path and name of the generated file.Collection of interface names which are either implemented or extended.Collection<? extends IJMethod>
methods()
Methods (or signatures) defined by this compilation unit.Package name of this compilation unit.providedRoleInterface
(org.palladiosimulator.pcm.repository.ProvidedRole role) providedRoleMethods
(org.palladiosimulator.pcm.repository.ProvidedRole role) Inherited class name.Methods inherited from class org.palladiosimulator.protocom.tech.rmi.PojoClass
annotations, fields, projectName
-
Constructor Details
-
PojoBasicComponentPortClass
public PojoBasicComponentPortClass(org.palladiosimulator.pcm.repository.ProvidedRole pcmEntity)
-
-
Method Details
-
superClass
Description copied from interface:IJClass
Inherited class name.- Specified by:
superClass
in interfaceIJClass
- Overrides:
superClass
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
packageName
Description copied from interface:IJCompilationUnit
Package name of this compilation unit.- Specified by:
packageName
in interfaceIJCompilationUnit
- Overrides:
packageName
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
compilationUnitName
Description copied from interface:IJCompilationUnit
Name of the compilation unit.- Specified by:
compilationUnitName
in interfaceIJCompilationUnit
- Overrides:
compilationUnitName
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
interfaces
Description copied from interface:IJCompilationUnit
Collection of interface names which are either implemented or extended.- Specified by:
interfaces
in interfaceIJCompilationUnit
- Overrides:
interfaces
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
constructors
Description copied from interface:IJClass
Constructors of this class. FIXME: JMethod is ok'ish, but not entirely correct.- Specified by:
constructors
in interfaceIJClass
- Overrides:
constructors
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
methods
Description copied from interface:IJCompilationUnit
Methods (or signatures) defined by this compilation unit.- Specified by:
methods
in interfaceIJCompilationUnit
- Overrides:
methods
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
filePath
Description copied from interface:ICompilationUnit
Path and name of the generated file.- Specified by:
filePath
in interfaceICompilationUnit
- Overrides:
filePath
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
_providedRoleMethods
-
_providedRoleMethods
-
_providedRoleMethods
TODO Implement SinkRoles? -
_providedRoleInterface
protected String _providedRoleInterface(org.palladiosimulator.pcm.repository.OperationProvidedRole role) -
_providedRoleInterface
protected String _providedRoleInterface(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role) -
_providedRoleInterface
TODO Implement SinkRoles? -
providedRoleMethods
-
providedRoleInterface
-