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 public abstract class AbstractDtoWriter extends ClassWriter
Deprecated.since 1818AbstractClassWriter
which covers general dto specific operations.
-
-
Field Summary
Fields Modifier and Type Field Description protected WebservicesConfig
wsConfig
Deprecated.protected static java.lang.String
XML_ATTRIBUTE
Deprecated.protected static java.lang.String
XML_ELEMENT
Deprecated.protected static java.lang.String
XML_ELEMENTWRAPPER
Deprecated.protected static java.lang.String
XML_ROOTELEMENT
Deprecated.-
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MethodWriter
createDefaultConstructorMethodWriter()
Deprecated.protected void
fill()
Deprecated.protected java.util.Collection<MethodWriter>
getBeanMethodWriters()
Deprecated.java.lang.String
getClassName()
Deprecated.Returns the simple class name of the dto which shall be generated.protected java.util.Collection<MethodWriter>
getConstructorMethodWriters()
Deprecated.DtoConfig
getDtoConfig()
Deprecated.Returns theDtoConfig
which 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.- See Also:
- Constant Field Values
-
XML_ATTRIBUTE
protected static final java.lang.String XML_ATTRIBUTE
Deprecated.- See Also:
- Constant Field Values
-
XML_ELEMENT
protected static final java.lang.String XML_ELEMENT
Deprecated.- See Also:
- Constant Field Values
-
XML_ELEMENTWRAPPER
protected static final java.lang.String XML_ELEMENTWRAPPER
Deprecated.- See Also:
- Constant Field Values
-
wsConfig
protected WebservicesConfig wsConfig
Deprecated.
-
-
Constructor Detail
-
AbstractDtoWriter
protected AbstractDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext)
Deprecated.
-
-
Method Detail
-
getDtoConfig
public DtoConfig getDtoConfig()
Deprecated.Returns theDtoConfig
which is used for specific generation information.- Returns:
DtoConfig
-
getClassName
public java.lang.String getClassName()
Deprecated.Returns the simple class name of the dto which shall be generated.- Overrides:
getClassName
in classClassWriter
- Returns:
- dto class name
- See Also:
ClassWriter.getClassName()
-
fill
protected void fill()
Deprecated.- Overrides:
fill
in classClassWriter
-
getConstructorMethodWriters
protected java.util.Collection<MethodWriter> getConstructorMethodWriters()
Deprecated.
-
getBeanMethodWriters
protected java.util.Collection<MethodWriter> getBeanMethodWriters()
Deprecated.
-
createDefaultConstructorMethodWriter
protected MethodWriter createDefaultConstructorMethodWriter()
Deprecated.
-
-