Class PersistenceStringlyTypeUtils

java.lang.Object
com.blazebit.expression.persistence.PersistenceStringlyTypeUtils

public class PersistenceStringlyTypeUtils
extends Object
Since:
1.0.0
Author:
Christian Beikov
  • Method Details

    • registerGlobalStringlyTypeDestructor

      public static void registerGlobalStringlyTypeDestructor​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String typeName, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type handler for the global destructor under the given destructor name for the given type name.
      Parameters:
      domainBuilder - The domain builder into which to register the global destructor
      typeName - The type name for which to register the global destructor
      stringlyTypeHandler - The stringly type handler to register
    • registerGlobalStringlyTypeDestructor

      public static void registerGlobalStringlyTypeDestructor​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String typeName, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type handler for the global destructor under the given destructor name for the given type name.
      Parameters:
      domainBuilder - The domain builder into which to register the global destructor
      typeName - The type name for which to register the global destructor
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The stringly type handler for persistence to register
    • registerGlobalStringlyTypeDestructor

      public static void registerGlobalStringlyTypeDestructor​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String typeName, String destructorName, String destructorDocumentationKey, String destructorArgumentDocumentationKey, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type handler for the global destructor under the given destructor name for the given type name.
      Parameters:
      domainBuilder - The domain builder into which to register the global destructor
      typeName - The type name for which to register the global destructor
      destructorName - The name for the global destructor to register
      destructorDocumentationKey - The documentation key for the global destructor
      destructorArgumentDocumentationKey - The documentation key for the global destructor argument
      stringlyTypeHandler - The stringly type handler to register
    • registerGlobalStringlyTypeDestructor

      public static void registerGlobalStringlyTypeDestructor​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String typeName, String destructorName, String destructorDocumentationKey, String destructorArgumentDocumentationKey, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type handler for the global destructor under the given destructor name for the given type name.
      Parameters:
      domainBuilder - The domain builder into which to register the global destructor
      typeName - The type name for which to register the global destructor
      destructorName - The name for the global destructor to register
      destructorDocumentationKey - The documentation key for the global destructor
      destructorArgumentDocumentationKey - The documentation key for the global destructor argument
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The stringly type handler for persistence to register
    • registerGlobalStringlyTypeDestructor

      public static void registerGlobalStringlyTypeDestructor​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String typeName, String destructorName, String destructorDocumentationKey, String destructorArgumentDocumentationKey, ClassLoader resourceBundleClassLoader, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type handler for the global destructor under the given destructor name for the given type name.
      Parameters:
      domainBuilder - The domain builder into which to register the global destructor
      typeName - The type name for which to register the global destructor
      destructorName - The name for the global destructor to register
      destructorDocumentationKey - The documentation key for the global destructor
      destructorArgumentDocumentationKey - The documentation key for the global destructor argument
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      stringlyTypeHandler - The stringly type handler to register
    • registerGlobalStringlyTypeDestructor

      public static void registerGlobalStringlyTypeDestructor​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String typeName, String destructorName, String destructorDocumentationKey, String destructorArgumentDocumentationKey, ClassLoader resourceBundleClassLoader, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type handler for the global destructor under the given destructor name for the given type name.
      Parameters:
      domainBuilder - The domain builder into which to register the global destructor
      typeName - The type name for which to register the global destructor
      destructorName - The name for the global destructor to register
      destructorDocumentationKey - The documentation key for the global destructor
      destructorArgumentDocumentationKey - The documentation key for the global destructor argument
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The stringly type handler for persistence to register
    • registerSimpleStringlyType

      public static void registerSimpleStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name)
      Registers the given stringly type to the given domain builder without constructor or destructor.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
    • registerSimpleStringlyType

      public static void registerSimpleStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder without constructor or destructor.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      stringlyTypeHandler - The stringly type handler to register
    • registerSimpleStringlyType

      public static void registerSimpleStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder without constructor or destructor.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      stringlyTypeHandler - The stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, ClassLoader resourceBundleClassLoader, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      stringlyTypeHandler - The stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, ClassLoader resourceBundleClassLoader, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorDocumentationKey, String destructorDocumentationKey, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorDocumentationKey, String destructorDocumentationKey, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, ClassLoader resourceBundleClassLoader, String constructorDocumentationKey, String destructorDocumentationKey, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, ClassLoader resourceBundleClassLoader, String constructorDocumentationKey, String destructorDocumentationKey, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorName, String destructorName, String constructorDocumentationKey, String destructorDocumentationKey, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorName - The name for the constructor to register
      destructorName - The name for the destructor to register
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorName, String destructorName, String constructorDocumentationKey, String destructorDocumentationKey, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorName - The name for the constructor to register
      destructorName - The name for the destructor to register
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorName, String destructorName, ClassLoader resourceBundleClassLoader, String constructorDocumentationKey, String destructorDocumentationKey, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorName - The name for the constructor to register
      destructorName - The name for the destructor to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorName, String destructorName, ClassLoader resourceBundleClassLoader, String constructorDocumentationKey, String destructorDocumentationKey, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorName - The name for the constructor to register
      destructorName - The name for the destructor to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      constructorDocumentationKey - The documentation key for the constructor
      destructorDocumentationKey - The documentation key for the destructor
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorName, String destructorName, ClassLoader resourceBundleClassLoader, String constructorDocumentationKey, String constructorArgumentDocumentationKey, String destructorDocumentationKey, String destructorArgumentDocumentationKey, boolean registerGlobalDestructor, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorName - The name for the constructor to register
      destructorName - The name for the destructor to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      constructorDocumentationKey - The documentation key for the constructor
      constructorArgumentDocumentationKey - The documentation key for the constructor argument
      destructorDocumentationKey - The documentation key for the destructor
      destructorArgumentDocumentationKey - The documentation key for the destructor argument
      registerGlobalDestructor - Whether to register the type for so that the global destructor function can destructure it
      stringlyTypeHandler - The stringly type handler to register
    • registerStringlyType

      public static void registerStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorName, String destructorName, ClassLoader resourceBundleClassLoader, String constructorDocumentationKey, String constructorArgumentDocumentationKey, String destructorDocumentationKey, String destructorArgumentDocumentationKey, boolean registerGlobalDestructor, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorName - The name for the constructor to register
      destructorName - The name for the destructor to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      constructorDocumentationKey - The documentation key for the constructor
      constructorArgumentDocumentationKey - The documentation key for the constructor argument
      destructorDocumentationKey - The documentation key for the destructor
      destructorArgumentDocumentationKey - The documentation key for the destructor argument
      registerGlobalDestructor - Whether to register the type for so that the global destructor function can destructure it
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerPersistenceStringlyType

      public static void registerPersistenceStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      stringlyTypeHandler - The stringly type handler to register
    • registerPersistenceStringlyType

      public static void registerPersistenceStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerPersistenceStringlyType

      public static void registerPersistenceStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, ClassLoader resourceBundleClassLoader, PersistenceStringlyTypeHandlerCombined<?> stringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      stringlyTypeHandler - The stringly type handler to register
    • registerPersistenceStringlyType

      public static void registerPersistenceStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, ClassLoader resourceBundleClassLoader, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      resourceBundleClassLoader - The class loader to use for loading the documentation resource bundle
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register
    • registerPersistenceStringlyType

      public static void registerPersistenceStringlyType​(com.blazebit.domain.boot.model.DomainBuilder domainBuilder, String name, String constructorName, String destructorName, boolean registerGlobalDestructor, StringlyTypeHandler<?> stringlyTypeHandler, PersistenceStringlyTypeHandler persistenceStringlyTypeHandler)
      Registers the given stringly type to the given domain builder along with constructor function and destructor function.
      Parameters:
      domainBuilder - The domain builder into which to register the type and construct and destructor
      name - The type name of the stringly type to register
      constructorName - The name for the constructor to register
      destructorName - The name for the destructor to register
      registerGlobalDestructor - Whether to register the type for so that the global destructor function can destructure it
      stringlyTypeHandler - The stringly type handler to register
      persistenceStringlyTypeHandler - The persistence stringly type handler to register