public class SingleDtoWriter extends AbstractDtoWriter
XML_ATTRIBUTE, XML_ELEMENT, XML_ELEMENTWRAPPER, XML_ROOTELEMENTGENERATED_NOTICE| Constructor and Description |
|---|
SingleDtoWriter(WebservicesConfig wsConfig,
DtoConfig cfg,
CodeGenerator gen,
YExtension ext,
java.util.Map<YComposedType,java.util.Set<YComposedType>> uniqueInfoMap) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<MethodWriter> |
getBeanMethodWriters() |
SingleDtoConfig |
getDtoConfig()
Returns the
DtoConfig which is used for specific generation information. |
protected boolean |
isTypeAllowed(YType type,
YAttributeDescriptor attribute)
Checks whether passed
YType is supported to be a DTO property. |
createDefaultConstructorMethodWriter, fill, getClassName, getConstructorMethodWritersaddAnnotation, 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, writeSignatureaddRequiredImportpublic SingleDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext, java.util.Map<YComposedType,java.util.Set<YComposedType>> uniqueInfoMap)
public SingleDtoConfig getDtoConfig()
AbstractDtoWriterDtoConfig which is used for specific generation information.getDtoConfig in class AbstractDtoWriterDtoConfigprotected java.util.Collection<MethodWriter> getBeanMethodWriters()
getBeanMethodWriters in class AbstractDtoWriterprotected boolean isTypeAllowed(YType type, YAttributeDescriptor attribute)
YType is supported to be a DTO property.type - the type which has to be checkedattribute - the YAttributeDescriptor which is used with passed typeCopyright © 2018 SAP SE. All Rights Reserved.