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
FieldsFields inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
typeName -
Constructor Summary
ConstructorsConstructorDescriptionPrecisionType(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, shortNameMethods 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, isVArrayTypeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.persistence.tools.oracleddl.metadata.DatabaseType
accept, getTypeName, isResolved, setTypeName, shortNameMethods 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, isVArrayTypeMethods 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:DatabaseTypeScalarTestableIndicates PrecisionType instance- Specified by:
isPrecisionTypein interfaceDatabaseTypeScalarTestable- Overrides:
isPrecisionTypein classDatabaseTypeTestableBase
-
toString
- Overrides:
toStringin classDatabaseTypeBase
-