com.im.commons.db 5.9.2

com.im.commons.db.ddl
Class DBIndexInfo

java.lang.Object
  extended by com.im.commons.db.ddl.DBIndexInfo
All Implemented Interfaces:
AbstractInfo, Serializable

public class DBIndexInfo
extends Object
implements AbstractInfo, Serializable

Information about an index on a database table.

See Also:
Serialized Form

Nested Class Summary
static interface DBIndexInfo.Column
          A column used in the index.
static class DBIndexInfo.IndexColumn
           
 
Constructor Summary
DBIndexInfo()
           
DBIndexInfo(String indexSchema, String indexName, String tableSchema, String tableName, boolean unique, DBIndexInfo.Column[] cols, String type, String indexTypeName)
           
 
Method Summary
 void addToModel(String parentID, DBItemsCache dbItemsCache)
           
 boolean equals(Object obj)
           
 DBIndexInfo.Column[] getColumns()
           
 String getIndexName()
           
 String getIndexSchema()
           
 String getIndexType()
           
 String getIndexTypeName()
           
 String getSchemaName()
           
 String getSchemaPlusIndex()
           
 String getTableName()
           
 String getTableSchema()
           
 int hashCode()
           
 boolean isUnique()
           
 void removeFromModel(String parentID, DBItemsCache dbItemsCache)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBIndexInfo

public DBIndexInfo()

DBIndexInfo

public DBIndexInfo(String indexSchema,
                   String indexName,
                   String tableSchema,
                   String tableName,
                   boolean unique,
                   DBIndexInfo.Column[] cols,
                   String type,
                   String indexTypeName)
Method Detail

getTableSchema

public String getTableSchema()

getTableName

public String getTableName()

getSchemaName

public String getSchemaName()

getColumns

public DBIndexInfo.Column[] getColumns()

getIndexSchema

public String getIndexSchema()

getIndexName

public String getIndexName()

getSchemaPlusIndex

public String getSchemaPlusIndex()

isUnique

public boolean isUnique()

getIndexType

public String getIndexType()

getIndexTypeName

public String getIndexTypeName()

addToModel

public void addToModel(String parentID,
                       DBItemsCache dbItemsCache)
Specified by:
addToModel in interface AbstractInfo

removeFromModel

public void removeFromModel(String parentID,
                            DBItemsCache dbItemsCache)
Specified by:
removeFromModel in interface AbstractInfo

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

com.im.commons.db 5.9.2