public class DBIndex extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private String |
field
被索引的字段名.
|
private boolean |
isUnique
是否是唯一索引
|
| Constructor and Description |
|---|
DBIndex() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getField() |
String |
getIndexName()
生成索引名
|
int |
hashCode() |
boolean |
isUnique() |
void |
setField(String field) |
void |
setUnique(boolean isUnique) |
String |
toString() |
private String field
private boolean isUnique
Copyright © 2015. All rights reserved.