Interface PojoRawTypeModel<T>

  • Type Parameters:
    T - The pojo type
    All Superinterfaces:
    MappableTypeModel, PojoTypeModel<T>
    All Known Implementing Classes:
    AbstractPojoHCAnnRawTypeModel, AbstractPojoRawTypeModel

    public interface PojoRawTypeModel<T>
    extends PojoTypeModel<T>, MappableTypeModel
    A PojoTypeModel representing a raw type, where generic type parameters are ignored.

    This excludes in particular parameterized types such as ArrayList<Integer>, because we cannot tell the difference between instances of such types and instances of the same type with different parameters, such as ArrayList<String>. Thus the mapper would be unable to find which mapping to use when indexing such an instance, and it would be impossible to target the index from the Class only.

    See Also:
    PojoTypeModel