Class PcmRepresentative<E extends org.palladiosimulator.pcm.core.entity.NamedElement>

    • Field Detail

      • injector

        @Inject
        protected com.google.inject.Injector injector
      • entity

        protected E extends org.palladiosimulator.pcm.core.entity.NamedElement entity
        The represented element of the loaded PCM model.
    • Constructor Detail

      • PcmRepresentative

        public PcmRepresentative()
    • Method Detail

      • setEntity

        public PcmRepresentative<E> setEntity​(E entity)
        Set the entity which will be represented by this object.
      • transform

        public void transform()
        Transformation process:
        • Traverse through all relevant entities connected to this entity.
        • Generate files necessary for this entity, depending on the language and technology used.
        • Store generated files.
        Traverse and Generate are template methods.
      • traverse

        protected void traverse()
        Traverse through the PCM model, following all relevant connections starting from the represented element. Nothing is traversed in the default case.
      • generate

        protected void generate()
        Generate the files needed for this entity. Nothing is generated in the default case.