org.sql.generation.api.grammar.common.datatypes
Interface SQLChar

All Superinterfaces:
ParametrizableDataType, SQLDataType, org.atp.api.Typeable<SQLDataType>

public interface SQLChar
extends SQLDataType, ParametrizableDataType

This class represents CHARACTER and CHARACTER VARYING data types, typically abbreviated as CHAR and VARCHAR, respectively.

Author:
Stanislav Muhametsin

Method Summary
 Integer getLength()
          Returns the length specification for this CHARACTER or CHARACTER VARYING.
 Boolean isVarying()
          Returns true if this is CHARACTER VARYING; false otherwise.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Method Detail

isVarying

Boolean isVarying()
Returns true if this is CHARACTER VARYING; false otherwise.

Returns:
true if this is CHARACTER VARYING; false otherwise.

getLength

Integer getLength()
Returns the length specification for this CHARACTER or CHARACTER VARYING. Returns null if none specified.

Returns:
The length for this CHARACTER or CHARACTER VARYING.


Copyright © 2010-2012. All Rights Reserved.