Class InternalUnsupportedTypeFactory

  • All Implemented Interfaces:
    ExtendedTypeFactory

    public class InternalUnsupportedTypeFactory
    extends Object
    implements ExtendedTypeFactory
    Extended type factory that produces types for Cayenne internal value types that could potentially make it to the DB. ExtendedTypes that produced by this factory just trying to throw user-friendly exception instead of unknown type one.
    Since:
    4.2
    • Constructor Detail

      • InternalUnsupportedTypeFactory

        public InternalUnsupportedTypeFactory()
    • Method Detail

      • getType

        public ExtendedType<?> getType​(Class<?> objectClass)
        Description copied from interface: ExtendedTypeFactory
        Returns ExtendedType instance that can handle a given object class. May return null indicating that the class can not be handled.
        Specified by:
        getType in interface ExtendedTypeFactory