Class AbstractWebservicesClassGenerator

    • Constructor Detail

      • AbstractWebservicesClassGenerator

        public AbstractWebservicesClassGenerator​(CodeGenerator gen)
        Deprecated.
    • Method Detail

      • generateClasses

        public void generateClasses​(java.util.Collection<ExtensionInfo> extensionCfgs)
        Deprecated.
      • logStarted

        protected abstract void logStarted()
        Deprecated.
      • doGenerate

        protected abstract void doGenerate​(java.io.File wslayerExtGensrcDir,
                                           CodeGenerator gen,
                                           YExtension ext,
                                           YComposedType type)
        Deprecated.
        method responsible for generating the resources for type
      • isGenerable

        protected abstract boolean isGenerable​(YComposedType type)
        Deprecated.
        Returns:
        true when for passed type something can be generated
      • isRootResourceType

        protected boolean isRootResourceType​(YComposedType type)
        Deprecated.
        Returns true, when passed type shall be treated as a root-type. A root-type has specific resource classes as well as a set of collection DTOs which are needed for the root-resources. (Collection DTOs are just a wrapper for collection whose element types are the passed one).
        Parameters:
        type - type to check for
        Returns:
        true when type is a root type
      • setRegenerateResources

        public void setRegenerateResources​(boolean regenerateResources)
        Deprecated.
        Parameters:
        regenerateResources - the regenerateResources to set
      • isRegenerateResources

        public boolean isRegenerateResources()
        Deprecated.
        Returns:
        the regenerateResources