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 1818AbstractClassWriterwhich covers general dto specific operations.
-
-
Field Summary
Fields Modifier and Type Field Description protected WebservicesConfigwsConfigDeprecated.protected static java.lang.StringXML_ATTRIBUTEDeprecated.protected static java.lang.StringXML_ELEMENTDeprecated.protected static java.lang.StringXML_ELEMENTWRAPPERDeprecated.protected static java.lang.StringXML_ROOTELEMENTDeprecated.-
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MethodWritercreateDefaultConstructorMethodWriter()Deprecated.protected voidfill()Deprecated.protected java.util.Collection<MethodWriter>getBeanMethodWriters()Deprecated.java.lang.StringgetClassName()Deprecated.Returns the simple class name of the dto which shall be generated.protected java.util.Collection<MethodWriter>getConstructorMethodWriters()Deprecated.DtoConfiggetDtoConfig()Deprecated.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.- 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 theDtoConfigwhich 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:
getClassNamein classClassWriter- Returns:
- dto class name
- See Also:
ClassWriter.getClassName()
-
fill
protected void fill()
Deprecated.- Overrides:
fillin classClassWriter
-
getConstructorMethodWriters
protected java.util.Collection<MethodWriter> getConstructorMethodWriters()
Deprecated.
-
getBeanMethodWriters
protected java.util.Collection<MethodWriter> getBeanMethodWriters()
Deprecated.
-
createDefaultConstructorMethodWriter
protected MethodWriter createDefaultConstructorMethodWriter()
Deprecated.
-
-