org.sql.generation.implementation.grammar.common.datatypes
Class SQLCharImpl
java.lang.Object
org.atp.spi.TypeableImpl<SQLDataType,SQLChar>
org.sql.generation.implementation.grammar.common.datatypes.SQLCharImpl
- All Implemented Interfaces:
- org.atp.api.Typeable<SQLDataType>, ParametrizableDataType, SQLChar, SQLDataType
public final class SQLCharImpl
- extends org.atp.spi.TypeableImpl<SQLDataType,SQLChar>
- implements SQLChar
| Methods inherited from class org.atp.spi.TypeableImpl |
bothNullOrEquals, equals, getImplementedType |
| Methods inherited from interface org.atp.api.Typeable |
getImplementedType |
PLAIN_FIXED
public static final SQLChar PLAIN_FIXED
PLAIN_VARYING
public static final SQLChar PLAIN_VARYING
SQLCharImpl
public SQLCharImpl(Boolean isVarying,
Integer length)
doesEqual
protected boolean doesEqual(SQLChar another)
- Specified by:
doesEqual in class org.atp.spi.TypeableImpl<SQLDataType,SQLChar>
isVarying
public Boolean isVarying()
- Returns
true if this is CHARACTER VARYING; false otherwise.
- Specified by:
isVarying in interface SQLChar
- Returns:
true if this is CHARACTER VARYING; false otherwise.
getLength
public Integer getLength()
- Returns the length specification for this
CHARACTER or CHARACTER VARYING. Returns null if
none specified.
- Specified by:
getLength in interface SQLChar
- Returns:
- The length for this
CHARACTER or CHARACTER VARYING.
Copyright © 2010-2012. All Rights Reserved.