Class NumericType
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
org.eclipse.persistence.tools.oracleddl.metadata.NumericType
- All Implemented Interfaces:
Cloneable,DatabaseType,DatabaseTypeCompositeTestable,DatabaseTypeScalarTestable,ScalarDatabaseType,DatabaseTypeVisitable
-
Field Summary
FieldsFields inherited from class org.eclipse.persistence.tools.oracleddl.metadata.PrecisionType
precision, scaleFields inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
typeName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DatabaseTypeVisitor visitor) longbooleanbooleanIndicates NumericType instancevoidsetNumberSynonym(boolean numberSynonym) Methods inherited from class org.eclipse.persistence.tools.oracleddl.metadata.PrecisionType
getPrecision, getScale, isPrecisionType, isSimple, toStringMethods 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, 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
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, isNVarChar2Type, isRawType, isRealType, isScalar, isSizedType, isTimeStampType, isURowIdType, isVarChar2Type, isVarCharType
-
Field Details
-
TYPENAME
- See Also:
-
numberSynonym
protected boolean numberSynonym
-
-
Constructor Details
-
NumericType
public NumericType() -
NumericType
public NumericType(long precision) -
NumericType
public NumericType(long precision, long scale)
-
-
Method Details
-
getDefaultPrecision
public long getDefaultPrecision()- Specified by:
getDefaultPrecisionin classPrecisionType
-
isNumberSynonym
public boolean isNumberSynonym() -
setNumberSynonym
public void setNumberSynonym(boolean numberSynonym) -
isNumericType
public boolean isNumericType()Description copied from interface:DatabaseTypeScalarTestableIndicates NumericType instance- Specified by:
isNumericTypein interfaceDatabaseTypeScalarTestable- Overrides:
isNumericTypein classDatabaseTypeTestableBase
-
accept
- Specified by:
acceptin interfaceDatabaseType- Specified by:
acceptin interfaceDatabaseTypeVisitable
-