Class SingleDtoWriter

  • All Implemented Interfaces:
    CodeWriter

    @Deprecated(since="1818",
                forRemoval=true)
    public class SingleDtoWriter
    extends AbstractDtoWriter
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1818
    Responsible for generating code for webservices dto.
    • Method Detail

      • isTypeAllowed

        protected boolean isTypeAllowed​(YType type,
                                        YAttributeDescriptor attribute)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Checks whether passed YType is supported to be a DTO property.
        Parameters:
        type - the type which has to be checked
        attribute - the YAttributeDescriptor which is used with passed type
        Returns:
        true when type is supported, false otherwise