org.sql.generation.implementation.grammar.common.datatypes
Class SQLTimeStampImpl
java.lang.Object
org.atp.spi.TypeableImpl<SQLDataType,SQLTimeStamp>
org.sql.generation.implementation.grammar.common.datatypes.SQLTimeStampImpl
- All Implemented Interfaces:
- org.atp.api.Typeable<SQLDataType>, ParametrizableDataType, SQLDataType, SQLTimeStamp
public final class SQLTimeStampImpl
- extends org.atp.spi.TypeableImpl<SQLDataType,SQLTimeStamp>
- implements SQLTimeStamp
This class represents TIMESTAMP data type.
- Author:
- Stanislav Muhametsin
| Methods inherited from class org.atp.spi.TypeableImpl |
bothNullOrEquals, equals, getImplementedType |
| Methods inherited from interface org.atp.api.Typeable |
getImplementedType |
PLAIN_TIMESTAMP
public static final SQLTimeStamp PLAIN_TIMESTAMP
PLAIN_TIMESTAMP_WITHOUT_TZ
public static final SQLTimeStamp PLAIN_TIMESTAMP_WITHOUT_TZ
PLAIN_TIMESTAMP_WITH_TZ
public static final SQLTimeStamp PLAIN_TIMESTAMP_WITH_TZ
SQLTimeStampImpl
public SQLTimeStampImpl(Integer precision,
Boolean withTimeZone)
doesEqual
protected boolean doesEqual(SQLTimeStamp another)
- Specified by:
doesEqual in class org.atp.spi.TypeableImpl<SQLDataType,SQLTimeStamp>
getPrecision
public Integer getPrecision()
- Returns the precision for this
TIMESTAMP. May be null.
- Specified by:
getPrecision in interface SQLTimeStamp
- Returns:
- The precision for this
TIMESTAMP.
isWithTimeZone
public Boolean isWithTimeZone()
- Returns whether the
TIMESTAMP should be with time zone. May be null if no choice specified.
- Specified by:
isWithTimeZone in interface SQLTimeStamp
- Returns:
Copyright © 2010-2012. All Rights Reserved.