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