org.sql.generation.implementation.grammar.common.datatypes
Class SQLFloatImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<SQLDataType,SQLFloat>
      extended by 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

Field Summary
static SQLFloat PLAIN_FLOAT
          This instance represents FLOAT without precision.
 
Constructor Summary
SQLFloatImpl(Integer precision)
           
 
Method Summary
protected  boolean doesEqual(SQLFloat another)
           
 Integer getPrecision()
          Returns the precision for this FLOAT.
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Field Detail

PLAIN_FLOAT

public static final SQLFloat PLAIN_FLOAT
This instance represents FLOAT without precision.

Constructor Detail

SQLFloatImpl

public SQLFloatImpl(Integer precision)
Method Detail

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.