Class CollectionDtoWriter
- 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.CollectionDtoWriter
-
- All Implemented Interfaces:
CodeWriter
@Deprecated(since="1818", forRemoval=true) public class CollectionDtoWriter extends AbstractDtoWriterDeprecated, for removal: This API element is subject to removal in a future version.since 1818Responsible for generating code for webservices collection-dto.
-
-
Field Summary
-
Fields inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.dto.AbstractDtoWriter
wsConfig, XML_ATTRIBUTE, XML_ELEMENT, XML_ELEMENTWRAPPER, XML_ROOTELEMENT
-
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE
-
-
Constructor Summary
Constructors Constructor Description CollectionDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext)Deprecated, for removal: This API element is subject to removal in a future version.for type Language will generate DTO class like
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.util.Collection<MethodWriter>getBeanMethodWriters()Deprecated, for removal: This API element is subject to removal in a future version.protected java.util.Collection<MethodWriter>getConstructorMethodWriters()Deprecated, for removal: This API element is subject to removal in a future version.CollectionDtoConfiggetDtoConfig()Deprecated, for removal: This API element is subject to removal in a future version.Returns theDtoConfigwhich is used for specific generation information.-
Methods inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.dto.AbstractDtoWriter
createDefaultConstructorMethodWriter, fill, getClassName
-
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
-
CollectionDtoWriter
public CollectionDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext)
Deprecated, for removal: This API element is subject to removal in a future version.for type Language will generate DTO class like
@XmlRootElement(name = "languages")
public class LanguagesDTO {
private List<LanguageDTO> languages = null;
public LanguagesDTO() { // }
public LanguagesDTO(final List<LanguageDTO> languages)
{
this.languages = languages;
}
@XmlElement(name = "language")
public List<LanguageDTO> getLanguages()
{
return languages;
}
public void setLanguages(final List<LanguageDTO> languages)
{
this.languages = languages;
}
}
-
-
Method Detail
-
getDtoConfig
public CollectionDtoConfig getDtoConfig()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractDtoWriterReturns theDtoConfigwhich is used for specific generation information.- Overrides:
getDtoConfigin classAbstractDtoWriter- Returns:
DtoConfig
-
getConstructorMethodWriters
protected java.util.Collection<MethodWriter> getConstructorMethodWriters()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getConstructorMethodWritersin classAbstractDtoWriter
-
getBeanMethodWriters
protected java.util.Collection<MethodWriter> getBeanMethodWriters()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBeanMethodWritersin classAbstractDtoWriter
-
-