public class ParentInfoAssigned { private Long id; private ParentAssigned owner; private String info; public ParentInfoAssigned() { } public ParentInfoAssigned(String info) { this.info = info; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info
public abstract class Item { private Long id; private String name; private Folder parent; /** * @return Returns the parent. */ public Folder getParent() { return parent; } /** * @param parent The parent to set. */ public void setParent(Folder parent) { this.parent = parent; } /** * @return Returns the id. */ public Long getId() { return id; } /** * @param id The id to set. */ public void setId(Long id) { this.id = id; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ParentInfoAssigned.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/mixed/Item.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ParentInfoAssigned {
1
public abstract class Item {
2
	private Long id;
2
	private Long id;
3
	private ParentAssigned owner;
3
	private 
4
	private String info;
5
	public ParentInfoAssigned() {
6
	}
7

4
String name;
5
	private Folder parent;
6
	/**
7
	 * @return Returns the parent.
8
	 */
9
	public Folder getParent() {
10
		return parent;
11
	}
12
	/**
13
	 * @param parent The parent to set.
14
	 */
8
	public ParentInfoAssigned(String info) {
15
	public void setParent(Folder parent) {
9
		this.info = info;
16
		this.
10
	}
11

17
parent = parent;
18
	}
19
	/**
20
	 * @return Returns the id.
21
	 */
12
	public Long getId() {
22
	public Long getId() {
13
		return id;
23
		return id;
14
	}
24
	}
15
	public ParentAssigned getOwner() {
16
		return owner;
17
	}
18
	public void setOwner(ParentAssigned owner
25
	/**
26
	 * @param id The id to set.
27
	 */
19
) {
28
	public void setId(Long id) {
20
		this.owner = owner;
29
		this.
21
	}
22

30
id = id;
31
	}
32
	/**
33
	 * @return Returns the name.
34
	 */
23
	public String getInfo() {
35
	public String getName() {
24
		return info;
36
		return 
25
	}
26

37
name;
38
	}
39
	/**
40
	 * @param name The name to set.
41
	 */
27
	public void setInfo(String info) {
42
	public void setName(String name) {
28
		this.info = info
43
		this.name = name
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0