Package org.apache.cayenne.access.types
Class InternalUnsupportedTypeFactory
java.lang.Object
org.apache.cayenne.access.types.InternalUnsupportedTypeFactory
- All Implemented Interfaces:
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Marker interface, that should be used by any internal value types, that could potentially get to the SQL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtendedType
<?> Returns ExtendedType instance that can handle a given object class.
-
Constructor Details
-
InternalUnsupportedTypeFactory
public InternalUnsupportedTypeFactory()
-
-
Method Details
-
getType
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 interfaceExtendedTypeFactory
-