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.rmi.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!
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.protocom.tech.ConceptMapping
pcmEntity
-
-
Constructor Summary
Constructors Constructor Description PojoBasicComponentPortClass(org.palladiosimulator.pcm.repository.ProvidedRole pcmEntity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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?protected List<JMethod>
_providedRoleMethods(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role)
protected List<JMethod>
_providedRoleMethods(org.palladiosimulator.pcm.repository.OperationProvidedRole role)
protected List<JMethod>
_providedRoleMethods(org.palladiosimulator.pcm.repository.SinkRole role)
TODO Implement SinkRoles?String
compilationUnitName()
Name of the compilation unit.Collection<? extends IJMethod>
constructors()
Constructors of this class.String
filePath()
Path and name of the generated file.Collection<String>
interfaces()
Collection of interface names which are either implemented or extended.Collection<? extends IJMethod>
methods()
Methods (or signatures) defined by this compilation unit.String
packageName()
Package name of this compilation unit.String
providedRoleInterface(org.palladiosimulator.pcm.repository.ProvidedRole role)
List<JMethod>
providedRoleMethods(org.palladiosimulator.pcm.repository.ProvidedRole role)
String
superClass()
Inherited class name.-
Methods inherited from class org.palladiosimulator.protocom.tech.rmi.PojoClass
annotations, fields, projectName
-
-
-
-
Method Detail
-
superClass
public String superClass()
Description copied from interface:IJClass
Inherited class name.- Specified by:
superClass
in interfaceIJClass
- Overrides:
superClass
in classPojoClass<org.palladiosimulator.pcm.repository.ProvidedRole>
-
packageName
public String 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
public String 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
public Collection<String> 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
public Collection<? extends IJMethod> 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
public Collection<? extends IJMethod> 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
public String 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
protected List<JMethod> _providedRoleMethods(org.palladiosimulator.pcm.repository.OperationProvidedRole role)
-
_providedRoleMethods
protected List<JMethod> _providedRoleMethods(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role)
-
_providedRoleMethods
protected List<JMethod> _providedRoleMethods(org.palladiosimulator.pcm.repository.SinkRole role)
TODO Implement SinkRoles?
-
_providedRoleInterface
protected String _providedRoleInterface(org.palladiosimulator.pcm.repository.OperationProvidedRole role)
-
_providedRoleInterface
protected String _providedRoleInterface(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role)
-
_providedRoleInterface
protected String _providedRoleInterface(org.palladiosimulator.pcm.repository.SinkRole role)
TODO Implement SinkRoles?
-
providedRoleMethods
public List<JMethod> providedRoleMethods(org.palladiosimulator.pcm.repository.ProvidedRole role)
-
providedRoleInterface
public String providedRoleInterface(org.palladiosimulator.pcm.repository.ProvidedRole role)
-
-