public class PrimaryInfo extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected UniqueInfo |
_uniqueInfo |
| コンストラクタと説明 |
|---|
PrimaryInfo(UniqueInfo uniqueInfo) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
containsColumn(ColumnInfo columnInfo)
Does the primary key contain the column?
|
boolean |
equals(Object obj) |
DBMeta |
getDBMeta()
Get the DB meta of the primary key's table.
|
ColumnInfo |
getFirstColumn()
Get the column information of the first in primary columns.
|
List<ColumnInfo> |
getPrimaryColumnList()
Get the read-only list of primary column.
|
UniqueInfo |
getUniqueInfo()
Get the unique info as the primary key.
|
int |
hashCode() |
boolean |
isCompoundKey()
Is the primary key key compound key?
|
String |
toString() |
protected final UniqueInfo _uniqueInfo
public PrimaryInfo(UniqueInfo uniqueInfo)
public boolean containsColumn(ColumnInfo columnInfo)
columnInfo - The judged column. (NotNull)public DBMeta getDBMeta()
public List<ColumnInfo> getPrimaryColumnList()
public ColumnInfo getFirstColumn()
public boolean isCompoundKey()
public UniqueInfo getUniqueInfo()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.