java.lang.Object
org.tentackle.sql.DefaultDataTypeFactory
- All Implemented Interfaces:
DataTypeFactory
@Service(DataTypeFactory.class)
public class DefaultDataTypeFactory
extends Object
implements DataTypeFactory
-
Field Summary
Fields inherited from interface org.tentackle.sql.DataTypeFactory
CONVERTIBLE_TYPE, LARGE_VARIANT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDataType<?>Gets the datatype singleton.Gets the special convertible type singleton.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tentackle.sql.DataTypeFactory
get, get, get
-
Constructor Details
-
DefaultDataTypeFactory
public DefaultDataTypeFactory()Creates the datatype factory.
-
-
Method Details
-
get
Description copied from interface:DataTypeFactoryGets the datatype singleton.- Specified by:
getin interfaceDataTypeFactory- Parameters:
name- the type namevariant- the type variant, empty string if none- Returns:
- the datatype, null if no such type
-
getConvertibleType
Description copied from interface:DataTypeFactoryGets the special convertible type singleton.- Specified by:
getConvertibleTypein interfaceDataTypeFactory- Returns:
- the application specific wrapper type
-