Class 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!
    • Constructor Detail

      • PojoBasicComponentPortClass

        public PojoBasicComponentPortClass​(org.palladiosimulator.pcm.repository.ProvidedRole pcmEntity)
    • Method Detail

      • superClass

        public String superClass()
        Description copied from interface: IJClass
        Inherited class name.
        Specified by:
        superClass in interface IJClass
        Overrides:
        superClass in class PojoClass<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 interface IJClass
        Overrides:
        constructors in class PojoClass<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)