CloneSet22


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
401130.984class_body_declarations[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14040
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddColumnAction.java
24040
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddForeignKeyAction.java
34041
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddIndexAction.java
44039
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddPrimaryKeyAction.java
54040
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropColumnAction.java
64040
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropForeignKeyAction.java
74040
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropPrimaryKeyAction.java
84040
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropUniqueConstraintAction.java
94040
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/MergeColumnAction.java
103140
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/ModifyColumnAction.java
113140
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/RenameTableAction.java
Next
Last
Clone Instance
1
Line Count
40
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddColumnAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("AddColumnAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public AddColumnAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new AddColumnCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
2
Line Count
40
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddForeignKeyAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("AddForeignKeyAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public AddForeignKeyAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new AddForeignKeyCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
3
Line Count
40
Source Line
41
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddIndexAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("AddIndexAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public AddIndexAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new AddIndexCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
4
Line Count
40
Source Line
39
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AddPrimaryKeyAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("AddPrimaryKeyAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public AddPrimaryKeyAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new AddPrimaryKeyCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
5
Line Count
40
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropColumnAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("DropColumnAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public DropColumnAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new DropColumnCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
6
Line Count
40
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropForeignKeyAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("DropForeignKeyAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public DropForeignKeyAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new DropForeignKeyCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
7
Line Count
40
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropPrimaryKeyAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("DropPrimaryKeyAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public DropPrimaryKeyAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new DropPrimaryKeyCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
8
Line Count
40
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropUniqueConstraintAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("DropUniqueConstraintAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public DropUniqueConstraintAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new DropUniqueConstraintCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
9
Line Count
40
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/MergeColumnAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("MergeColumnAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public MergeColumnAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
 */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new MergeColumnCommand(_session, info);
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
 */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
 */
@Override protected boolean isMultipleObjectAction() {
  return false;
}


Next
Previous
Clone Instance
10
Line Count
31
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/ModifyColumnAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("ModifyColumnAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public ModifyColumnAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new ModifyColumnCommand(_session, info);
}

@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

@Override protected boolean isMultipleObjectAction() {
  return false;
}


First
Previous
Clone Instance
11
Line Count
31
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/RenameTableAction.java

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString("RenameTableAction.actionPart");
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public RenameTableAction(IApplication app, Resources rsrc) {
  super(app, rsrc);
}

@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new RenameTableCommand(_session, info);
}

@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

@Override protected boolean isMultipleObjectAction() {
  return false;
}


Clone AbstractionParameter Count: 3Parameter Bindings

private static interface i18n {
  String ACTION_PART = s_stringMgr.getString( [[#variable1ac56d80]]);
  String OBJECT_PART = s_stringMgr.getString("Shared.tableObject");
  String SINGLE_OBJECT_MESSAGE = s_stringMgr.getString("Shared.singleObjectMessage", OBJECT_PART, ACTION_PART);
}

public [[#variable19b77860]](IApplication app, Resources rsrc) {
  super(app, rsrc);
}

/**
         * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
         */
/**
         * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
         */
@Override protected ICommand getCommand(IDatabaseObjectInfo[] info) {
  return new [[#variable1ac56d00]](_session, info);
}

/**
         * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
         */
/**
         * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
         */
@Override protected String getErrorMessage() {
  return i18n.SINGLE_OBJECT_MESSAGE;
}

/**
         * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
         */
/**
         * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
         */
@Override protected boolean isMultipleObjectAction() {
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ac56d80]]
"AddColumnAction.actionPart" 
12[[#1ac56d80]]
"AddForeignKeyAction.actionPart" 
13[[#1ac56d80]]
"AddIndexAction.actionPart" 
14[[#1ac56d80]]
"AddPrimaryKeyAction.actionPart" 
15[[#1ac56d80]]
"DropColumnAction.actionPart" 
16[[#1ac56d80]]
"DropForeignKeyAction.actionPart" 
17[[#1ac56d80]]
"DropPrimaryKeyAction.actionPart" 
18[[#1ac56d80]]
"DropUniqueConstraintAction.actionPart" 
19[[#1ac56d80]]
"MergeColumnAction.actionPart" 
110[[#1ac56d80]]
"ModifyColumnAction.actionPart" 
111[[#1ac56d80]]
"RenameTableAction.actionPart" 
21[[#19b77860]]
AddColumnAction 
22[[#19b77860]]
AddForeignKeyAction 
23[[#19b77860]]
AddIndexAction 
24[[#19b77860]]
AddPrimaryKeyAction 
25[[#19b77860]]
DropColumnAction 
26[[#19b77860]]
DropForeignKeyAction 
27[[#19b77860]]
DropPrimaryKeyAction 
28[[#19b77860]]
DropUniqueConstraintAction 
29[[#19b77860]]
MergeColumnAction 
210[[#19b77860]]
ModifyColumnAction 
211[[#19b77860]]
RenameTableAction 
31[[#1ac56d00]]
AddColumnCommand 
32[[#1ac56d00]]
AddForeignKeyCommand 
33[[#1ac56d00]]
AddIndexCommand 
34[[#1ac56d00]]
AddPrimaryKeyCommand 
35[[#1ac56d00]]
DropColumnCommand 
36[[#1ac56d00]]
DropForeignKeyCommand 
37[[#1ac56d00]]
DropPrimaryKeyCommand 
38[[#1ac56d00]]
DropUniqueConstraintCommand 
39[[#1ac56d00]]
MergeColumnCommand 
310[[#1ac56d00]]
ModifyColumnCommand 
311[[#1ac56d00]]
RenameTableCommand