Class IntervalYearToMonth
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.IntervalYearToMonth
- All Implemented Interfaces:
Cloneable,DatabaseType,DatabaseTypeCompositeTestable,DatabaseTypeScalarTestable,ScalarDatabaseType,DatabaseTypeVisitable
public class IntervalYearToMonth
extends ScalarDatabaseTypeBase
implements ScalarDatabaseType, DatabaseTypeVisitable
-
Field Summary
FieldsFields inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeBase
typeName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DatabaseTypeVisitor visitor) longbooleanIndicates IntervalYearToMonth 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, isIntervalDayToSecond, 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, isIntervalDayToSecond, isLongRawType, isLongType, isNCharType, isNClobType, isNumericType, isNVarChar2Type, isPrecisionType, isRawType, isRealType, isScalar, isSizedType, isTimeStampType, isURowIdType, isVarChar2Type, isVarCharType
-
Field Details
-
TYPENAME_YEARPART
- See Also:
-
TYPENAME_MONTHPART
- See Also:
-
yearPrecision
protected long yearPrecision
-
-
Constructor Details
-
IntervalYearToMonth
public IntervalYearToMonth() -
IntervalYearToMonth
public IntervalYearToMonth(long yearPrecision)
-
-
Method Details
-
getYearPrecision
public long getYearPrecision() -
isIntervalYearToMonth
public boolean isIntervalYearToMonth()Description copied from interface:DatabaseTypeScalarTestableIndicates IntervalYearToMonth instance- Specified by:
isIntervalYearToMonthin interfaceDatabaseTypeScalarTestable- Overrides:
isIntervalYearToMonthin classDatabaseTypeTestableBase
-
accept
- Specified by:
acceptin interfaceDatabaseType- Specified by:
acceptin interfaceDatabaseTypeVisitable
-