Class AbstractWebservicesClassGenerator
java.lang.Object
de.hybris.bootstrap.codegenerator.platformwebservices.AbstractWebservicesClassGenerator
- Direct Known Subclasses:
DtoClassGenerator,ResourceClassGenerator
Deprecated.
since 1818
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoGenerate(File wslayerExtGensrcDir, CodeGenerator gen, YExtension ext, YComposedType type) Deprecated.method responsible for generating the resources for typevoidgenerateClasses(Collection<ExtensionInfo> extensionCfgs) Deprecated.protected abstract booleanisGenerable(YComposedType type) Deprecated.booleanDeprecated.protected booleanDeprecated.Returns true, when passed type shall be treated as a root-type.protected abstract voidDeprecated.voidsetRegenerateResources(boolean regenerateResources) Deprecated.
-
Constructor Details
-
AbstractWebservicesClassGenerator
Deprecated.
-
-
Method Details
-
generateClasses
Deprecated. -
logStarted
protected abstract void logStarted()Deprecated. -
doGenerate
protected abstract void doGenerate(File wslayerExtGensrcDir, CodeGenerator gen, YExtension ext, YComposedType type) Deprecated.method responsible for generating the resources for type -
isGenerable
Deprecated.- Returns:
- true when for passed type something can be generated
-
isRootResourceType
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
-