org.tmatesoft.sqljet.core.internal.schema
Class SqlJetColumnDef
java.lang.Object
org.tmatesoft.sqljet.core.internal.schema.SqlJetColumnDef
- All Implemented Interfaces:
- ISqlJetColumnDef
public class SqlJetColumnDef
- extends java.lang.Object
- implements ISqlJetColumnDef
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SqlJetColumnDef
public SqlJetColumnDef(org.antlr.runtime.tree.CommonTree ast)
throws SqlJetException
- Throws:
SqlJetException
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