Class PrecisionType
java.lang.Object
org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeTestableBase
org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
org.eclipse.persistence.tools.oracleddl.metadata.ScalarDatabaseTypeBase
org.eclipse.persistence.tools.oracleddl.metadata.PrecisionType
- All Implemented Interfaces:
Cloneable
,DatabaseType
,DatabaseTypeCompositeTestable
,DatabaseTypeScalarTestable
,ScalarDatabaseType
- Direct Known Subclasses:
DecimalType
,DoubleType
,FloatType
,NumericType
,RealType
-
Field Summary
Fields inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
typeName
-
Constructor Summary
ConstructorDescriptionPrecisionType
(String typeName, long precision) PrecisionType
(String typeName, long precision, long scale) -
Method Summary
Methods inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
clone, getTypeName, isResolved, setTypeName, shortName
Methods inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeTestableBase
isArgumentType, isBinaryType, isBlobType, isCharType, isClobType, isComposite, isDbTableType, isDecimalType, isDoubleType, isFieldType, isFloatType, isFunctionType, isIntervalDayToSecond, isIntervalYearToMonth, isLongRawType, isLongType, isNCharType, isNClobType, isNumericType, isNVarChar2Type, isObjectTableType, isObjectType, isPLSQLCollectionType, isPLSQLCursorType, isPLSQLRecordType, isPLSQLSubType, isPLSQLType, isProcedureType, isRawType, isRealType, isROWTYPEType, isScalar, isSizedType, isTableType, isTimeStampType, isTYPEType, isURowIdType, isVarChar2Type, isVarCharType, isVArrayType
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.tools.oracleddl.metadata.DatabaseType
accept, getTypeName, isResolved, setTypeName, shortName
Methods inherited from interface org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeCompositeTestable
isArgumentType, isComposite, isDbTableType, isFieldType, isFunctionType, isObjectTableType, isObjectType, isPLSQLCollectionType, isPLSQLCursorType, isPLSQLRecordType, isPLSQLSubType, isPLSQLType, isProcedureType, isROWTYPEType, isTableType, isTYPEType, isVArrayType
Methods inherited from interface org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeScalarTestable
isBinaryType, isBlobType, isCharType, isClobType, isDecimalType, isDoubleType, isFloatType, isIntervalDayToSecond, isIntervalYearToMonth, isLongRawType, isLongType, isNCharType, isNClobType, isNumericType, isNVarChar2Type, isRawType, isRealType, isScalar, isSizedType, isTimeStampType, isURowIdType, isVarChar2Type, isVarCharType
-
Field Details
-
precision
protected long precision -
scale
protected long scale
-
-
Constructor Details
-
PrecisionType
-
PrecisionType
-
-
Method Details
-
getPrecision
public long getPrecision() -
getScale
public long getScale() -
getDefaultPrecision
public abstract long getDefaultPrecision() -
isSimple
public boolean isSimple() -
isPrecisionType
public boolean isPrecisionType()Description copied from interface:DatabaseTypeScalarTestable
Indicates PrecisionType instance- Specified by:
isPrecisionType
in interfaceDatabaseTypeScalarTestable
- Overrides:
isPrecisionType
in classDatabaseTypeTestableBase
-
toString
- Overrides:
toString
in classDatabaseTypeBase
-