CloneSet364


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
129358
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
226326
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java
Next
Last
Clone Instance
1
Line Count
29
Source Line
358
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java

/**
 * <b>Deprecated</b>. Defines the location of Sun's EJB DTD in
 *  the weblogic class hierarchy. Should not be needed, and the
 * nested &lt;dtd&gt; element is recommended when it is.
 *
 * @param inString the string to use as the DTD location.
 */
public void setEJBdtd(String inString) {
  this.ejb11DTD = inString;
}

/**
 * Set the value of the oldCMP scheme. This is an antonym for newCMP
 * @ant.attribute ignore="true'
 * @param oldCMP a <code>boolean</code> value.
 */
public void setOldCMP(boolean oldCMP) {
  this.newCMP = !oldCMP;
}

/**
 * If this is set to true, the new method for locating
 * CMP descriptors will be used; optional, default false.
 * <P>
 * The old CMP scheme locates the
 * weblogic CMP descriptor based on the naming convention where the
 * weblogic CMP file is expected to be named with the bean name as the
 * prefix. Under this scheme the name of the CMP descriptor does not match
 * the name actually used in the main weblogic EJB descriptor. Also,
 * descriptors which contain multiple CMP references could not be used.
 * @param newCMP a <code>boolean</code> value.
 */
public void setNewCMP(boolean newCMP) {
  this.newCMP = newCMP;
}


First
Previous
Clone Instance
2
Line Count
26
Source Line
326
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java

/**
 * Setter used to store the location of the Sun's Generic EJB DTD. This
 * can be a file on the system or a resource on the classpath.
 *
 * @param inString the string to use as the DTD location.
 */
public void setEJBdtd(String inString) {
  this.ejb11DTD = inString;
}

/**
 * Set the value of the oldCMP scheme. This is an antonym for newCMP
 * @ant.attribute ignore="true"
 * @param oldCMP a <code>boolean</code> value.
 */
public void setOldCMP(boolean oldCMP) {
  this.newCMP = !oldCMP;
}

/**
 * Set the value of the newCMP scheme. The old CMP scheme locates the
 * websphere CMP descriptor based on the naming convention where the
 * websphere CMP file is expected to be named with the bean name as the
 * prefix. Under this scheme the name of the CMP descriptor does not match
 * the name actually used in the main websphere EJB descriptor. Also,
 * descriptors which contain multiple CMP references could not be used.
 * @param newCMP a <code>boolean</code> value.
 */
public void setNewCMP(boolean newCMP) {
  this.newCMP = newCMP;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * <b>Deprecated</b>. Defines the location of Sun's EJB DTD in
     *  the weblogic class hierarchy. Should not be needed, and the
     * nested &lt;dtd&gt; element is recommended when it is.
     *
     * @param inString the string to use as the DTD location.
     */
/**
     * Setter used to store the location of the Sun's Generic EJB DTD. This
     * can be a file on the system or a resource on the classpath.
     *
     * @param inString the string to use as the DTD location.
     */
public void setEJBdtd(String inString) {
  this.ejb11DTD = inString;
}

/**
     * Set the value of the oldCMP scheme. This is an antonym for newCMP
     * @ant.attribute ignore="true'
     * @param oldCMP a <code>boolean</code> value.
     */
/**
     * Set the value of the oldCMP scheme. This is an antonym for newCMP
     * @ant.attribute ignore="true"
     * @param oldCMP a <code>boolean</code> value.
     */
public void setOldCMP(boolean oldCMP) {
  this.newCMP = !oldCMP;
}

/**
     * If this is set to true, the new method for locating
     * CMP descriptors will be used; optional, default false.
     * <P>
     * The old CMP scheme locates the
     * weblogic CMP descriptor based on the naming convention where the
     * weblogic CMP file is expected to be named with the bean name as the
     * prefix. Under this scheme the name of the CMP descriptor does not match
     * the name actually used in the main weblogic EJB descriptor. Also,
     * descriptors which contain multiple CMP references could not be used.
     * @param newCMP a <code>boolean</code> value.
     */
/**
     * Set the value of the newCMP scheme. The old CMP scheme locates the
     * websphere CMP descriptor based on the naming convention where the
     * websphere CMP file is expected to be named with the bean name as the
     * prefix. Under this scheme the name of the CMP descriptor does not match
     * the name actually used in the main websphere EJB descriptor. Also,
     * descriptors which contain multiple CMP references could not be used.
     * @param newCMP a <code>boolean</code> value.
     */
public void setNewCMP(boolean newCMP) {
  this.newCMP = newCMP;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None