Class IndexMetaDataImpl
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.meta.impl.IndexMetaDataImpl
-
- All Implemented Interfaces:
IndexMetaData
,InternalIndexMetaData
,Serializable
,Comparable<IndexMetaData>
public class IndexMetaDataImpl extends Object implements InternalIndexMetaData
Information about index in table.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexMetaDataImpl(TableMetaData tableMetaData, String indexName, boolean ascending, boolean unique, boolean primaryKeyIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(ColumnMetaData columnMetaData)
int
compareTo(IndexMetaData that)
boolean
equals(Object obj)
List<ColumnMetaData>
getColumnMetaData()
String
getIndexName()
TableMetaData
getTableMetaData()
int
hashCode()
boolean
isAscending()
boolean
isPrimaryKeyIndex()
boolean
isUnique()
String
toString()
-
-
-
Constructor Detail
-
IndexMetaDataImpl
public IndexMetaDataImpl(TableMetaData tableMetaData, String indexName, boolean ascending, boolean unique, boolean primaryKeyIndex)
-
-
Method Detail
-
getTableMetaData
public TableMetaData getTableMetaData()
- Specified by:
getTableMetaData
in interfaceIndexMetaData
-
getIndexName
public String getIndexName()
- Specified by:
getIndexName
in interfaceIndexMetaData
-
isAscending
public boolean isAscending()
- Specified by:
isAscending
in interfaceIndexMetaData
-
isUnique
public boolean isUnique()
- Specified by:
isUnique
in interfaceIndexMetaData
-
isPrimaryKeyIndex
public final boolean isPrimaryKeyIndex()
- Specified by:
isPrimaryKeyIndex
in interfaceIndexMetaData
-
getColumnMetaData
public List<ColumnMetaData> getColumnMetaData()
- Specified by:
getColumnMetaData
in interfaceIndexMetaData
-
addColumn
public void addColumn(ColumnMetaData columnMetaData)
- Specified by:
addColumn
in interfaceInternalIndexMetaData
-
compareTo
public int compareTo(IndexMetaData that)
- Specified by:
compareTo
in interfaceComparable<IndexMetaData>
-
-