Class AbstractDtoWriter
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.AbstractImportProvider
-
- de.hybris.bootstrap.codegenerator.ClassWriter
-
- de.hybris.bootstrap.codegenerator.platformwebservices.dto.AbstractDtoWriter
-
- All Implemented Interfaces:
CodeWriter
- Direct Known Subclasses:
CollectionDtoWriter,SingleDtoWriter
@Deprecated(since="1818", forRemoval=true) public abstract class AbstractDtoWriter extends ClassWriterDeprecated, for removal: This API element is subject to removal in a future version.since 1818AbstractClassWriterwhich covers general dto specific operations.
-
-
Field Summary
Fields Modifier and Type Field Description protected WebservicesConfigwsConfigDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringXML_ATTRIBUTEDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringXML_ELEMENTDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringXML_ELEMENTWRAPPERDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringXML_ROOTELEMENTDeprecated, for removal: This API element is subject to removal in a future version.-
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MethodWritercreateDefaultConstructorMethodWriter()Deprecated, for removal: This API element is subject to removal in a future version.protected voidfill()Deprecated, for removal: This API element is subject to removal in a future version.protected java.util.Collection<MethodWriter>getBeanMethodWriters()Deprecated, for removal: This API element is subject to removal in a future version.java.lang.StringgetClassName()Deprecated, for removal: This API element is subject to removal in a future version.Returns the simple class name of the dto which shall be generated.protected java.util.Collection<MethodWriter>getConstructorMethodWriters()Deprecated, for removal: This API element is subject to removal in a future version.DtoConfiggetDtoConfig()Deprecated, for removal: This API element is subject to removal in a future version.Returns theDtoConfigwhich is used for specific generation information.-
Methods inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
addAnnotation, addAnnotationIfDeprecated, addAnnotations, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, firstLetterUpperCase, getAnnotations, getClassToExtend, getConstantDeclarations, getConstructors, getCopyright, getDeclarations, getExtension, getGenerator, getInfo, getInterfaces, getJavadoc, getMethods, getModifiers, getPackageName, getRequiredImports, getVisibility, isGeneratePartOf, processAnnotations, removeSelfImport, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, sortMethods, write, writeMethods, writeSignature
-
Methods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
-
-
-
Field Detail
-
XML_ROOTELEMENT
protected static final java.lang.String XML_ROOTELEMENT
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
XML_ATTRIBUTE
protected static final java.lang.String XML_ATTRIBUTE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
XML_ELEMENT
protected static final java.lang.String XML_ELEMENT
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
XML_ELEMENTWRAPPER
protected static final java.lang.String XML_ELEMENTWRAPPER
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
wsConfig
protected WebservicesConfig wsConfig
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Detail
-
AbstractDtoWriter
protected AbstractDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getDtoConfig
public DtoConfig getDtoConfig()
Deprecated, for removal: This API element is subject to removal in a future version.Returns theDtoConfigwhich is used for specific generation information.- Returns:
DtoConfig
-
getClassName
public java.lang.String getClassName()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the simple class name of the dto which shall be generated.- Overrides:
getClassNamein classClassWriter- Returns:
- dto class name
- See Also:
ClassWriter.getClassName()
-
fill
protected void fill()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
fillin classClassWriter
-
getConstructorMethodWriters
protected java.util.Collection<MethodWriter> getConstructorMethodWriters()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getBeanMethodWriters
protected java.util.Collection<MethodWriter> getBeanMethodWriters()
Deprecated, for removal: This API element is subject to removal in a future version.
-
createDefaultConstructorMethodWriter
protected MethodWriter createDefaultConstructorMethodWriter()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-