|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.modello.generator.database.model.Index
org.codehaus.modello.generator.database.model.Unique
public class Unique
Provides compatibility with Torque-style xml with separate <index> and <unique> tags, but adds no functionality. All indexes are treated the same by the Table.
| Constructor Summary | |
|---|---|
Unique()
|
|
| Method Summary | |
|---|---|
void |
addUniqueColumn(UniqueColumn indexColumn)
|
java.util.List |
getUniqueColumns()
|
boolean |
isUnique()
|
void |
setUnique(boolean unique)
|
| Methods inherited from class org.codehaus.modello.generator.database.model.Index |
|---|
addIndexColumn, getIndexColumns, getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Unique()
| Method Detail |
|---|
public void setUnique(boolean unique)
setUnique in class Indexpublic boolean isUnique()
isUnique in class Indexpublic void addUniqueColumn(UniqueColumn indexColumn)
public java.util.List getUniqueColumns()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||