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, for removal: This API element is subject to removal in a future version.
since 1818
Responsible 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_ROOTELEMENTFields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE -
Constructor Summary
ConstructorsConstructorDescriptionSingleDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext, Map<YComposedType, Set<YComposedType>> uniqueInfoMap) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.protected booleanisTypeAllowed(YType type, YAttributeDescriptor attribute) Deprecated, for removal: This API element is subject to removal in a future version.Checks whether passedYTypeis supported to be a DTO property.Methods inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.dto.AbstractDtoWriter
createDefaultConstructorMethodWriter, fill, getClassName, getConstructorMethodWritersMethods 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
-
SingleDtoWriter
public SingleDtoWriter(WebservicesConfig wsConfig, DtoConfig cfg, CodeGenerator gen, YExtension ext, Map<YComposedType, Set<YComposedType>> uniqueInfoMap) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
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
-
getBeanMethodWriters
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getBeanMethodWritersin classAbstractDtoWriter
-
isTypeAllowed
Deprecated, for removal: This API element is subject to removal in a future version.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
-