org.sql.generation.implementation.grammar.common.datatypes
Class SQLFloatImpl
java.lang.Object
org.atp.spi.TypeableImpl<SQLDataType,SQLFloat>
org.sql.generation.implementation.grammar.common.datatypes.SQLFloatImpl
- All Implemented Interfaces:
- org.atp.api.Typeable<SQLDataType>, ParametrizableDataType, SQLDataType, SQLFloat
public final class SQLFloatImpl
- extends org.atp.spi.TypeableImpl<SQLDataType,SQLFloat>
- implements SQLFloat
- Author:
- Stanislav Muhametsin
| Methods inherited from class org.atp.spi.TypeableImpl |
bothNullOrEquals, equals, getImplementedType |
| Methods inherited from interface org.atp.api.Typeable |
getImplementedType |
PLAIN_FLOAT
public static final SQLFloat PLAIN_FLOAT
- This instance represents
FLOAT without precision.
SQLFloatImpl
public SQLFloatImpl(Integer precision)
doesEqual
protected boolean doesEqual(SQLFloat another)
- Specified by:
doesEqual in class org.atp.spi.TypeableImpl<SQLDataType,SQLFloat>
getPrecision
public Integer getPrecision()
- Returns the precision for this
FLOAT.
- Specified by:
getPrecision in interface SQLFloat
- Returns:
- The precision for this
FLOAT.
Copyright © 2010-2012. All Rights Reserved.