|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgpruitt.datamodeler.core.ColumnSet
com.jgpruitt.datamodeler.core.UniqueKey
public class UniqueKey
Models a unique key constraint on a database table
Field Summary | |
---|---|
protected java.lang.String |
comment
|
protected java.lang.String |
name
|
protected Table |
table
|
Fields inherited from class com.jgpruitt.datamodeler.core.ColumnSet |
---|
list, map |
Constructor Summary | |
---|---|
UniqueKey(java.lang.String name)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getComment()
Gets the comment describing the UniqueKey |
java.lang.String |
getName()
Gets the name of the UniqueKey |
Table |
getTable()
Gets the Table that this UniqueKey constrains |
void |
setComment(java.lang.String comment)
Sets the comment describing the UniqueKey |
void |
setTable(Table table)
Sets the Table that this UniqueKey constrains |
Methods inherited from class com.jgpruitt.datamodeler.core.ColumnSet |
---|
add, contains, contains, get, get, isEmpty, iterator, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String name
protected Table table
protected java.lang.String comment
Constructor Detail |
---|
public UniqueKey(java.lang.String name)
name
- the name of the UniqueKeyMethod Detail |
---|
public java.lang.String getName()
public Table getTable()
public void setTable(Table table)
table
- the Tablepublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- the comment
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |