public abstract class AbstractDtoWriter extends ClassWriter
ClassWriter which covers general dto specific operations.| Modifier and Type | Field and Description |
|---|---|
protected WebservicesConfig |
wsConfig |
protected static java.lang.String |
XML_ATTRIBUTE |
protected static java.lang.String |
XML_ELEMENT |
protected static java.lang.String |
XML_ELEMENTWRAPPER |
protected static java.lang.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 java.util.Collection<MethodWriter> |
getBeanMethodWriters() |
java.lang.String |
getClassName()
Returns the simple class name of the dto which shall be generated.
|
protected java.util.Collection<MethodWriter> |
getConstructorMethodWriters() |
DtoConfig |
getDtoConfig()
Returns the
DtoConfig which is used for specific generation information. |
addAnnotation, addAnnotations, 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, isSuppressPMD, processAnnotations, removeSelfImport, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, sortMethods, write, writeMethods, writeSignatureaddRequiredImportprotected static final java.lang.String XML_ROOTELEMENT
protected static final java.lang.String XML_ATTRIBUTE
protected static final java.lang.String XML_ELEMENT
protected static final java.lang.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 java.lang.String getClassName()
getClassName in class ClassWriterClassWriter.getClassName()protected void fill()
fill in class ClassWriterprotected java.util.Collection<MethodWriter> getConstructorMethodWriters()
protected java.util.Collection<MethodWriter> getBeanMethodWriters()
protected MethodWriter createDefaultConstructorMethodWriter()
Copyright © 2018 SAP SE. All Rights Reserved.