Class IntervalDayToSecond
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.IntervalDayToSecond
- All Implemented Interfaces:
Cloneable
,DatabaseType
,DatabaseTypeCompositeTestable
,DatabaseTypeScalarTestable
,ScalarDatabaseType
,DatabaseTypeVisitable
public class IntervalDayToSecond
extends ScalarDatabaseTypeBase
implements ScalarDatabaseType, DatabaseTypeVisitable
-
Field Summary
Modifier and TypeFieldDescriptionprotected long
protected long
static final String
static final String
Fields inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
typeName
-
Constructor Summary
ConstructorDescriptionIntervalDayToSecond
(long dayPrecision) IntervalDayToSecond
(long dayPrecision, long secondPrecision) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(DatabaseTypeVisitor visitor) long
long
boolean
Indicates IntervalDayToSecond instanceMethods inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
clone, getTypeName, isResolved, setTypeName, shortName, toString
Methods inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeTestableBase
isArgumentType, isBinaryType, isBlobType, isCharType, isClobType, isComposite, isDbTableType, isDecimalType, isDoubleType, isFieldType, isFloatType, isFunctionType, isIntervalYearToMonth, isLongRawType, isLongType, isNCharType, isNClobType, isNumericType, isNVarChar2Type, isObjectTableType, isObjectType, isPLSQLCollectionType, isPLSQLCursorType, isPLSQLRecordType, isPLSQLSubType, isPLSQLType, isPrecisionType, 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
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, isIntervalYearToMonth, isLongRawType, isLongType, isNCharType, isNClobType, isNumericType, isNVarChar2Type, isPrecisionType, isRawType, isRealType, isScalar, isSizedType, isTimeStampType, isURowIdType, isVarChar2Type, isVarCharType
-
Field Details
-
TYPENAME_DAYPART
- See Also:
-
TYPENAME_SECONDPART
- See Also:
-
dayPrecision
protected long dayPrecision -
secondPrecision
protected long secondPrecision
-
-
Constructor Details
-
IntervalDayToSecond
public IntervalDayToSecond() -
IntervalDayToSecond
public IntervalDayToSecond(long dayPrecision) -
IntervalDayToSecond
public IntervalDayToSecond(long dayPrecision, long secondPrecision)
-
-
Method Details
-
getDayPrecision
public long getDayPrecision() -
getSecondPrecision
public long getSecondPrecision() -
isIntervalDayToSecond
public boolean isIntervalDayToSecond()Description copied from interface:DatabaseTypeScalarTestable
Indicates IntervalDayToSecond instance- Specified by:
isIntervalDayToSecond
in interfaceDatabaseTypeScalarTestable
- Overrides:
isIntervalDayToSecond
in classDatabaseTypeTestableBase
-
accept
- Specified by:
accept
in interfaceDatabaseType
- Specified by:
accept
in interfaceDatabaseTypeVisitable
-