|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.ReferenceCounter
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.Constraint
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey
Represents a table primary key.
| Method Summary | |
void |
addColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Add a column to the primary key. |
boolean |
columnsMatch(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] pkCols)
Return true if the given columns match the columns of this key. |
boolean |
containsColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Return true if the pk includes the given column. |
void |
derefColumns()
Deref all columns in this key. |
boolean |
equals(java.lang.Object other)
Return true if the structure of this primary key matches that of the given one (same table, same columns). |
com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] |
getColumns()
Return all the columns the primary key spans. |
boolean |
isLogical()
Return whether this constraint is a logical constraint only; i.e. |
void |
refColumns()
Ref all columns in this key. |
boolean |
removeColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Remove a column from the primary key. |
void |
setColumns(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] cols)
Set the columns the primary key spans. |
void |
setLogical(boolean logical)
|
| Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.Constraint |
getName, getTable, isDeferred, setDeferred, toString |
| Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.ReferenceCounter |
deref, getRefCount, ref |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public boolean isLogical()
Constraint
isLogical in class Constraintpublic void setLogical(boolean logical)
public com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] getColumns()
public void setColumns(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] cols)
public void addColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
public boolean removeColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
public boolean containsColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
public void refColumns()
public void derefColumns()
public boolean equals(java.lang.Object other)
equals in class Constraintpublic boolean columnsMatch(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] pkCols)
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||