public class UniqueInfo extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected DBMeta |
_dbmeta |
protected boolean |
_primary |
protected List<ColumnInfo> |
_uniqueColumnList |
| コンストラクタと説明 |
|---|
UniqueInfo(DBMeta dbmeta,
List<ColumnInfo> uniqueColumnList,
boolean primary) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
assertObjectNotNull(String variableName,
Object value) |
boolean |
containsColumn(ColumnInfo columnInfo)
Does the unique key contain the column?
|
protected boolean |
doContainsColumn(String columnName) |
boolean |
equals(Object obj) |
DBMeta |
getDBMeta()
Get the DB meta of the unique key's table.
|
ColumnInfo |
getFirstColumn()
Get the column information of the first in primary columns.
|
List<ColumnInfo> |
getUniqueColumnList()
Get the read-only list of unique column.
|
int |
hashCode() |
boolean |
isCompoundKey()
Is the unique key compound key?
|
boolean |
isPrimary()
Is the unique key primary key's unique?
|
boolean |
isTwoOrMore()
非推奨です。
use isCompoundKey()
|
String |
toString() |
protected final DBMeta _dbmeta
protected final List<ColumnInfo> _uniqueColumnList
protected final boolean _primary
public UniqueInfo(DBMeta dbmeta, List<ColumnInfo> uniqueColumnList, boolean primary)
public boolean containsColumn(ColumnInfo columnInfo)
columnInfo - The judged column. (NotNull)protected boolean doContainsColumn(String columnName)
public DBMeta getDBMeta()
public List<ColumnInfo> getUniqueColumnList()
public ColumnInfo getFirstColumn()
public boolean isCompoundKey()
public boolean isTwoOrMore()
public boolean isPrimary()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.