CloneSet418


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26230.975type_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12733
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/expanders/IndexParentInfo.java
22633
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/expanders/TriggerParentInfo.java
Next
Last
Clone Instance
1
Line Count
27
Source Line
33
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/expanders/IndexParentInfo.java

/**
 * This class stores information about a Index parent. This just
 * stores info about the table that the index relates to.
 *
 * @author manningr
 */
public class IndexParentInfo extends DatabaseObjectInfo {
  private static final long serialVersionUID = 1L;

  public interface IPropertyNames {
    String SIMPLE_NAME = "simpleName";
    String TABLE_INFO = "tableInfo";
  }

  private final IDatabaseObjectInfo _tableInfo;

  public IndexParentInfo(IDatabaseObjectInfo tableInfo, String schema, SQLDatabaseMetaData md) throws SQLException {
    super(tableInfo.getCatalogName(), schema, "INDEX", DatabaseObjectType.INDEX_TYPE_DBO, md);
    _tableInfo = tableInfo;
  }

  public IDatabaseObjectInfo getTableInfo() {
    return _tableInfo;
  }
}




First
Previous
Clone Instance
2
Line Count
26
Source Line
33
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/expanders/TriggerParentInfo.java

/**
 * This class stores information about a Trigger parent. This just
 * stores info about the table that the trigger relates to.
 *
 * @author manningr
 */
public class TriggerParentInfo extends DatabaseObjectInfo {
  private static final long serialVersionUID = 1L;

  public interface IPropertyNames {
    String SIMPLE_NAME = "simpleName";
    String TABLE_INFO = "tableInfo";
  }

  private final IDatabaseObjectInfo _tableInfo;

  public TriggerParentInfo(IDatabaseObjectInfo tableInfo, String schema, SQLDatabaseMetaData md) throws SQLException {
    super(tableInfo.getCatalogName(), schema, "TRIGGER", DatabaseObjectType.TRIGGER_TYPE_DBO, md);
    _tableInfo = tableInfo;
  }

  public IDatabaseObjectInfo getTableInfo() {
    return _tableInfo;
  }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * This class stores information about a Trigger parent. This just
 * stores info about the table that the trigger relates to.
 *
 * @author manningr
 */
/**
 * This class stores information about a Index parent. This just
 * stores info about the table that the index relates to.
 *
 * @author manningr
 */
public class [[#variable1ce2c480]]extends DatabaseObjectInfo {
  private static final long serialVersionUID = 1L;

  public interface IPropertyNames {
    String SIMPLE_NAME = "simpleName";
    String TABLE_INFO = "tableInfo";
  }

  private final IDatabaseObjectInfo _tableInfo;

  public [[#variable1ce2c480]](IDatabaseObjectInfo tableInfo, String schema, SQLDatabaseMetaData md) throws SQLException {
    super(tableInfo.getCatalogName(), schema,  [[#variable1ce21120]], DatabaseObjectType. [[#variable1ce2c380]], md);
    _tableInfo = tableInfo;
  }

  public IDatabaseObjectInfo getTableInfo() {
    return _tableInfo;
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ce2c480]]
IndexParentInfo 
12[[#1ce2c480]]
TriggerParentInfo 
21[[#1ce21120]]
"INDEX" 
22[[#1ce21120]]
"TRIGGER" 
31[[#1ce2c380]]
INDEX_TYPE_DBO 
32[[#1ce2c380]]
TRIGGER_TYPE_DBO