Class AbstractResourceConfig

  • All Implemented Interfaces:
    ResourceConfig
    Direct Known Subclasses:
    CollectionResourceConfig, SingleResourceConfig

    @Deprecated(since="1818",
                forRemoval=true)
    public abstract class AbstractResourceConfig
    extends java.lang.Object
    implements ResourceConfig
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1818
    Provides any information needed for resource 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
      AbstractResourceConfig​(DtoConfig dtoConfig, java.lang.String resourcePackage, WebservicesConfig provider)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the class name of the generated resource.
      DtoConfig getDTOConfig()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the DtoConfig of the entity which this resource is used for.
      java.lang.String getPackageName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the package name for this resource.
      protected WebservicesConfig getResourceConfigProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String getSimpleClassName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the simple class name of the generated resource.
      abstract java.util.Collection<ResourceConfig> getSubResources()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns all available subresources.
      boolean isDeleteSupport()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isGetSupport()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isPostSupport()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isPutSupport()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setDeleteSupport​(boolean isDeleteSupport)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setGetSupport​(boolean isGetSupport)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setPostSupport​(boolean isPostSupport)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setPutSupport​(boolean isPutSupport)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setResourceClassName​(java.lang.String className)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setResourcePackage​(java.lang.String resourcePackage)
      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

      • AbstractResourceConfig

        public AbstractResourceConfig​(DtoConfig dtoConfig,
                                      java.lang.String resourcePackage,
                                      WebservicesConfig provider)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • isPostSupport

        public boolean isPostSupport()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isPostSupport in interface ResourceConfig
        Returns:
        the isPostSupport
      • setPostSupport

        public void setPostSupport​(boolean isPostSupport)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        isPostSupport - the isPostSupport to set
      • isPutSupport

        public boolean isPutSupport()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isPutSupport in interface ResourceConfig
        Returns:
        the isPutSupport
      • setPutSupport

        public void setPutSupport​(boolean isPutSupport)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        isPutSupport - the isPutSupport to set
      • isGetSupport

        public boolean isGetSupport()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isGetSupport in interface ResourceConfig
        Returns:
        the isGetSupport
      • setGetSupport

        public void setGetSupport​(boolean isGetSupport)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        isGetSupport - the isGetSupport to set
      • isDeleteSupport

        public boolean isDeleteSupport()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isDeleteSupport in interface ResourceConfig
        Returns:
        the isDeleteSupport
      • setDeleteSupport

        public void setDeleteSupport​(boolean isDeleteSupport)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Parameters:
        isDeleteSupport - the isDeleteSupport to set
      • getClassName

        public java.lang.String getClassName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: ResourceConfig
        Returns the class name of the generated resource.
        Specified by:
        getClassName in interface ResourceConfig
      • setResourceClassName

        public void setResourceClassName​(java.lang.String className)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getSimpleClassName

        public java.lang.String getSimpleClassName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: ResourceConfig
        Returns the simple class name of the generated resource.
        Specified by:
        getSimpleClassName in interface ResourceConfig
        Returns:
        simple class literal
      • getPackageName

        public java.lang.String getPackageName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: ResourceConfig
        Returns the package name for this resource.
        Specified by:
        getPackageName in interface ResourceConfig
        Returns:
        the resourcePackage
      • setResourcePackage

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

        public abstract java.util.Collection<ResourceConfig> getSubResources()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: ResourceConfig
        Returns all available subresources.
        Specified by:
        getSubResources in interface ResourceConfig
        Returns:
        Collection of ResourceConfig
      • getResourceConfigProvider

        protected WebservicesConfig getResourceConfigProvider()
        Deprecated, for removal: This API element is subject to removal in a future version.