Class SingleDtoWriter
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.AbstractImportProvider
-
- de.hybris.bootstrap.codegenerator.ClassWriter
-
- de.hybris.bootstrap.codegenerator.platformwebservices.dto.AbstractDtoWriter
-
- de.hybris.bootstrap.codegenerator.platformwebservices.dto.SingleDtoWriter
-
- All Implemented Interfaces:
CodeWriter
@Deprecated public class SingleDtoWriter extends AbstractDtoWriter
Deprecated.since 1818Responsible for generating code for webservices dto.
-
-
Field Summary
-
Fields inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.dto.AbstractDtoWriter
XML_ATTRIBUTE, XML_ELEMENT, XML_ELEMENTWRAPPER, XML_ROOTELEMENT
-
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE
-
-
Constructor Summary
Constructors Constructor Description SingleDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext, java.util.Map<YComposedType,java.util.Set<YComposedType>> uniqueInfoMap)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.util.Collection<MethodWriter>getBeanMethodWriters()Deprecated.SingleDtoConfiggetDtoConfig()Deprecated.Returns theDtoConfigwhich is used for specific generation information.protected booleanisTypeAllowed(YType type, YAttributeDescriptor attribute)Deprecated.Checks whether passedYTypeis supported to be a DTO property.-
Methods inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.dto.AbstractDtoWriter
createDefaultConstructorMethodWriter, fill, getClassName, getConstructorMethodWriters
-
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
-
-
-
-
Constructor Detail
-
SingleDtoWriter
public SingleDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext, java.util.Map<YComposedType,java.util.Set<YComposedType>> uniqueInfoMap)
Deprecated.
-
-
Method Detail
-
getDtoConfig
public SingleDtoConfig getDtoConfig()
Deprecated.Description copied from class:AbstractDtoWriterReturns theDtoConfigwhich is used for specific generation information.- Overrides:
getDtoConfigin classAbstractDtoWriter- Returns:
DtoConfig
-
getBeanMethodWriters
protected java.util.Collection<MethodWriter> getBeanMethodWriters()
Deprecated.- Overrides:
getBeanMethodWritersin classAbstractDtoWriter
-
isTypeAllowed
protected boolean isTypeAllowed(YType type, YAttributeDescriptor attribute)
Deprecated.Checks whether passedYTypeis supported to be a DTO property.- Parameters:
type- the type which has to be checkedattribute- theYAttributeDescriptorwhich is used with passed type- Returns:
- true when type is supported, false otherwise
-
-