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
FieldsModifier and TypeFieldDescriptionprotected longprotected longstatic final Stringstatic final StringFields inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
typeName -
Constructor Summary
ConstructorsConstructorDescriptionIntervalDayToSecond(long dayPrecision) IntervalDayToSecond(long dayPrecision, long secondPrecision) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DatabaseTypeVisitor visitor) longlongbooleanIndicates IntervalDayToSecond instanceMethods inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
clone, getTypeName, isResolved, setTypeName, shortName, toStringMethods 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, 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, 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:DatabaseTypeScalarTestableIndicates IntervalDayToSecond instance- Specified by:
isIntervalDayToSecondin interfaceDatabaseTypeScalarTestable- Overrides:
isIntervalDayToSecondin classDatabaseTypeTestableBase
-
accept
- Specified by:
acceptin interfaceDatabaseType- Specified by:
acceptin interfaceDatabaseTypeVisitable
-