类 TypeLocatorImpl

    • 构造器详细资料

      • TypeLocatorImpl

        public TypeLocatorImpl​(TypeResolver typeResolver)
    • 方法详细资料

      • basic

        public BasicType basic​(String name)
        从接口复制的说明: TypeHelper
        Retrieve the basic type registered against the given name.
        指定者:
        basic 在接口中 TypeHelper
        参数:
        name - The name of the basic type to retrieve
        返回:
        The basic type, or null.
      • basic

        public BasicType basic​(Class javaType)
        从接口复制的说明: TypeHelper
        Convenience form of TypeHelper.basic(String). The intended use of this is something like basic(Integer.class) or basic(int.class)
        指定者:
        basic 在接口中 TypeHelper
        参数:
        javaType - The java type for which to retrieve the type instance.
        返回:
        The basic type, or null.
      • entity

        public Type entity​(Class entityClass)
        从接口复制的说明: TypeHelper
        Retrieve a type representing the given entity.
        指定者:
        entity 在接口中 TypeHelper
        参数:
        entityClass - The entity Java type.
        返回:
        The type, or null
      • entity

        public Type entity​(String entityName)
        从接口复制的说明: TypeHelper
        Retrieve a type representing the given entity.
        指定者:
        entity 在接口中 TypeHelper
        参数:
        entityName - The entity name.
        返回:
        The type, or null
      • custom

        public Type custom​(Class userTypeClass,
                           Properties parameters)
        从接口复制的说明: TypeHelper
        Retrieve the type for the given user-type class (UserType or CompositeUserType).
        指定者:
        custom 在接口中 TypeHelper
        参数:
        userTypeClass - The user type class
        parameters - Configuration properties.
        返回:
        The type, or null
      • any

        public Type any​(Type metaType,
                        Type identifierType)
        从接口复制的说明: TypeHelper
        Retrieve the type representing an ANY mapping.
        指定者:
        any 在接口中 TypeHelper
        参数:
        metaType - The meta type for the ANY
        identifierType - The identifier type for the ANY
        返回:
        The type, or null