org.jcoderz.phoenix.sqlparser
Class CreateIndexStatement

java.lang.Object
  extended by org.jcoderz.phoenix.sqlparser.SqlStatement
      extended by org.jcoderz.phoenix.sqlparser.CreateIndexStatement

public class CreateIndexStatement
extends SqlStatement

Author:
Albrecht Messner

Constructor Summary
CreateIndexStatement(String indexName)
           
 
Method Summary
 void addColumn(String columnName)
           
 List getColumnNames()
           
 String getIndexName()
           
 String getTableName()
           
 boolean isUnique()
           
 void setTableName(String tableName)
           
 void setUnique(boolean isUnique)
           
 String toString()
          
 
Methods inherited from class org.jcoderz.phoenix.sqlparser.SqlStatement
getAnnotation, setAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateIndexStatement

public CreateIndexStatement(String indexName)
Method Detail

addColumn

public void addColumn(String columnName)

getTableName

public String getTableName()
Returns:
Returns the tableName.

setTableName

public void setTableName(String tableName)
Parameters:
tableName - The tableName to set.

getColumnNames

public List getColumnNames()
Returns:
Returns the columnNames.

getIndexName

public String getIndexName()
Returns:
Returns the indexName.

toString

public String toString()

Overrides:
toString in class Object

isUnique

public boolean isUnique()
Returns:
Returns the isUnique.

setUnique

public void setUnique(boolean isUnique)
Parameters:
isUnique - The isUnique to set.


Copyright 2007 The jCoderZ Project.