java.lang.Object
org.tentackle.sql.datatypes.AbstractDataType<Short>
org.tentackle.sql.datatypes.AbstractNumberType<Short>
org.tentackle.sql.datatypes.ShortType
org.tentackle.sql.datatypes.ShortPrimitiveType
Datatype for the primitive type
short.-
Field Summary
Fields inherited from class org.tentackle.sql.datatypes.AbstractDataType
maxLinesInLiteral -
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.ShortType
get, getSqlType, isDowncastNecessary, set, toPrimitive, valueOfMethods inherited from class org.tentackle.sql.datatypes.AbstractNumberType
isNumeric, valueOfLiteralToCodeMethods inherited from class org.tentackle.sql.datatypes.AbstractDataType
assertColumnCountNotBackendSpecific, createColumnNames, createColumnNamesAsString, equals, getColumnAlias, getColumnCount, getColumnGetter, getColumnSuffix, getColumnValue, getCommentSuffix, getDataTypeConstant, getMappedNullValue, getScale, getSize, getSortableColumns, getVariant, hashCode, isBool, isColumnCountBackendSpecific, isDateOrTime, isJavaTypeGenerified, isLiteralSupported, isMapNullSupported, isModelProvidingInnerType, isMutable, isPredefined, isTimezoneApplicable, isUTCSupported, set, toLiteral, toString, toString, valueStringToCode
-
Constructor Details
-
ShortPrimitiveType
public ShortPrimitiveType()Creates the datatype for the primitive typeshort.
-
-
Method Details
-
getJavaType
Description copied from interface:DataTypeGets the name of the Java type.- Specified by:
getJavaTypein interfaceDataType<Short>- Overrides:
getJavaTypein classShortType- Returns:
- the type
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DataTypeReturns whether type is a primitive.- Specified by:
isPrimitivein interfaceDataType<Short>- Overrides:
isPrimitivein classAbstractDataType<Short>- Returns:
- true if primitive
-
toNonPrimitive
Description copied from interface:DataTypeGets the non-primitive type if this is a primitive.- Specified by:
toNonPrimitivein interfaceDataType<Short>- Overrides:
toNonPrimitivein classAbstractDataType<Short>- Returns:
- the non-primitive type, this type if it is already a non-primitive
-