com.esri.sde.sdk.client
Class SeTable.SeTableIndexDefs

java.lang.Object
  extended by com.esri.sde.sdk.client.SeTable.SeTableIndexDefs
Enclosing class:
SeTable

public static class SeTable.SeTableIndexDefs
extends java.lang.Object

SeTable inner class that stores the index definition information for a table.


Constructor Summary
SeTable.SeTableIndexDefs(SeConnection conn)
           
 
Method Summary
 boolean[] getAscending()
          Returns the ascending order characterstics.
 java.lang.String[] getColumnNames()
          Returns the column names.
 java.lang.String getIndexName()
          Returns the index name.
 int getnumColumns()
          Returns the number of columns.
 boolean getUnique()
          Returns the index's unique characterstic.
 void setAscending(boolean[] asc)
          Sets the index's ascending order characterstics.
 void setColumnNames(java.lang.String[] columnNames)
          Sets the column names.
 void setIndexName(java.lang.String indexName)
          Sets the index name.
 void setNumColumns(short numColumns)
          Sets the number of columns.
 void setUnique(boolean unq)
          Sets the index unique characterstic.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeTable.SeTableIndexDefs

public SeTable.SeTableIndexDefs(SeConnection conn)
Method Detail

getnumColumns

public int getnumColumns()
Returns the number of columns.

Returns:
int

getColumnNames

public java.lang.String[] getColumnNames()
Returns the column names.

Returns:
String[]

getIndexName

public java.lang.String getIndexName()
Returns the index name.

Returns:
String

getUnique

public boolean getUnique()
Returns the index's unique characterstic.

Returns:
boolean

getAscending

public boolean[] getAscending()
Returns the ascending order characterstics.

Returns:
boolean[]

setNumColumns

public void setNumColumns(short numColumns)
Sets the number of columns.

Parameters:
numColumns - number of index columns.

setColumnNames

public void setColumnNames(java.lang.String[] columnNames)
                    throws SeException
Sets the column names.

Parameters:
columnNames - an array of column names.
Throws:
SeException

setIndexName

public void setIndexName(java.lang.String indexName)
                  throws SeException
Sets the index name.

Parameters:
indexName - index name.
Throws:
SeException

setUnique

public void setUnique(boolean unq)
Sets the index unique characterstic.

Parameters:
unq - indicates whether index is of unique type.

setAscending

public void setAscending(boolean[] asc)
                  throws SeException
Sets the index's ascending order characterstics.

Parameters:
asc - an array of boolean value indicating whether index is of ascending type.
Throws:
SeException