java.lang.Object
org.tentackle.sql.datatypes.AbstractDataType<Boolean>
org.tentackle.sql.datatypes.BooleanType
org.tentackle.sql.datatypes.BooleanPrimitiveType
Datatype for the primitive type
boolean.-
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.BooleanType
get, getSqlType, isBool, set, toPrimitive, valueOfMethods 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, isColumnCountBackendSpecific, isDateOrTime, isDowncastNecessary, isJavaTypeGenerified, isLiteralSupported, isMapNullSupported, isModelProvidingInnerType, isMutable, isNumeric, isPredefined, isTimezoneApplicable, isUTCSupported, set, toLiteral, toString, toString, valueOfLiteralToCode, valueStringToCode
-
Constructor Details
-
BooleanPrimitiveType
public BooleanPrimitiveType()Creates the datatype for the primitive typeboolean.
-
-
Method Details
-
getJavaType
Description copied from interface:DataTypeGets the name of the Java type.- Specified by:
getJavaTypein interfaceDataType<Boolean>- Overrides:
getJavaTypein classBooleanType- Returns:
- the type
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DataTypeReturns whether type is a primitive.- Specified by:
isPrimitivein interfaceDataType<Boolean>- Overrides:
isPrimitivein classAbstractDataType<Boolean>- Returns:
- true if primitive
-
toNonPrimitive
Description copied from interface:DataTypeGets the non-primitive type if this is a primitive.- Specified by:
toNonPrimitivein interfaceDataType<Boolean>- Overrides:
toNonPrimitivein classAbstractDataType<Boolean>- Returns:
- the non-primitive type, this type if it is already a non-primitive
-