CloneSet539


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
49230.962class_body_declarations[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15176
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/sqlfilter/OrderByClausePanel.java
24992
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/sqlfilter/WhereClausePanel.java
Next
Last
Clone Instance
1
Line Count
51
Source Line
76
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/sqlfilter/OrderByClausePanel.java

/**
 * Initialize the components of the OrderByClausePanel.
 *
 * @param       sqlFilterClauses        An instance of a class containing information
 *                                                              about SQL filters already in place for the table.
 *
 * @throws IllegalArgumentException Thrown if an invalid argument is passed.
 *
 */
public void initialize(SQLFilterClauses sqlFilterClauses) throws IllegalArgumentException {
  if (sqlFilterClauses == null) {
    throw new IllegalArgumentException("Null sqlFilterClauses passed");
  }
  _sqlFilterClauses = sqlFilterClauses;
  _myPanel.loadData(_sqlFilterClauses);
}

/**
 * Returns the panel created by the class.
 *
 * @return Return an instance of a WhereClauseSubPanel.
 *
 */
public Component getPanelComponent() {
  return _myPanel;
}

/**
 * Get the title of the panel.
 *
 * @return Return a string containing the title of the panl.
 */
public String getTitle() {
  return OrderByClauseSubPanel.OrderByClausePanelI18n.ORDER_BY_CLAUSE;
}

/**
 * Get the hint text associated with the panel.
 *
 * @return      A String value containing the hint text associated with the
 *                      panel.
 *
 */
public String getHint() {
  return OrderByClauseSubPanel.OrderByClausePanelI18n.HINT;
}

/**
 * Update the current session with any changes to the SQL filter
 * information.
 */
public void applyChanges() {
  _myPanel.applyChanges(_sqlFilterClauses);
}


First
Previous
Clone Instance
2
Line Count
49
Source Line
92
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/sqlfilter/WhereClausePanel.java

/**
 * Initialize the components of the WhereClausePanel.
 *
 * @param       sqlFilterClauses        An instance of a class containing information
 *                                                              about SQL filters already in place for the table.
 *
 * @throws      IllegalArgumentException
 *                      Thrown if an invalid argument is passed.
 */
public void initialize(SQLFilterClauses sqlFilterClauses) throws IllegalArgumentException {
  if (sqlFilterClauses == null) {
    throw new IllegalArgumentException("Null sqlFilterClauses passed");
  }
  _sqlFilterClauses = sqlFilterClauses;
  _myPanel.loadData(_sqlFilterClauses);
}

/**
 * Returns the panel created by the class.
 *
 * @return Return an instance of a WhereClauseSubPanel.
 */
public Component getPanelComponent() {
  return _myPanel;
}

/**
 * Get the title of the panel.
 *
 * @return      Return a string containing the title of the panl.
 */
public String getTitle() {
  return WhereClauseSubPanel.WhereClauseSubPanelI18n.WHERE_CLAUSE;
}

/**
 * Get the hint text associated with the panel.
 *
 * @return A String value containing the hint text associated with the panel.
 */
public String getHint() {
  return WhereClauseSubPanel.WhereClauseSubPanelI18n.HINT;
}

/**
 * Update the current session with any changes to the SQL filter
 * information.
 */
public void applyChanges() {
  _myPanel.applyChanges(_sqlFilterClauses);
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Initialize the components of the WhereClausePanel.
         *
         * @param       sqlFilterClauses        An instance of a class containing information
         *                                                              about SQL filters already in place for the table.
         *
         * @throws      IllegalArgumentException
         *                      Thrown if an invalid argument is passed.
         */
/**
         * Initialize the components of the OrderByClausePanel.
         *
         * @param       sqlFilterClauses        An instance of a class containing information
         *                                                              about SQL filters already in place for the table.
         *
         * @throws IllegalArgumentException Thrown if an invalid argument is passed.
         *
         */
public void initialize(SQLFilterClauses sqlFilterClauses) throws IllegalArgumentException {
  if (sqlFilterClauses == null) {
    throw new IllegalArgumentException("Null sqlFilterClauses passed");
  }
  _sqlFilterClauses = sqlFilterClauses;
  _myPanel.loadData(_sqlFilterClauses);
}

/**
         * Returns the panel created by the class.
         *
         * @return Return an instance of a WhereClauseSubPanel.
         */
/**
         * Returns the panel created by the class.
         *
         * @return Return an instance of a WhereClauseSubPanel.
         *
         */
public Component getPanelComponent() {
  return _myPanel;
}

/**
         * Get the title of the panel.
         *
         * @return      Return a string containing the title of the panl.
         */
/**
         * Get the title of the panel.
         *
         * @return Return a string containing the title of the panl.
         */
public String getTitle() {
  return [[#variable1cee25e0]]. [[#variable1ceef580]]. [[#variable1cee2380]];
}

/**
         * Get the hint text associated with the panel.
         *
         * @return A String value containing the hint text associated with the panel.
         */
/**
         * Get the hint text associated with the panel.
         *
         * @return      A String value containing the hint text associated with the
         *                      panel.
         *
         */
public String getHint() {
  return [[#variable1cee25e0]]. [[#variable1ceef580]].HINT;
}

/**
         * Update the current session with any changes to the SQL filter
         * information.
         */
public void applyChanges() {
  _myPanel.applyChanges(_sqlFilterClauses);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cee25e0]]
OrderByClauseSubPanel 
12[[#1cee25e0]]
WhereClauseSubPanel 
21[[#1ceef580]]
OrderByClausePanelI18n 
22[[#1ceef580]]
WhereClauseSubPanelI18n 
31[[#1cee2380]]
ORDER_BY_CLAUSE 
32[[#1cee2380]]
WHERE_CLAUSE