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 AbstractDtoWriter
Deprecated, for removal: This API element is subject to removal in a future version.
since 1818
Responsible 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_ROOTELEMENTFields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE -
Constructor Summary
ConstructorsConstructorDescriptionCollectionDtoWriter(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
Modifier and TypeMethodDescriptionprotected Collection<MethodWriter>Deprecated, for removal: This API element is subject to removal in a future version.protected Collection<MethodWriter>Deprecated, for removal: This API element is subject to removal in a future version.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, getClassNameMethods 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, writeSignatureMethods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
Constructor Details
-
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 Details
-
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
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getConstructorMethodWritersin classAbstractDtoWriter
-
getBeanMethodWriters
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBeanMethodWritersin classAbstractDtoWriter
-