net.aditsu.depeche
public class UniqueConstraint extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
findFKColumn(String name)
Returns the index of the column with a given name, within this unique constraint
|
String |
getColumn(int x)
Returns the name of the column with a given index, within this unique constraint
|
KeyInfo |
getKeyInfo()
Returns a KeyInfo object listing the columns within this unique constraint
|
String |
getName()
Returns the name of this unique constraint
|
Table |
getTable()
Returns the table that owns this unique constraint
|
int |
size()
Returns the number of columns used by this unique constraint
|
String |
toString() |
public String getColumn(int x)
public int findFKColumn(String name)
public int size()
public KeyInfo getKeyInfo()
public Table getTable()
public String getName()