Class AbstractDtoConfig

  • All Implemented Interfaces:
    DtoConfig
    Direct Known Subclasses:
    CollectionDtoConfig, SingleDtoConfig

    @Deprecated(since="1818",
                forRemoval=true)
    public abstract class AbstractDtoConfig
    extends java.lang.Object
    implements DtoConfig
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1818
    Provides any information needed for dto generation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected WebservicesConfig provider
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractDtoConfig​(YComposedType type, java.lang.String modelClassName, java.lang.String dtoClassName, java.lang.String plural, WebservicesConfig provider)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      WebservicesConfig getConfigProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String getDtoClassName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the dto-class name.
      java.lang.String getDtoClassSimpleName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the simple dto class name.
      java.lang.String getDtoPackage()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the package name for this dto.
      java.lang.String getModelClassName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the model-class name.
      java.lang.String getModelClassSimpleName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the simple model class name.
      java.lang.String getPlural()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Result is a noun which every human should recognize as plural representation for this dto/model.
      java.lang.String getSingular()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Result is a noun which every human should recognize as singular representation for this dto/model.
      YComposedType getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the YComposedType.
      void setDtoClassName​(java.lang.String dtoClassName)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setDtoPackage​(java.lang.String dtoPackage)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setModelClassName​(java.lang.String modelClassName)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setPlural​(java.lang.String plural)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setSingular​(java.lang.String singular)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setType​(YComposedType type)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • provider

        protected WebservicesConfig provider
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • AbstractDtoConfig

        public AbstractDtoConfig​(YComposedType type,
                                 java.lang.String modelClassName,
                                 java.lang.String dtoClassName,
                                 java.lang.String plural,
                                 WebservicesConfig provider)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getConfigProvider

        public WebservicesConfig getConfigProvider()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setDtoPackage

        public void setDtoPackage​(java.lang.String dtoPackage)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        dtoPackage - the dtoPackage to set
      • getDtoPackage

        public java.lang.String getDtoPackage()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Returns the package name for this dto.
        Specified by:
        getDtoPackage in interface DtoConfig
        Returns:
        the dtoPackage
      • getModelClassName

        public java.lang.String getModelClassName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Returns the model-class name.

        Same like calling Class.getName() on model class.

        Specified by:
        getModelClassName in interface DtoConfig
        Returns:
        the modelClassName
      • setModelClassName

        public final void setModelClassName​(java.lang.String modelClassName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        modelClassName - the modelClassName to set
      • getModelClassSimpleName

        public java.lang.String getModelClassSimpleName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Returns the simple model class name.

        Same like calling Class.getSimpleName() on model class.

        Specified by:
        getModelClassSimpleName in interface DtoConfig
        Returns:
        the modelClassSimpleName
      • getDtoClassName

        public java.lang.String getDtoClassName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Returns the dto-class name.

        Same like calling Class.getName() on dto class.

        Specified by:
        getDtoClassName in interface DtoConfig
        Returns:
        the dtoClassName
      • setDtoClassName

        public final void setDtoClassName​(java.lang.String dtoClassName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        dtoClassName - the dtoClassName to set
      • getDtoClassSimpleName

        public java.lang.String getDtoClassSimpleName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Returns the simple dto class name.

        Same like Class.getSimpleName() on dto class.

        Specified by:
        getDtoClassSimpleName in interface DtoConfig
        Returns:
        dtoClassSimpleName
      • setType

        public void setType​(YComposedType type)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        type - the type to set
      • getType

        public YComposedType getType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Returns the YComposedType.
        Specified by:
        getType in interface DtoConfig
        Returns:
        type
      • getSingular

        public java.lang.String getSingular()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Result is a noun which every human should recognize as singular representation for this dto/model.
        Specified by:
        getSingular in interface DtoConfig
        Returns:
        singular
      • setSingular

        public void setSingular​(java.lang.String singular)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        singular - the singular to set
      • getPlural

        public java.lang.String getPlural()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DtoConfig
        Result is a noun which every human should recognize as plural representation for this dto/model.
        Specified by:
        getPlural in interface DtoConfig
        Returns:
        plural
      • setPlural

        public void setPlural​(java.lang.String plural)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        plural - the plural to set