|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.refactoring.commands.PrimaryKeyCommandUtility
public class PrimaryKeyCommandUtility
Implements an utility Class for various Primary Key operations.
| Field Summary | |
|---|---|
protected IDatabaseObjectInfo[] |
_info
Selected table(s) |
protected ISession |
_session
Current session |
| Constructor Summary | |
|---|---|
PrimaryKeyCommandUtility(ISession session,
IDatabaseObjectInfo[] info)
Constructor of the PrimaryKeyCommandUtility Class. |
|
| Method Summary | |
|---|---|
protected boolean |
tableHasPrimaryKey()
Returns true if table has a Primary key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ISession _session
protected final IDatabaseObjectInfo[] _info
| Constructor Detail |
|---|
public PrimaryKeyCommandUtility(ISession session,
IDatabaseObjectInfo[] info)
session - ClientSession.info - DatabaseObjectInfo.| Method Detail |
|---|
protected boolean tableHasPrimaryKey()
throws SQLException
SQLException - if there sql statement can not be completed or an error occures.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||