org.tmatesoft.sqljet.core.internal.schema
Class SqlJetColumnDef

java.lang.Object
  extended by org.tmatesoft.sqljet.core.internal.schema.SqlJetColumnDef
All Implemented Interfaces:
ISqlJetColumnDef

public class SqlJetColumnDef
extends java.lang.Object
implements ISqlJetColumnDef


Constructor Summary
SqlJetColumnDef(org.antlr.runtime.tree.CommonTree ast)
           
 
Method Summary
 java.util.List<ISqlJetColumnConstraint> getConstraints()
           
 int getIndex()
           
 java.lang.String getName()
           
 ISqlJetTypeDef getType()
           
 SqlJetTypeAffinity getTypeAffinity()
           
 boolean hasExactlyIntegerType()
           
 void setIndex(int index)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlJetColumnDef

public SqlJetColumnDef(org.antlr.runtime.tree.CommonTree ast)
                throws SqlJetException
Throws:
SqlJetException
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface ISqlJetColumnDef

getType

public ISqlJetTypeDef getType()
Specified by:
getType in interface ISqlJetColumnDef

getTypeAffinity

public SqlJetTypeAffinity getTypeAffinity()
Specified by:
getTypeAffinity in interface ISqlJetColumnDef

hasExactlyIntegerType

public boolean hasExactlyIntegerType()
Specified by:
hasExactlyIntegerType in interface ISqlJetColumnDef

getConstraints

public java.util.List<ISqlJetColumnConstraint> getConstraints()
Specified by:
getConstraints in interface ISqlJetColumnDef

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getIndex

public int getIndex()
Specified by:
getIndex in interface ISqlJetColumnDef
Returns:
the index

setIndex

public void setIndex(int index)
Parameters:
index - the index to set