public class TableIndex extends Object implements Comparable<TableIndex>
| コンストラクタと説明 |
|---|
TableIndex(ResultSet rs) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
compareTo(TableIndex other) |
List<TableColumn> |
getColumns() |
String |
getColumnsAsString() |
Object |
getId() |
String |
getName() |
String |
getType() |
boolean |
isAscending(TableColumn column) |
boolean |
isPrimaryKey() |
boolean |
isUnique() |
boolean |
isUniqueNullable()
Yes, we had a project that had columns defined as both 'nullable' and 'must be unique'.
|
void |
setId(Object id) |
void |
setIsPrimaryKey(boolean isPrimaryKey) |
public TableIndex(ResultSet rs) throws SQLException
rs - SQLExceptionpublic void setId(Object id)
public Object getId()
public String getName()
public String getType()
public boolean isPrimaryKey()
public void setIsPrimaryKey(boolean isPrimaryKey)
isPrimaryKey - public boolean isUnique()
public String getColumnsAsString()
public List<TableColumn> getColumns()
public boolean isUniqueNullable()
public boolean isAscending(TableColumn column)
column - public int compareTo(TableIndex other)
compareTo インタフェース内 Comparable<TableIndex>object - Copyright © 2016. All Rights Reserved.