Interface DatabaseTypeScalarTestable
- All Known Subinterfaces:
CompositeDatabaseType,DatabaseType,ScalarDatabaseType
- All Known Implementing Classes:
ArgumentType,BinaryType,BlobType,CharType,ClobType,CompositeDatabaseTypeBase,CompositeDatabaseTypeWithEnclosedType,DatabaseTypeBase,DatabaseTypeTestableBase,DbColumn,DbTable,DecimalType,DoubleType,FieldType,FloatType,FunctionType,IntervalDayToSecond,IntervalYearToMonth,LongRawType,LongType,NCharType,NClobType,NumericType,NVarChar2Type,ObjectTableType,ObjectType,PLSQLCollectionType,PLSQLCursorType,PLSQLPackageType,PLSQLRecordType,PLSQLSubType,PLSQLType,PrecisionType,ProcedureType,RawType,RealType,ROWTYPEType,ScalarDatabaseTypeBase,ScalarDatabaseTypeEnum,SizedType,TableType,TimeStampType,TYPEType,UnresolvedSizedType,UnresolvedType,URowIdType,VarChar2Type,VarCharType,VArrayType
public interface DatabaseTypeScalarTestable
There are quite a few places where we have 'if (x instanceof YYY)'.
Consolidate all scalar 'is-a' test APIs
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates BinaryType instancebooleanIndicates BlobType instancebooleanIndicates CharType instancebooleanIndicates ClobType instancebooleanIndicates DecimalType instancebooleanIndicates DoubleType instancebooleanIndicates FloatType instancebooleanIndicates IntervalDayToSecond instancebooleanIndicates IntervalYearToMonth instancebooleanIndicates LongRawType instancebooleanIndicates Long instancebooleanIndicates NCharType instancebooleanIndicates NClobType instancebooleanIndicates NumericType instancebooleanIndicates NVarChar2Type instancebooleanIndicates PrecisionType instancebooleanIndicates RawType instancebooleanIndicates RealType instancebooleanisScalar()booleanIndicates SizedType instancebooleanIndicates TimeStampType instancebooleanIndicates URowIdType instancebooleanIndicates VarChar2Type instancebooleanIndicates VarCharType instance
-
Method Details
-
isScalar
boolean isScalar() -
isIntervalDayToSecond
boolean isIntervalDayToSecond()Indicates IntervalDayToSecond instance -
isIntervalYearToMonth
boolean isIntervalYearToMonth()Indicates IntervalYearToMonth instance -
isPrecisionType
boolean isPrecisionType()Indicates PrecisionType instance -
isDecimalType
boolean isDecimalType()Indicates DecimalType instance -
isDoubleType
boolean isDoubleType()Indicates DoubleType instance -
isFloatType
boolean isFloatType()Indicates FloatType instance -
isNumericType
boolean isNumericType()Indicates NumericType instance -
isRealType
boolean isRealType()Indicates RealType instance -
isSizedType
boolean isSizedType()Indicates SizedType instance -
isBinaryType
boolean isBinaryType()Indicates BinaryType instance -
isBlobType
boolean isBlobType()Indicates BlobType instance -
isLongRawType
boolean isLongRawType()Indicates LongRawType instance -
isRawType
boolean isRawType()Indicates RawType instance -
isCharType
boolean isCharType()Indicates CharType instance -
isNCharType
boolean isNCharType()Indicates NCharType instance -
isClobType
boolean isClobType()Indicates ClobType instance -
isNClobType
boolean isNClobType()Indicates NClobType instance -
isTimeStampType
boolean isTimeStampType()Indicates TimeStampType instance -
isURowIdType
boolean isURowIdType()Indicates URowIdType instance -
isVarCharType
boolean isVarCharType()Indicates VarCharType instance -
isVarChar2Type
boolean isVarChar2Type()Indicates VarChar2Type instance -
isLongType
boolean isLongType()Indicates Long instance -
isNVarChar2Type
boolean isNVarChar2Type()Indicates NVarChar2Type instance
-