public abstract class AbstractDtoWriter extends ClassWriter
ClassWriter which covers general dto specific operations.| Modifier and Type | Field and Description |
|---|---|
protected WebservicesConfig |
wsConfig |
protected static String |
XML_ATTRIBUTE |
protected static String |
XML_ELEMENT |
protected static String |
XML_ELEMENTWRAPPER |
protected static String |
XML_ROOTELEMENT |
GENERATED_NOTICE| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDtoWriter(WebservicesConfig wsConfig,
DtoConfig cfg,
CodeGenerator gen,
YExtension ext) |
| Modifier and Type | Method and Description |
|---|---|
protected MethodWriter |
createDefaultConstructorMethodWriter() |
protected void |
fill() |
protected Collection<MethodWriter> |
getBeanMethodWriters() |
String |
getClassName()
Returns the simple class name of the dto which shall be generated.
|
protected Collection<MethodWriter> |
getConstructorMethodWriters() |
DtoConfig |
getDtoConfig()
Returns the
DtoConfig which is used for specific generation information. |
addAnnotation, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, disableSuppressPMD, firstLetterUpperCase, getAnnotations, getClassToExtend, getConstantDeclarations, getConstructors, getCopyright, getDeclarations, getExtension, getGenerator, getInfo, getInterfaces, getJavadoc, getMethods, getModifiers, getPackageName, getRequiredImports, getVisibility, isGeneratePartOf, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, sortMethods, write, writeMethods, writeSignatureaddRequiredImportprotected static final String XML_ROOTELEMENT
protected static final String XML_ATTRIBUTE
protected static final String XML_ELEMENT
protected static final String XML_ELEMENTWRAPPER
protected WebservicesConfig wsConfig
protected AbstractDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext)
public DtoConfig getDtoConfig()
DtoConfig which is used for specific generation information.DtoConfigpublic String getClassName()
getClassName in class ClassWriterClassWriter.getClassName()protected void fill()
fill in class ClassWriterprotected Collection<MethodWriter> getConstructorMethodWriters()
protected Collection<MethodWriter> getBeanMethodWriters()
protected MethodWriter createDefaultConstructorMethodWriter()
Copyright © 2017 SAP SE. All Rights Reserved.