java.lang.Object
org.tentackle.sql.datatypes.AbstractDataType<T>
org.tentackle.sql.datatypes.AbstractNumberType<Double>
org.tentackle.sql.datatypes.DoubleType
org.tentackle.sql.datatypes.DoublePrimitiveType
Datatype for the primitive type
double.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the Java type.booleanReturns whether type is a primitive.DataType<?>Gets the non-primitive type if this is a primitive.Methods inherited from class org.tentackle.sql.datatypes.DoubleType
get, getSqlType, set, toPrimitive, valueOfMethods inherited from class org.tentackle.sql.datatypes.AbstractNumberType
isNumericMethods inherited from class org.tentackle.sql.datatypes.AbstractDataType
equals, getColumnCount, getColumnGetter, getColumnSuffix, getColumnValue, getCommentSuffix, getDataTypeConstant, getScale, getSize, getVariant, hashCode, isBool, isDateOrTime, isDowncastNecessary, isJavaTypeGenerified, isLiteralSupported, isMapNullSupported, isModelProvidingInnerType, isMutable, isPredefined, isUTCSupported, set, toLiteral, toString, toString, valueOfLiteralToCode
-
Constructor Details
-
DoublePrimitiveType
public DoublePrimitiveType()
-
-
Method Details
-
getJavaType
Description copied from interface:DataTypeGets the name of the Java type.- Specified by:
getJavaTypein interfaceDataType<Double>- Overrides:
getJavaTypein classDoubleType- Returns:
- the type
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DataTypeReturns whether type is a primitive.- Specified by:
isPrimitivein interfaceDataType<Double>- Overrides:
isPrimitivein classAbstractDataType<Double>- Returns:
- true if primitive
-
toNonPrimitive
Description copied from interface:DataTypeGets the non-primitive type if this is a primitive.- Specified by:
toNonPrimitivein interfaceDataType<Double>- Overrides:
toNonPrimitivein classAbstractDataType<Double>- Returns:
- the non-primitive type, this type if it is already a non-primitive
-